Class DescribeVpcAttributeResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeVpcAttributeResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeVpcAttributeResult extends Object implements Serializable, Cloneable
Contains the output of DescribeVpcAttribute.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVpcAttributeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVpcAttributeResultclone()booleanequals(Object obj)BooleangetEnableDnsHostnames()Indicates whether the instances launched in the VPC get DNS hostnames.BooleangetEnableDnsSupport()Indicates whether DNS resolution is enabled for the VPC.StringgetVpcId()The ID of the VPC.inthashCode()BooleanisEnableDnsHostnames()Indicates whether the instances launched in the VPC get DNS hostnames.BooleanisEnableDnsSupport()Indicates whether DNS resolution is enabled for the VPC.voidsetEnableDnsHostnames(Boolean enableDnsHostnames)Indicates whether the instances launched in the VPC get DNS hostnames.voidsetEnableDnsSupport(Boolean enableDnsSupport)Indicates whether DNS resolution is enabled for the VPC.voidsetVpcId(String vpcId)The ID of the VPC.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeVpcAttributeResultwithEnableDnsHostnames(Boolean enableDnsHostnames)Indicates whether the instances launched in the VPC get DNS hostnames.DescribeVpcAttributeResultwithEnableDnsSupport(Boolean enableDnsSupport)Indicates whether DNS resolution is enabled for the VPC.DescribeVpcAttributeResultwithVpcId(String vpcId)The ID of the VPC.
-
-
-
Method Detail
-
setVpcId
public void setVpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.
-
getVpcId
public String getVpcId()
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
public DescribeVpcAttributeResult withVpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnableDnsSupport
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.- Parameters:
enableDnsSupport- Indicates whether DNS resolution is enabled for the VPC. If this attribute istrue, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.
-
getEnableDnsSupport
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.- Returns:
- 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.
-
withEnableDnsSupport
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.- Parameters:
enableDnsSupport- Indicates whether DNS resolution is enabled for the VPC. If this attribute istrue, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnableDnsSupport
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.- Returns:
- 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.
-
setEnableDnsHostnames
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.- Parameters:
enableDnsHostnames- Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute istrue, instances in the VPC get DNS hostnames; otherwise, they do not.
-
getEnableDnsHostnames
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.- Returns:
- 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.
-
withEnableDnsHostnames
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.- Parameters:
enableDnsHostnames- Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute istrue, instances in the VPC get DNS hostnames; otherwise, they do not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnableDnsHostnames
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.- Returns:
- 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpcAttributeResult clone()
-
-