public class DeleteSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteSnapshot operation
.
The DeleteSnapshot action deletes an existing snapshot. When you receive a successful response from this action, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this action.
NOOP
Constructor and Description |
---|
DeleteSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteSnapshotRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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()
public DeleteSnapshotRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.