public class DescribeVpcAttributeResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpcAttribute.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
enableDnsHostnames
Indicates whether the instances launched in the VPC get DNS hostnames.
|
private java.lang.Boolean |
enableDnsSupport
Indicates whether DNS resolution is enabled for the VPC.
|
private java.lang.String |
vpcId
The ID of the VPC.
|
Constructor and Description |
---|
DescribeVpcAttributeResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcAttributeResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
java.lang.Boolean |
getEnableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
java.lang.Boolean |
isEnableDnsHostnames()
Indicates whether the instances launched in the VPC get DNS hostnames.
|
java.lang.Boolean |
isEnableDnsSupport()
Indicates whether DNS resolution is enabled for the VPC.
|
void |
setEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
void |
setEnableDnsSupport(java.lang.Boolean enableDnsSupport)
Indicates whether DNS resolution is enabled for the VPC.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcAttributeResult |
withEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
Indicates whether the instances launched in the VPC get DNS hostnames.
|
DescribeVpcAttributeResult |
withEnableDnsSupport(java.lang.Boolean enableDnsSupport)
Indicates whether DNS resolution is enabled for the VPC.
|
DescribeVpcAttributeResult |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
private java.lang.String vpcId
The ID of the VPC.
private java.lang.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.
private java.lang.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.
public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public DescribeVpcAttributeResult withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setEnableDnsSupport(java.lang.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 java.lang.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(java.lang.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 java.lang.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 setEnableDnsHostnames(java.lang.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 java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVpcAttributeResult clone()
clone
in class java.lang.Object