public class ListAllowedNodeTypeModificationsResult extends Object implements Serializable, Cloneable
Represents the allowed node types you can use to modify your cache cluster or replication group.
Constructor and Description |
---|
ListAllowedNodeTypeModificationsResult() |
Modifier and Type | Method and Description |
---|---|
ListAllowedNodeTypeModificationsResult |
clone() |
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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.
|
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.
|
public ListAllowedNodeTypeModificationsResult()
public List<String> getScaleUpModifications()
When
scaling up a Redis cluster or replication group using
ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for
the CacheNodeType parameter.
When
scaling up a Redis cluster or replication group using
ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for
the CacheNodeType parameter.
public void setScaleUpModifications(Collection<String> scaleUpModifications)
When
scaling up a Redis cluster or replication group using
ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for
the CacheNodeType parameter.
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.
public ListAllowedNodeTypeModificationsResult withScaleUpModifications(String... scaleUpModifications)
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.
Returns a reference to this object so that method calls can be chained together.
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.
public ListAllowedNodeTypeModificationsResult withScaleUpModifications(Collection<String> scaleUpModifications)
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 reference to this object so that method calls can be chained together.
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.
public String toString()
toString
in class Object
Object.toString()
public ListAllowedNodeTypeModificationsResult clone()
Copyright © 2016. All rights reserved.