@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteSnapshotRequest>
Contains the parameters for DeleteSnapshot.
NOOP
Constructor and Description |
---|
DeleteSnapshotRequest()
Default constructor for DeleteSnapshotRequest object.
|
DeleteSnapshotRequest(String snapshotId)
Constructs a new DeleteSnapshotRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DeleteSnapshotRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSnapshotId()
The ID of the EBS snapshot.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the EBS snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteSnapshotRequest |
withSnapshotId(String snapshotId)
The ID of the EBS snapshot.
|
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 DeleteSnapshotRequest()
public DeleteSnapshotRequest(String snapshotId)
snapshotId
- The ID of the EBS snapshot.public void setSnapshotId(String snapshotId)
The ID of the EBS snapshot.
snapshotId
- The ID of the EBS snapshot.public String getSnapshotId()
The ID of the EBS snapshot.
public DeleteSnapshotRequest withSnapshotId(String snapshotId)
The ID of the EBS snapshot.
snapshotId
- The ID of the EBS snapshot.public Request<DeleteSnapshotRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteSnapshotRequest>
public String toString()
toString
in class Object
Object.toString()
public DeleteSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.