@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVpcAttributeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVpcAttributeResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcAttributeResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
Boolean |
getEnableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC.
|
Boolean |
getEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your VPC.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
Boolean |
isEnableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC.
|
Boolean |
isEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your 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 |
setEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
DescribeVpcAttributeResult |
withEnableDnsHostnames(Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
DescribeVpcAttributeResult |
withEnableDnsSupport(Boolean enableDnsSupport)
Indicates whether DNS resolution is enabled for the VPC.
|
DescribeVpcAttributeResult |
withEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
|
DescribeVpcAttributeResult |
withVpcId(String vpcId)
The ID of the VPC.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public DescribeVpcAttributeResult withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setEnableDnsHostnames(Boolean enableDnsHostnames)
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.
enableDnsHostnames
- 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.public Boolean 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.
true
, instances in the VPC get DNS hostnames; otherwise, they do not.public DescribeVpcAttributeResult withEnableDnsHostnames(Boolean enableDnsHostnames)
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.
enableDnsHostnames
- 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.public Boolean 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.
true
, instances in the VPC get DNS hostnames; otherwise, they do not.public void setEnableDnsSupport(Boolean enableDnsSupport)
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.
enableDnsSupport
- 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.public Boolean 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.
true
, the
Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.public DescribeVpcAttributeResult withEnableDnsSupport(Boolean enableDnsSupport)
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.
enableDnsSupport
- 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.public Boolean 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.
true
, the
Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.public void setEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
enableNetworkAddressUsageMetrics
- Indicates whether Network Address Usage metrics are enabled for your VPC.public Boolean getEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your VPC.
public DescribeVpcAttributeResult withEnableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Indicates whether Network Address Usage metrics are enabled for your VPC.
enableNetworkAddressUsageMetrics
- Indicates whether Network Address Usage metrics are enabled for your VPC.public Boolean isEnableNetworkAddressUsageMetrics()
Indicates whether Network Address Usage metrics are enabled for your VPC.
public String toString()
toString
in class Object
Object.toString()
public DescribeVpcAttributeResult clone()