public class DescribeVolumeAttributeResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeVolumeAttribute.
| Constructor and Description |
|---|
DescribeVolumeAttributeResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId - The ID of the volume.public DescribeVolumeAttributeResult withVolumeId(java.lang.String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId - The ID of the volume.public java.lang.Boolean isAutoEnableIO()
autoEnableIO attribute.autoEnableIO attribute.public void setAutoEnableIO(java.lang.Boolean autoEnableIO)
autoEnableIO attribute.autoEnableIO - The state of autoEnableIO attribute.public DescribeVolumeAttributeResult withAutoEnableIO(java.lang.Boolean autoEnableIO)
autoEnableIO attribute.
Returns a reference to this object so that method calls can be chained together.
autoEnableIO - The state of autoEnableIO attribute.public java.lang.Boolean getAutoEnableIO()
autoEnableIO attribute.autoEnableIO attribute.public java.util.List<ProductCode> getProductCodes()
public void setProductCodes(java.util.Collection<ProductCode> productCodes)
productCodes - A list of product codes.public DescribeVolumeAttributeResult withProductCodes(ProductCode... productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes - A list of product codes.public DescribeVolumeAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes - A list of product codes.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.