Class RebootCacheClusterRequest

    • Constructor Detail

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

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object