public class DescribeVolumeAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, 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 .
NOOP| Constructor and Description |
|---|
DescribeVolumeAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeVolumeAttributeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The instance attribute.
|
Request<DescribeVolumeAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
void |
setAttribute(String attribute)
The instance attribute.
|
void |
setAttribute(VolumeAttributeName attribute)
The instance attribute.
|
void |
setVolumeId(String volumeId)
The ID of the volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVolumeAttributeRequest |
withAttribute(String attribute)
The instance attribute.
|
DescribeVolumeAttributeRequest |
withAttribute(VolumeAttributeName attribute)
The instance attribute.
|
DescribeVolumeAttributeRequest |
withVolumeId(String volumeId)
The ID of the volume.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getVolumeId()
public void setVolumeId(String volumeId)
volumeId - The ID of the volume.public DescribeVolumeAttributeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId - The ID of the volume.public String getAttribute()
Constraints:
Allowed Values: autoEnableIO, productCodes
VolumeAttributeNamepublic void setAttribute(String attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute - The instance attribute.VolumeAttributeNamepublic DescribeVolumeAttributeRequest withAttribute(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 String toString()
toString in class ObjectObject.toString()public DescribeVolumeAttributeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.