Class ListAllowedNodeTypeModificationsResult

    • Constructor Detail

      • ListAllowedNodeTypeModificationsResult

        public ListAllowedNodeTypeModificationsResult()
    • Method Detail

      • getScaleUpModifications

        public List<String> getScaleUpModifications()

        A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

        Returns:
        A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

      • setScaleUpModifications

        public void setScaleUpModifications​(Collection<String> scaleUpModifications)

        A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

        Parameters:
        scaleUpModifications - A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

      • withScaleUpModifications

        public ListAllowedNodeTypeModificationsResult withScaleUpModifications​(String... scaleUpModifications)

        A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

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

        Parameters:
        scaleUpModifications - A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withScaleUpModifications

        public ListAllowedNodeTypeModificationsResult withScaleUpModifications​(Collection<String> scaleUpModifications)

        A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

        Parameters:
        scaleUpModifications - A string list, each element of which specifies a cache node type which you can use to scale your cache cluster or replication group.

        When scaling up a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.

        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