public class DescribeVpcAttributeResult extends Object implements Serializable
Constructor and Description |
---|
DescribeVpcAttributeResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public DescribeVpcAttributeResult withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public Boolean isEnableDnsSupport()
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 setEnableDnsSupport(Boolean enableDnsSupport)
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 DescribeVpcAttributeResult withEnableDnsSupport(Boolean enableDnsSupport)
true
, the Amazon DNS server resolves DNS
hostnames for your instances to their corresponding IP addresses;
otherwise, it does not.
Returns a reference to this object so that method calls can be chained together.
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()
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 Boolean isEnableDnsHostnames()
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 setEnableDnsHostnames(Boolean enableDnsHostnames)
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 DescribeVpcAttributeResult withEnableDnsHostnames(Boolean enableDnsHostnames)
true
, instances in the VPC get DNS
hostnames; otherwise, they do not.
Returns a reference to this object so that method calls can be chained together.
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()
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.