com.amazonaws.services.ec2.model
Class DescribeVpcAttributeResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeVpcAttributeResult
All Implemented Interfaces:
java.io.Serializable

public class DescribeVpcAttributeResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DescribeVpcAttributeResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVpcAttributeResult

public DescribeVpcAttributeResult()
Method Detail

getVpcId

public java.lang.String getVpcId()
The ID of the VPC.

Returns:
The ID of the VPC.

setVpcId

public void setVpcId(java.lang.String vpcId)
The ID of the VPC.

Parameters:
vpcId - The ID of the VPC.

withVpcId

public DescribeVpcAttributeResult withVpcId(java.lang.String vpcId)
The ID of the VPC.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The ID of the VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

isEnableDnsSupport

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.

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.

setEnableDnsSupport

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.

Parameters:
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.

withEnableDnsSupport

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnableDnsSupport

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.

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.

isEnableDnsHostnames

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.

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.

setEnableDnsHostnames

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.

Parameters:
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.

withEnableDnsHostnames

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnableDnsHostnames

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.

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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.