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:
  • Constructor Details

    • 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 Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: