Package com.amazonaws.services.ec2.model
Class DescribeVolumeAttributeResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeVolumeAttributeResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeVolumeAttributeResult extends Object implements Serializable, Cloneable
Contains the output of DescribeVolumeAttribute.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVolumeAttributeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVolumeAttributeResult
clone()
boolean
equals(Object obj)
Boolean
getAutoEnableIO()
The state ofautoEnableIO
attribute.List<ProductCode>
getProductCodes()
A list of product codes.String
getVolumeId()
The ID of the volume.int
hashCode()
Boolean
isAutoEnableIO()
The state ofautoEnableIO
attribute.void
setAutoEnableIO(Boolean autoEnableIO)
The state ofautoEnableIO
attribute.void
setProductCodes(Collection<ProductCode> productCodes)
A list of product codes.void
setVolumeId(String volumeId)
The ID of the volume.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVolumeAttributeResult
withAutoEnableIO(Boolean autoEnableIO)
The state ofautoEnableIO
attribute.DescribeVolumeAttributeResult
withProductCodes(ProductCode... productCodes)
A list of product codes.DescribeVolumeAttributeResult
withProductCodes(Collection<ProductCode> productCodes)
A list of product codes.DescribeVolumeAttributeResult
withVolumeId(String volumeId)
The ID of the volume.
-
-
-
Method Detail
-
setVolumeId
public void setVolumeId(String volumeId)
The ID of the volume.
- Parameters:
volumeId
- The ID of the volume.
-
getVolumeId
public String getVolumeId()
The ID of the volume.
- Returns:
- The ID of the volume.
-
withVolumeId
public DescribeVolumeAttributeResult withVolumeId(String volumeId)
The ID of the volume.
- Parameters:
volumeId
- The ID of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoEnableIO
public void setAutoEnableIO(Boolean autoEnableIO)
The state of
autoEnableIO
attribute.- Parameters:
autoEnableIO
- The state ofautoEnableIO
attribute.
-
getAutoEnableIO
public Boolean getAutoEnableIO()
The state of
autoEnableIO
attribute.- Returns:
- The state of
autoEnableIO
attribute.
-
withAutoEnableIO
public DescribeVolumeAttributeResult withAutoEnableIO(Boolean autoEnableIO)
The state of
autoEnableIO
attribute.- Parameters:
autoEnableIO
- The state ofautoEnableIO
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoEnableIO
public Boolean isAutoEnableIO()
The state of
autoEnableIO
attribute.- Returns:
- The state of
autoEnableIO
attribute.
-
getProductCodes
public List<ProductCode> getProductCodes()
A list of product codes.
- Returns:
- A list of product codes.
-
setProductCodes
public void setProductCodes(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.
NOTE: This method appends the values to the existing list (if any). Use
setProductCodes(java.util.Collection)
orwithProductCodes(java.util.Collection)
if you want to override the existing values.- Parameters:
productCodes
- A list of product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withProductCodes
public DescribeVolumeAttributeResult withProductCodes(Collection<ProductCode> productCodes)
A list of product codes.
- Parameters:
productCodes
- A list of product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVolumeAttributeResult clone()
-
-