Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DescribeVpcAttributeRequest

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

public class DescribeVpcAttributeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeVpcAttribute operation.

See Also:
AmazonEC2.describeVpcAttribute(DescribeVpcAttributeRequest), Serialized Form

Constructor Summary
DescribeVpcAttributeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAttribute()
          Returns the value of the Attribute property for this object.
 String getVpcId()
          Returns the value of the VpcId property for this object.
 int hashCode()
           
 void setAttribute(String attribute)
          Sets the value of the Attribute property for this object.
 void setAttribute(VpcAttributeName attribute)
          Sets the value of the Attribute property for this object.
 void setVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVpcAttributeRequest withAttribute(String attribute)
          Sets the value of the Attribute property for this object.
 DescribeVpcAttributeRequest withAttribute(VpcAttributeName attribute)
          Sets the value of the Attribute property for this object.
 DescribeVpcAttributeRequest withVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVpcAttributeRequest

public DescribeVpcAttributeRequest()
Method Detail

getVpcId

public String getVpcId()
Returns the value of the VpcId property for this object.

Returns:
The value of the VpcId property for this object.

setVpcId

public void setVpcId(String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public DescribeVpcAttributeRequest withVpcId(String vpcId)
Sets the value of the VpcId property for this object.

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

Parameters:
vpcId - The new value for the VpcId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttribute

public String getAttribute()
Returns the value of the Attribute property for this object.

Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames

Returns:
The value of the Attribute property for this object.
See Also:
VpcAttributeName

setAttribute

public void setAttribute(String attribute)
Sets the value of the Attribute property for this object.

Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames

Parameters:
attribute - The new value for the Attribute property for this object.
See Also:
VpcAttributeName

withAttribute

public DescribeVpcAttributeRequest withAttribute(String attribute)
Sets the value of the Attribute property for this object.

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

Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames

Parameters:
attribute - The new value for the Attribute property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VpcAttributeName

setAttribute

public void setAttribute(VpcAttributeName attribute)
Sets the value of the Attribute property for this object.

Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames

Parameters:
attribute - The new value for the Attribute property for this object.
See Also:
VpcAttributeName

withAttribute

public DescribeVpcAttributeRequest withAttribute(VpcAttributeName attribute)
Sets the value of the Attribute property for this object.

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

Constraints:
Allowed Values: enableDnsSupport, enableDnsHostnames

Parameters:
attribute - The new value for the Attribute property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VpcAttributeName

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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