public class DeleteVolumeRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteVolumeRequest>
DeleteVolume operation
.
Deletes a previously created volume. Once successfully deleted, a new volume can be created with the same name.
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 EBS volume to delete.
|
int |
hashCode() |
void |
setVolumeId(String volumeId)
The ID of the EBS volume to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVolumeRequest |
withVolumeId(String volumeId)
The ID of the EBS volume to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteVolumeRequest()
public DeleteVolumeRequest(String volumeId)
volumeId
- The ID of the EBS volume to delete.public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The ID of the EBS volume to delete.public DeleteVolumeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the EBS volume to delete.public Request<DeleteVolumeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVolumeRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.