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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListAllowedNodeTypeModificationsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(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(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.
-
-
-
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
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
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
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListAllowedNodeTypeModificationsResult clone()
-
-