public class DescribeVolumeAttributeRequest extends AmazonWebServiceRequest implements 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 Amazon 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(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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.