@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteVolumeRequest>
Contains the parameters for DeleteVolume.
NOOP
Constructor and Description |
---|
DeleteVolumeRequest()
Default constructor for DeleteVolumeRequest object.
|
DeleteVolumeRequest(String volumeId)
Constructs a new DeleteVolumeRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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 DeleteVolumeRequest()
public DeleteVolumeRequest(String volumeId)
volumeId
- The ID of the volume.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 DeleteVolumeRequest withVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public Request<DeleteVolumeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVolumeRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.