public class DeleteVolumeRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteVolumeRequest>
DeleteVolume operation
.
Deletes the specified Amazon 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 |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.