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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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
VolumeAttributeName
public void setAttribute(String attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The instance attribute.VolumeAttributeName
public 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.VolumeAttributeName
public void setAttribute(VolumeAttributeName attribute)
Constraints:
Allowed Values: autoEnableIO, productCodes
attribute
- The instance attribute.VolumeAttributeName
public 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.VolumeAttributeName
public Request<DescribeVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeVolumeAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeVolumeAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.