@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumeAttributeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVolumeAttributeResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumeAttributeResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoEnableIO()
The state of
autoEnableIO attribute. |
List<ProductCode> |
getProductCodes()
A list of product codes.
|
String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
Boolean |
isAutoEnableIO()
The state of
autoEnableIO attribute. |
void |
setAutoEnableIO(Boolean autoEnableIO)
The state of
autoEnableIO 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.
|
DescribeVolumeAttributeResult |
withAutoEnableIO(Boolean autoEnableIO)
The state of
autoEnableIO attribute. |
DescribeVolumeAttributeResult |
withProductCodes(Collection<ProductCode> productCodes)
A list of product codes.
|
DescribeVolumeAttributeResult |
withProductCodes(ProductCode... productCodes)
A list of product codes.
|
DescribeVolumeAttributeResult |
withVolumeId(String volumeId)
The ID of the volume.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAutoEnableIO(Boolean autoEnableIO)
The state of autoEnableIO
attribute.
autoEnableIO
- The state of autoEnableIO
attribute.public Boolean getAutoEnableIO()
The state of autoEnableIO
attribute.
autoEnableIO
attribute.public DescribeVolumeAttributeResult withAutoEnableIO(Boolean autoEnableIO)
The state of autoEnableIO
attribute.
autoEnableIO
- The state of autoEnableIO
attribute.public Boolean isAutoEnableIO()
The state of autoEnableIO
attribute.
autoEnableIO
attribute.public List<ProductCode> getProductCodes()
A list of product codes.
public void setProductCodes(Collection<ProductCode> productCodes)
A list of product codes.
productCodes
- A list of product codes.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)
or withProductCodes(java.util.Collection)
if you want to
override the existing values.
productCodes
- A list of product codes.public DescribeVolumeAttributeResult withProductCodes(Collection<ProductCode> productCodes)
A list of product codes.
productCodes
- A list of product codes.public void setVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public String getVolumeId()
The ID of the volume.
public DescribeVolumeAttributeResult withVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public String toString()
toString
in class Object
Object.toString()
public DescribeVolumeAttributeResult clone()