public class DescribeVolumeAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeVolumeAttributeRequest>
DescribeVolumeAttribute operation.
Describes the specified attribute of the specified volume. You can specify only one attribute at a time.
For more information about EBS volumes, see Amazon EBS Volumes in the Amazon Elastic Compute Cloud User Guide .
| Constructor and Description |
|---|
DescribeVolumeAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute()
The instance attribute.
|
Request<DescribeVolumeAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
void |
setAttribute(java.lang.String attribute)
The instance attribute.
|
void |
setAttribute(VolumeAttributeName attribute)
The instance attribute.
|
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.
|
DescribeVolumeAttributeRequest |
withAttribute(java.lang.String attribute)
The instance attribute.
|
DescribeVolumeAttributeRequest |
withAttribute(VolumeAttributeName attribute)
The instance attribute.
|
DescribeVolumeAttributeRequest |
withVolumeId(java.lang.String volumeId)
The ID of the volume.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId - The ID of the volume.public DescribeVolumeAttributeRequest 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.String getAttribute()
Constraints:
Allowed Values: autoEnableIO, productCodes
VolumeAttributeNamepublic void setAttribute(java.lang.String attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute - The instance attribute.VolumeAttributeNamepublic DescribeVolumeAttributeRequest withAttribute(java.lang.String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute - The instance attribute.VolumeAttributeNamepublic void setAttribute(VolumeAttributeName attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute - The instance attribute.VolumeAttributeNamepublic DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute - The instance attribute.VolumeAttributeNamepublic Request<DescribeVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeVolumeAttributeRequest>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.