public class DeleteCacheClusterRequest extends AmazonWebServiceRequest implements Serializable
DeleteCacheCluster operation
.
The DeleteCacheCluster operation deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
NOOP
Constructor and Description |
---|
DeleteCacheClusterRequest()
Default constructor for a new DeleteCacheClusterRequest object.
|
DeleteCacheClusterRequest(String cacheClusterId)
Constructs a new DeleteCacheClusterRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCacheClusterId()
The cache cluster identifier for the cluster to be deleted.
|
String |
getFinalSnapshotIdentifier()
The name of a final cache cluster snapshot.
|
int |
hashCode() |
void |
setCacheClusterId(String cacheClusterId)
The cache cluster identifier for the cluster to be deleted.
|
void |
setFinalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final cache cluster snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteCacheClusterRequest |
withCacheClusterId(String cacheClusterId)
The cache cluster identifier for the cluster to be deleted.
|
DeleteCacheClusterRequest |
withFinalSnapshotIdentifier(String finalSnapshotIdentifier)
The name of a final cache cluster snapshot.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteCacheClusterRequest()
public DeleteCacheClusterRequest(String cacheClusterId)
cacheClusterId
- The cache cluster identifier for the cluster to
be deleted. This parameter is not case sensitive.public String getCacheClusterId()
public void setCacheClusterId(String cacheClusterId)
cacheClusterId
- The cache cluster identifier for the cluster to be deleted. This
parameter is not case sensitive.public DeleteCacheClusterRequest withCacheClusterId(String cacheClusterId)
Returns a reference to this object so that method calls can be chained together.
cacheClusterId
- The cache cluster identifier for the cluster to be deleted. This
parameter is not case sensitive.public String getFinalSnapshotIdentifier()
public void setFinalSnapshotIdentifier(String finalSnapshotIdentifier)
finalSnapshotIdentifier
- The name of a final cache cluster snapshot. ElastiCache creates the
snapshot, and then deletes the cache cluster immediately afterward.public DeleteCacheClusterRequest withFinalSnapshotIdentifier(String finalSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
finalSnapshotIdentifier
- The name of a final cache cluster snapshot. ElastiCache creates the
snapshot, and then deletes the cache cluster immediately afterward.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.