Class RebootCacheClusterRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.RebootCacheClusterRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class RebootCacheClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a RebootCacheCluster action.

See Also:
  • Constructor Details

    • RebootCacheClusterRequest

      public RebootCacheClusterRequest()
      Default constructor for RebootCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • RebootCacheClusterRequest

      public RebootCacheClusterRequest(String cacheClusterId, List<String> cacheNodeIdsToReboot)
      Constructs a new RebootCacheClusterRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      cacheClusterId - The cache cluster identifier. This parameter is stored as a lowercase string.
      cacheNodeIdsToReboot - A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
  • Method Details

    • setCacheClusterId

      public void setCacheClusterId(String cacheClusterId)

      The cache cluster identifier. This parameter is stored as a lowercase string.

      Parameters:
      cacheClusterId - The cache cluster identifier. This parameter is stored as a lowercase string.
    • getCacheClusterId

      public String getCacheClusterId()

      The cache cluster identifier. This parameter is stored as a lowercase string.

      Returns:
      The cache cluster identifier. This parameter is stored as a lowercase string.
    • withCacheClusterId

      public RebootCacheClusterRequest withCacheClusterId(String cacheClusterId)

      The cache cluster identifier. This parameter is stored as a lowercase string.

      Parameters:
      cacheClusterId - The cache cluster identifier. This parameter is stored as a lowercase string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getCacheNodeIdsToReboot

      public List<String> getCacheNodeIdsToReboot()

      A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.

      Returns:
      A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
    • setCacheNodeIdsToReboot

      public void setCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)

      A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.

      Parameters:
      cacheNodeIdsToReboot - A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
    • withCacheNodeIdsToReboot

      public RebootCacheClusterRequest withCacheNodeIdsToReboot(String... cacheNodeIdsToReboot)

      A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.

      NOTE: This method appends the values to the existing list (if any). Use setCacheNodeIdsToReboot(java.util.Collection) or withCacheNodeIdsToReboot(java.util.Collection) if you want to override the existing values.

      Parameters:
      cacheNodeIdsToReboot - A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withCacheNodeIdsToReboot

      public RebootCacheClusterRequest withCacheNodeIdsToReboot(Collection<String> cacheNodeIdsToReboot)

      A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.

      Parameters:
      cacheNodeIdsToReboot - A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cache cluster, specify all of the cache node IDs.
      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 RebootCacheClusterRequest 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: