Class DescribeVpcAttributeResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeVpcAttribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether the instances launched in the VPC get DNS hostnames.Indicates whether DNS resolution is enabled for the VPC.getVpcId()
The ID of the VPC.int
hashCode()
Indicates whether the instances launched in the VPC get DNS hostnames.Indicates whether DNS resolution is enabled for the VPC.void
setEnableDnsHostnames
(Boolean enableDnsHostnames) Indicates whether the instances launched in the VPC get DNS hostnames.void
setEnableDnsSupport
(Boolean enableDnsSupport) Indicates whether DNS resolution is enabled for the VPC.void
The ID of the VPC.toString()
Returns a string representation of this object; useful for testing and debugging.withEnableDnsHostnames
(Boolean enableDnsHostnames) Indicates whether the instances launched in the VPC get DNS hostnames.withEnableDnsSupport
(Boolean enableDnsSupport) Indicates whether DNS resolution is enabled for the VPC.The ID of the VPC.
-
Constructor Details
-
DescribeVpcAttributeResult
public DescribeVpcAttributeResult()
-
-
Method Details
-
setVpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.
-
getVpcId
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnableDnsSupport
Indicates whether DNS resolution is enabled for the VPC. If this attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Parameters:
enableDnsSupport
- Indicates whether DNS resolution is enabled for the VPC. If this attribute istrue
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
-
getEnableDnsSupport
Indicates whether DNS resolution is enabled for the VPC. If this attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Returns:
- Indicates whether DNS resolution is enabled for the VPC. If this
attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
-
withEnableDnsSupport
Indicates whether DNS resolution is enabled for the VPC. If this attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Parameters:
enableDnsSupport
- Indicates whether DNS resolution is enabled for the VPC. If this attribute istrue
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnableDnsSupport
Indicates whether DNS resolution is enabled for the VPC. If this attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Returns:
- Indicates whether DNS resolution is enabled for the VPC. If this
attribute is
true
, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
-
setEnableDnsHostnames
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.- Parameters:
enableDnsHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute istrue
, instances in the VPC get DNS hostnames; otherwise, they do not.
-
getEnableDnsHostnames
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.- Returns:
- Indicates whether the instances launched in the VPC get DNS
hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.
-
withEnableDnsHostnames
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.- Parameters:
enableDnsHostnames
- Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute istrue
, instances in the VPC get DNS hostnames; otherwise, they do not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnableDnsHostnames
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.- Returns:
- Indicates whether the instances launched in the VPC get DNS
hostnames. If this attribute is
true
, instances in the VPC get DNS hostnames; otherwise, they do not.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-