Class DeleteCacheClusterRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.DeleteCacheClusterRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeleteCacheClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a DeleteCacheCluster action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteCacheClusterRequest()
Default constructor for DeleteCacheClusterRequest object.DeleteCacheClusterRequest(String cacheClusterId)
Constructs a new DeleteCacheClusterRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteCacheClusterRequest
clone()
Creates a shallow clone of this request.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
DeleteCacheClusterRequest
public DeleteCacheClusterRequest()
Default constructor for DeleteCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
DeleteCacheClusterRequest
public DeleteCacheClusterRequest(String cacheClusterId)
Constructs a new DeleteCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
cacheClusterId
- The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
-
-
Method Detail
-
setCacheClusterId
public void setCacheClusterId(String cacheClusterId)
The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
- Parameters:
cacheClusterId
- The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
-
getCacheClusterId
public String getCacheClusterId()
The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
- Returns:
- The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
-
withCacheClusterId
public DeleteCacheClusterRequest withCacheClusterId(String cacheClusterId)
The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.
- Parameters:
cacheClusterId
- The cache cluster identifier for the cluster to be deleted. This parameter is not case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFinalSnapshotIdentifier
public void setFinalSnapshotIdentifier(String 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.
- Parameters:
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.
-
getFinalSnapshotIdentifier
public String getFinalSnapshotIdentifier()
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.
- Returns:
- 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.
-
withFinalSnapshotIdentifier
public DeleteCacheClusterRequest withFinalSnapshotIdentifier(String 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeleteCacheClusterRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-