public static interface ModifyReplicationGroupShardConfigurationRequest.Builder extends ElastiCacheRequest.Builder, CopyableBuilder<ModifyReplicationGroupShardConfigurationRequest.Builder,ModifyReplicationGroupShardConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
ModifyReplicationGroupShardConfigurationRequest.Builder |
applyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
nodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
nodeGroupsToRemove(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.Builder |
nodeGroupsToRemove(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.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
replicationGroupId(String replicationGroupId)
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be
configured.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
reshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
reshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster.
|
ModifyReplicationGroupShardConfigurationRequest.Builder |
reshardingConfiguration(ReshardingConfiguration... reshardingConfiguration)
Specifies the preferred availability zones for each node group in the cluster.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyReplicationGroupShardConfigurationRequest.Builder replicationGroupId(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.ModifyReplicationGroupShardConfigurationRequest.Builder nodeGroupCount(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.ModifyReplicationGroupShardConfigurationRequest.Builder applyImmediately(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
ModifyReplicationGroupShardConfigurationRequest.Builder reshardingConfiguration(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).
ModifyReplicationGroupShardConfigurationRequest.Builder reshardingConfiguration(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).
ModifyReplicationGroupShardConfigurationRequest.Builder reshardingConfiguration(Consumer<ReshardingConfiguration.Builder>... 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).
List.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #reshardingConfiguration(List)
.reshardingConfiguration
- a consumer that will call methods on List.Builder
#reshardingConfiguration(List)
ModifyReplicationGroupShardConfigurationRequest.Builder nodeGroupsToRemove(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.ModifyReplicationGroupShardConfigurationRequest.Builder nodeGroupsToRemove(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.ModifyReplicationGroupShardConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyReplicationGroupShardConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.