public class DeleteVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteVolumeRequest>
DeleteVolume operation.
Deletes the specified EBS volume. The volume must be in the
available state (not attached to an instance).
NOTE: The volume may remain in the deleting state for several minutes.
For more information, see Deleting an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide .
NOOP| Constructor and Description |
|---|
DeleteVolumeRequest()
Default constructor for a new DeleteVolumeRequest object.
|
DeleteVolumeRequest(String volumeId)
Constructs a new DeleteVolumeRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteVolumeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DeleteVolumeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
void |
setVolumeId(String volumeId)
The ID of the volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVolumeRequest |
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 DeleteVolumeRequest()
public DeleteVolumeRequest(String volumeId)
volumeId - The ID of the volume.public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId - The ID of the volume.public DeleteVolumeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId - The ID of the volume.public Request<DeleteVolumeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteVolumeRequest>public String toString()
toString in class ObjectObject.toString()public DeleteVolumeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.