@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAllowedNodeTypeModificationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the allowed node types you can use to modify your cluster or replication group.
Constructor and Description |
---|
ListAllowedNodeTypeModificationsResult() |
Modifier and Type | Method and Description |
---|---|
ListAllowedNodeTypeModificationsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getScaleDownModifications()
A string list, each element of which specifies a cache node type which you can use to scale your cluster or
replication group.
|
List<String> |
getScaleUpModifications()
A string list, each element of which specifies a cache node type which you can use to scale your cluster or
replication group.
|
int |
hashCode() |
void |
setScaleDownModifications(Collection<String> scaleDownModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or
replication group.
|
void |
setScaleUpModifications(Collection<String> scaleUpModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or
replication group.
|
String |
toString()
Returns a string representation of this object.
|
ListAllowedNodeTypeModificationsResult |
withScaleDownModifications(Collection<String> scaleDownModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or
replication group.
|
ListAllowedNodeTypeModificationsResult |
withScaleDownModifications(String... scaleDownModifications)
A string list, each element of which specifies a cache node type which you can use to scale your 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 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 cluster or
replication group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListAllowedNodeTypeModificationsResult()
public List<String> getScaleUpModifications()
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group.
When scaling up a Redis OSS cluster or replication group using ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for the CacheNodeType
parameter.
When scaling up a Redis OSS cluster or replication group using ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for the CacheNodeType
parameter.
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 cluster or replication group.
When scaling up a Redis OSS 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 cluster
or replication group.
When scaling up a Redis OSS cluster or replication group using ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for the CacheNodeType
parameter.
public ListAllowedNodeTypeModificationsResult withScaleUpModifications(String... scaleUpModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group.
When scaling up a Redis OSS 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 cluster
or replication group.
When scaling up a Redis OSS cluster or replication group using ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for the CacheNodeType
parameter.
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 cluster or replication group.
When scaling up a Redis OSS 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 cluster
or replication group.
When scaling up a Redis OSS cluster or replication group using ModifyCacheCluster
or
ModifyReplicationGroup
, use a value from this list for the CacheNodeType
parameter.
public List<String> getScaleDownModifications()
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling down a Redis OSS cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.
public void setScaleDownModifications(Collection<String> scaleDownModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling down a Redis OSS cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.
scaleDownModifications
- A string list, each element of which specifies a cache node type which you can use to scale your cluster
or replication group. When scaling down a Redis OSS cluster or replication group using ModifyCacheCluster
or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.public ListAllowedNodeTypeModificationsResult withScaleDownModifications(String... scaleDownModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling down a Redis OSS 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
setScaleDownModifications(java.util.Collection)
or
withScaleDownModifications(java.util.Collection)
if you want to override the existing values.
scaleDownModifications
- A string list, each element of which specifies a cache node type which you can use to scale your cluster
or replication group. When scaling down a Redis OSS cluster or replication group using ModifyCacheCluster
or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.public ListAllowedNodeTypeModificationsResult withScaleDownModifications(Collection<String> scaleDownModifications)
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling down a Redis OSS cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.
scaleDownModifications
- A string list, each element of which specifies a cache node type which you can use to scale your cluster
or replication group. When scaling down a Redis OSS 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()