public class DeleteSnapshotRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteSnapshotRequest>
DeleteSnapshot operation
.
Deletes the snapshot identified by snapshotId
.
Constructor and Description |
---|
DeleteSnapshotRequest()
Default constructor for a new DeleteSnapshotRequest object.
|
DeleteSnapshotRequest(String snapshotId)
Constructs a new DeleteSnapshotRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<DeleteSnapshotRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSnapshotId()
The ID of the snapshot to delete.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSnapshotRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteSnapshotRequest()
public DeleteSnapshotRequest(String snapshotId)
snapshotId
- The ID of the snapshot to delete.public String getSnapshotId()
public void setSnapshotId(String snapshotId)
snapshotId
- The ID of the snapshot to delete.public DeleteSnapshotRequest withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId
- The ID of the snapshot to delete.public Request<DeleteSnapshotRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteSnapshotRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.