public class DeleteSnapshotRequest extends AmazonWebServiceRequest implements Serializable
DeleteSnapshot operation
.
The DeleteSnapshot operation deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.
NOOP
Constructor and Description |
---|
DeleteSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSnapshotName()
The name of the snapshot to be deleted.
|
int |
hashCode() |
void |
setSnapshotName(String snapshotName)
The name of the snapshot to be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSnapshotRequest |
withSnapshotName(String snapshotName)
The name of the snapshot to be deleted.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getSnapshotName()
public void setSnapshotName(String snapshotName)
snapshotName
- The name of the snapshot to be deleted.public DeleteSnapshotRequest withSnapshotName(String snapshotName)
Returns a reference to this object so that method calls can be chained together.
snapshotName
- The name of the snapshot to be deleted.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.