public class DescribeVolumeAttributeResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVolumeAttribute.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
autoEnableIO
The state of
autoEnableIO attribute. |
private SdkInternalList<ProductCode> |
productCodes
A list of product codes.
|
private java.lang.String |
volumeId
The ID of the volume.
|
Constructor and Description |
---|
DescribeVolumeAttributeResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumeAttributeResult |
clone() |
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.
|
private java.lang.String volumeId
The ID of the volume.
private java.lang.Boolean autoEnableIO
The state of autoEnableIO
attribute.
private SdkInternalList<ProductCode> productCodes
A list of product codes.
public void setVolumeId(java.lang.String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public java.lang.String getVolumeId()
The ID of the volume.
public DescribeVolumeAttributeResult withVolumeId(java.lang.String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public void setAutoEnableIO(java.lang.Boolean autoEnableIO)
The state of autoEnableIO
attribute.
autoEnableIO
- The state of autoEnableIO
attribute.public java.lang.Boolean getAutoEnableIO()
The state of autoEnableIO
attribute.
autoEnableIO
attribute.public DescribeVolumeAttributeResult withAutoEnableIO(java.lang.Boolean autoEnableIO)
The state of autoEnableIO
attribute.
autoEnableIO
- The state of autoEnableIO
attribute.public java.lang.Boolean isAutoEnableIO()
The state of autoEnableIO
attribute.
autoEnableIO
attribute.public java.util.List<ProductCode> getProductCodes()
A list of product codes.
public void setProductCodes(java.util.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(java.util.Collection<ProductCode> productCodes)
A list of product codes.
productCodes
- A list of product codes.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVolumeAttributeResult clone()
clone
in class java.lang.Object