Class ListAllowedNodeTypeModificationsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the allowed node types you can use to modify your cache cluster or replication group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.toString()
Returns a string representation of this object; useful for testing and debugging.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.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.
-
Constructor Details
-
ListAllowedNodeTypeModificationsResult
public ListAllowedNodeTypeModificationsResult()
-
-
Method Details
-
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
orModifyReplicationGroup
, 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
orModifyReplicationGroup
, use a value from this list for the CacheNodeType parameter.
-
setScaleUpModifications
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
orModifyReplicationGroup
, 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
orModifyReplicationGroup
, 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
orModifyReplicationGroup
, 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)
orwithScaleUpModifications(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
orModifyReplicationGroup
, 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
orModifyReplicationGroup
, 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
orModifyReplicationGroup
, 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-