public class ListAllowedNodeTypeModificationsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the allowed node types you can use to modify your cache cluster or replication group.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.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 and Description |
---|
ListAllowedNodeTypeModificationsResult() |
Modifier and Type | Method and Description |
---|---|
ListAllowedNodeTypeModificationsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.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(java.util.Collection<java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListAllowedNodeTypeModificationsResult |
withScaleUpModifications(java.util.Collection<java.lang.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(java.lang.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.
|
private SdkInternalList<java.lang.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.
public ListAllowedNodeTypeModificationsResult()
public java.util.List<java.lang.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.
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(java.util.Collection<java.lang.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.
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(java.lang.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.
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(java.util.Collection<java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListAllowedNodeTypeModificationsResult clone()
clone
in class java.lang.Object