com.amazonaws.services.ec2.model
Class ModifyVpcAttributeRequest

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

public class ModifyVpcAttributeRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the ModifyVpcAttribute operation.

Modifies the specified attribute of the specified VPC.

See Also:
AmazonEC2.modifyVpcAttribute(ModifyVpcAttributeRequest), Serialized Form

Constructor Summary
ModifyVpcAttributeRequest()
           
 
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 the DNS resolution is supported 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 the DNS resolution is supported 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 the DNS resolution is supported 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.
 ModifyVpcAttributeRequest withEnableDnsHostnames(java.lang.Boolean enableDnsHostnames)
          Indicates whether the instances launched in the VPC get DNS hostnames.
 ModifyVpcAttributeRequest withEnableDnsSupport(java.lang.Boolean enableDnsSupport)
          Indicates whether the DNS resolution is supported for the VPC.
 ModifyVpcAttributeRequest withVpcId(java.lang.String vpcId)
          The ID of the VPC.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyVpcAttributeRequest

public ModifyVpcAttributeRequest()
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 ModifyVpcAttributeRequest 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 the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

Returns:
Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

setEnableDnsSupport

public void setEnableDnsSupport(java.lang.Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

Parameters:
enableDnsSupport - Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

withEnableDnsSupport

public ModifyVpcAttributeRequest withEnableDnsSupport(java.lang.Boolean enableDnsSupport)
Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

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

Parameters:
enableDnsSupport - Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnableDnsSupport

public java.lang.Boolean getEnableDnsSupport()
Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

Returns:
Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed.

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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.

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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.


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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.

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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.


withEnableDnsHostnames

public ModifyVpcAttributeRequest 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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.

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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.

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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.

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.

You can only set enableDnsHostnames to true if you also set the EnableDnsSupport attribute to true.


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.