com.amazonaws.services.ec2.model
Class DescribeVolumeAttributeResult

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

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

See Also:
Serialized Form

Constructor Summary
DescribeVolumeAttributeResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getAutoEnableIO()
          The state of autoEnableIO attribute.
 java.util.List<ProductCode> getProductCodes()
          A list of product codes.
 java.lang.String getVolumeId()
          The ID of the volume.
 int hashCode()
           
 java.lang.Boolean isAutoEnableIO()
          The state of autoEnableIO attribute.
 void setAutoEnableIO(java.lang.Boolean autoEnableIO)
          The state of autoEnableIO attribute.
 void setProductCodes(java.util.Collection<ProductCode> productCodes)
          A list of product codes.
 void setVolumeId(java.lang.String volumeId)
          The ID of the volume.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVolumeAttributeResult withAutoEnableIO(java.lang.Boolean autoEnableIO)
          The state of autoEnableIO attribute.
 DescribeVolumeAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
          A list of product codes.
 DescribeVolumeAttributeResult withProductCodes(ProductCode... productCodes)
          A list of product codes.
 DescribeVolumeAttributeResult withVolumeId(java.lang.String volumeId)
          The ID of the volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVolumeAttributeResult

public DescribeVolumeAttributeResult()
Method Detail

getVolumeId

public java.lang.String getVolumeId()
The ID of the volume.

Returns:
The ID of the volume.

setVolumeId

public void setVolumeId(java.lang.String volumeId)
The ID of the volume.

Parameters:
volumeId - The ID of the volume.

withVolumeId

public DescribeVolumeAttributeResult withVolumeId(java.lang.String volumeId)
The ID of the volume.

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

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

isAutoEnableIO

public java.lang.Boolean isAutoEnableIO()
The state of autoEnableIO attribute.

Returns:
The state of autoEnableIO attribute.

setAutoEnableIO

public void setAutoEnableIO(java.lang.Boolean autoEnableIO)
The state of autoEnableIO attribute.

Parameters:
autoEnableIO - The state of autoEnableIO attribute.

withAutoEnableIO

public DescribeVolumeAttributeResult withAutoEnableIO(java.lang.Boolean autoEnableIO)
The state of autoEnableIO attribute.

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

Parameters:
autoEnableIO - The state of autoEnableIO attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

getAutoEnableIO

public java.lang.Boolean getAutoEnableIO()
The state of autoEnableIO attribute.

Returns:
The state of autoEnableIO attribute.

getProductCodes

public java.util.List<ProductCode> getProductCodes()
A list of product codes.

Returns:
A list of product codes.

setProductCodes

public void setProductCodes(java.util.Collection<ProductCode> productCodes)
A list of product codes.

Parameters:
productCodes - A list of product codes.

withProductCodes

public DescribeVolumeAttributeResult withProductCodes(ProductCode... productCodes)
A list of product codes.

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

Parameters:
productCodes - A list of product codes.
Returns:
A reference to this updated object so that method calls can be chained together.

withProductCodes

public DescribeVolumeAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
A list of product codes.

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

Parameters:
productCodes - A list of product codes.
Returns:
A reference to this updated object so that method calls can be chained together.

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.