@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVolumeAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeVolumeAttributeRequest>
Contains the parameters for DescribeVolumeAttribute.
NOOP
Constructor and Description |
---|
DescribeVolumeAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeVolumeAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute of the volume.
|
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 attribute of the volume.
|
void |
setAttribute(VolumeAttributeName attribute)
The attribute of the volume.
|
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 attribute of the volume.
|
DescribeVolumeAttributeRequest |
withAttribute(VolumeAttributeName attribute)
The attribute of the volume.
|
DescribeVolumeAttributeRequest |
withVolumeId(String volumeId)
The ID of the volume.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAttribute(String attribute)
The attribute of the volume. This parameter is required.
attribute
- The attribute of the volume. This parameter is required.VolumeAttributeName
public String getAttribute()
The attribute of the volume. This parameter is required.
VolumeAttributeName
public DescribeVolumeAttributeRequest withAttribute(String attribute)
The attribute of the volume. This parameter is required.
attribute
- The attribute of the volume. This parameter is required.VolumeAttributeName
public void setAttribute(VolumeAttributeName attribute)
The attribute of the volume. This parameter is required.
attribute
- The attribute of the volume. This parameter is required.VolumeAttributeName
public DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName attribute)
The attribute of the volume. This parameter is required.
attribute
- The attribute of the volume. This parameter is required.VolumeAttributeName
public void setVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public String getVolumeId()
The ID of the volume.
public DescribeVolumeAttributeRequest withVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.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 © 2013 Amazon Web Services, Inc. All Rights Reserved.