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.
This API cannot be used to delete a cache cluster that is the last read replica of a replication group that has automatic failover mode enabled.
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 user-supplied 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 user-supplied 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 user-supplied name of a final cache cluster snapshot.
|
copyBaseTo, 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 user-supplied name of a final cache cluster snapshot. This is the
unique name that identifies the 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 user-supplied name of a final cache cluster snapshot. This is the
unique name that identifies the snapshot. ElastiCache creates the
snapshot, and then deletes the cache cluster immediately afterward.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.