Class ListAllowedNodeTypeModificationsResult

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

public class ListAllowedNodeTypeModificationsResult extends Object implements Serializable, Cloneable

Represents the allowed node types you can use to modify your cache cluster or replication group.

See Also:
  • Constructor Details

    • ListAllowedNodeTypeModificationsResult

      public ListAllowedNodeTypeModificationsResult()
  • Method Details

    • 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object