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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpcAttributeResult clone()
-
-