public class DescribeVpcAttributeResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeVpcAttribute.
Constructor and Description |
---|
DescribeVpcAttributeResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC.public DescribeVpcAttributeResult withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.