public class DescribeVolumeAttributeResult extends Object 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; useful for testing and
debugging.
|
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.
|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The ID of the volume.public DescribeVolumeAttributeResult withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the volume.public Boolean isAutoEnableIO()
autoEnableIO
attribute.autoEnableIO
attribute.public void setAutoEnableIO(Boolean autoEnableIO)
autoEnableIO
attribute.autoEnableIO
- The state of autoEnableIO
attribute.public DescribeVolumeAttributeResult withAutoEnableIO(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 Boolean getAutoEnableIO()
autoEnableIO
attribute.autoEnableIO
attribute.public List<ProductCode> getProductCodes()
public void setProductCodes(Collection<ProductCode> productCodes)
productCodes
- A list of product codes.public DescribeVolumeAttributeResult withProductCodes(ProductCode... productCodes)
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.
Returns a reference to this object so that method calls can be chained together.
productCodes
- A list of product codes.public DescribeVolumeAttributeResult withProductCodes(Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- A list of product codes.public String toString()
toString
in class Object
Object.toString()
public DescribeVolumeAttributeResult clone()
Copyright © 2015. All rights reserved.