@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyReplicationGroupShardConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a ModifyReplicationGroupShardConfiguration
operation.
NOOP
Constructor and Description |
---|
ModifyReplicationGroupShardConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyReplicationGroupShardConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
Indicates that the shard reconfiguration process begins immediately.
|
Integer |
getNodeGroupCount()
The number of node groups (shards) that results from the modification of the shard configuration.
|
List<String> |
getNodeGroupsToRemove()
If the value of
NodeGroupCount is less than the current number of node groups (shards),
NodeGroupsToRemove is a required list of node group ids to remove from the cluster. |
String |
getReplicationGroupId()
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be
configured.
|
List<ReshardingConfiguration> |
getReshardingConfiguration()
Specifies the preferred availability zones for each node group in the cluster.
|
int |
hashCode() |
Boolean |
isApplyImmediately()
Indicates that the shard reconfiguration process begins immediately.
|
void |
setApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately.
|
void |
setNodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration.
|
void |
setNodeGroupsToRemove(Collection<String> nodeGroupsToRemove)
If the value of
NodeGroupCount is less than the current number of node groups (shards),
NodeGroupsToRemove is a required list of node group ids to remove from the cluster. |
void |
setReplicationGroupId(String replicationGroupId)
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be
configured.
|
void |
setReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyReplicationGroupShardConfigurationRequest |
withApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately.
|
ModifyReplicationGroupShardConfigurationRequest |
withNodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration.
|
ModifyReplicationGroupShardConfigurationRequest |
withNodeGroupsToRemove(Collection<String> nodeGroupsToRemove)
If the value of
NodeGroupCount is less than the current number of node groups (shards),
NodeGroupsToRemove is a required list of node group ids to remove from the cluster. |
ModifyReplicationGroupShardConfigurationRequest |
withNodeGroupsToRemove(String... nodeGroupsToRemove)
If the value of
NodeGroupCount is less than the current number of node groups (shards),
NodeGroupsToRemove is a required list of node group ids to remove from the cluster. |
ModifyReplicationGroupShardConfigurationRequest |
withReplicationGroupId(String replicationGroupId)
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be
configured.
|
ModifyReplicationGroupShardConfigurationRequest |
withReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster.
|
ModifyReplicationGroupShardConfigurationRequest |
withReshardingConfiguration(ReshardingConfiguration... reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ModifyReplicationGroupShardConfigurationRequest()
public void setReplicationGroupId(String replicationGroupId)
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
replicationGroupId
- The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be
configured.public String getReplicationGroupId()
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
public ModifyReplicationGroupShardConfigurationRequest withReplicationGroupId(String replicationGroupId)
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
replicationGroupId
- The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be
configured.public void setNodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration.
nodeGroupCount
- The number of node groups (shards) that results from the modification of the shard configuration.public Integer getNodeGroupCount()
The number of node groups (shards) that results from the modification of the shard configuration.
public ModifyReplicationGroupShardConfigurationRequest withNodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration.
nodeGroupCount
- The number of node groups (shards) that results from the modification of the shard configuration.public void setApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for
this parameter is true
.
Value: true
applyImmediately
- Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value
for this parameter is true
.
Value: true
public Boolean getApplyImmediately()
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for
this parameter is true
.
Value: true
true
.
Value: true
public ModifyReplicationGroupShardConfigurationRequest withApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for
this parameter is true
.
Value: true
applyImmediately
- Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value
for this parameter is true
.
Value: true
public Boolean isApplyImmediately()
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for
this parameter is true
.
Value: true
true
.
Value: true
public List<ReshardingConfiguration> getReshardingConfiguration()
Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the current
number of node groups (shards).
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the
current number of node groups (shards).
public void setReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the current
number of node groups (shards).
reshardingConfiguration
- Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the
current number of node groups (shards).
public ModifyReplicationGroupShardConfigurationRequest withReshardingConfiguration(ReshardingConfiguration... reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the current
number of node groups (shards).
NOTE: This method appends the values to the existing list (if any). Use
setReshardingConfiguration(java.util.Collection)
or
withReshardingConfiguration(java.util.Collection)
if you want to override the existing values.
reshardingConfiguration
- Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the
current number of node groups (shards).
public ModifyReplicationGroupShardConfigurationRequest withReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the current
number of node groups (shards).
reshardingConfiguration
- Specifies the preferred availability zones for each node group in the cluster. If the value of
NodeGroupCount
is greater than the current number of node groups (shards), you can use this
parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter
ElastiCache selects availability zones for you.
You can specify this parameter only if the value of NodeGroupCount
is greater than the
current number of node groups (shards).
public List<String> getNodeGroupsToRemove()
If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.
NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.public void setNodeGroupsToRemove(Collection<String> nodeGroupsToRemove)
If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.
nodeGroupsToRemove
- If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.public ModifyReplicationGroupShardConfigurationRequest withNodeGroupsToRemove(String... nodeGroupsToRemove)
If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setNodeGroupsToRemove(java.util.Collection)
or withNodeGroupsToRemove(java.util.Collection)
if
you want to override the existing values.
nodeGroupsToRemove
- If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.public ModifyReplicationGroupShardConfigurationRequest withNodeGroupsToRemove(Collection<String> nodeGroupsToRemove)
If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.
nodeGroupsToRemove
- If the value of NodeGroupCount
is less than the current number of node groups (shards),
NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.public String toString()
toString
in class Object
Object.toString()
public ModifyReplicationGroupShardConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.