Package com.amazonaws.services.ec2.model
Class DescribeVolumeAttributeResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeVolumeAttributeResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the output of DescribeVolumeAttribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe state ofautoEnableIOattribute.A list of product codes.The ID of the volume.inthashCode()The state ofautoEnableIOattribute.voidsetAutoEnableIO(Boolean autoEnableIO) The state ofautoEnableIOattribute.voidsetProductCodes(Collection<ProductCode> productCodes) A list of product codes.voidsetVolumeId(String volumeId) The ID of the volume.toString()Returns a string representation of this object; useful for testing and debugging.withAutoEnableIO(Boolean autoEnableIO) The state ofautoEnableIOattribute.withProductCodes(ProductCode... productCodes) A list of product codes.withProductCodes(Collection<ProductCode> productCodes) A list of product codes.withVolumeId(String volumeId) The ID of the volume.
-
Constructor Details
-
DescribeVolumeAttributeResult
public DescribeVolumeAttributeResult()
-
-
Method Details
-
setVolumeId
The ID of the volume.
- Parameters:
volumeId- The ID of the volume.
-
getVolumeId
The ID of the volume.
- Returns:
- The ID of the volume.
-
withVolumeId
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
The state of
autoEnableIOattribute.- Parameters:
autoEnableIO- The state ofautoEnableIOattribute.
-
getAutoEnableIO
The state of
autoEnableIOattribute.- Returns:
- The state of
autoEnableIOattribute.
-
withAutoEnableIO
The state of
autoEnableIOattribute.- Parameters:
autoEnableIO- The state ofautoEnableIOattribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoEnableIO
The state of
autoEnableIOattribute.- Returns:
- The state of
autoEnableIOattribute.
-
getProductCodes
A list of product codes.
- Returns:
- A list of product codes.
-
setProductCodes
A list of product codes.
- Parameters:
productCodes- A list of product codes.
-
withProductCodes
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-