@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVpcAttributeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeVpcAttribute.
| 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.
|
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.
|
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 |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
withVpcId(String vpcId)
The ID of the VPC.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 String toString()
toString in class ObjectObject.toString()public DescribeVpcAttributeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.