com.amazonaws.services.ec2.model
Class DescribeVolumeAttributeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeVolumeAttributeRequest

public class DescribeVolumeAttributeRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeVolumeAttribute operation.

See Also:
AmazonEC2.describeVolumeAttribute(DescribeVolumeAttributeRequest)

Constructor Summary
DescribeVolumeAttributeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAttribute()
          Returns the value of the Attribute property for this object.
 String getVolumeId()
          Returns the value of the VolumeId property for this object.
 int hashCode()
           
 void setAttribute(String attribute)
          Sets the value of the Attribute property for this object.
 void setAttribute(VolumeAttributeName attribute)
          Sets the value of the Attribute property for this object.
 void setVolumeId(String volumeId)
          Sets the value of the VolumeId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVolumeAttributeRequest withAttribute(String attribute)
          Sets the value of the Attribute property for this object.
 DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName attribute)
          Sets the value of the Attribute property for this object.
 DescribeVolumeAttributeRequest withVolumeId(String volumeId)
          Sets the value of the VolumeId property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVolumeAttributeRequest

public DescribeVolumeAttributeRequest()
Method Detail

getVolumeId

public String getVolumeId()
Returns the value of the VolumeId property for this object.

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

setVolumeId

public void setVolumeId(String volumeId)
Sets the value of the VolumeId property for this object.

Parameters:
volumeId - The new value for the VolumeId property for this object.

withVolumeId

public DescribeVolumeAttributeRequest withVolumeId(String volumeId)
Sets the value of the VolumeId property for this object.

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

Parameters:
volumeId - The new value for the VolumeId 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: autoEnableIO, productCodes

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

setAttribute

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

Constraints:
Allowed Values: autoEnableIO, productCodes

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

withAttribute

public DescribeVolumeAttributeRequest 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: autoEnableIO, productCodes

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:
VolumeAttributeName

setAttribute

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

Constraints:
Allowed Values: autoEnableIO, productCodes

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

withAttribute

public DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName 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: autoEnableIO, productCodes

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:
VolumeAttributeName

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.