public static interface IncreaseReplicaCountRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<IncreaseReplicaCountRequest.Builder,IncreaseReplicaCountRequest>
Modifier and Type | Method and Description |
---|---|
IncreaseReplicaCountRequest.Builder |
applyImmediately(Boolean applyImmediately)
If
True , the number of replica nodes is increased immediately. |
IncreaseReplicaCountRequest.Builder |
newReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation.
|
IncreaseReplicaCountRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
IncreaseReplicaCountRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
IncreaseReplicaCountRequest.Builder |
replicaConfiguration(Collection<ConfigureShard> replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster
mode enabled) replication group. |
IncreaseReplicaCountRequest.Builder |
replicaConfiguration(ConfigureShard... replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster
mode enabled) replication group. |
IncreaseReplicaCountRequest.Builder |
replicaConfiguration(Consumer<ConfigureShard.Builder>... replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster
mode enabled) replication group. |
IncreaseReplicaCountRequest.Builder |
replicationGroupId(String replicationGroupId)
The id of the replication group to which you want to add replica nodes.
|
build
overrideConfiguration
copy
applyMutation, build
IncreaseReplicaCountRequest.Builder replicationGroupId(String replicationGroupId)
The id of the replication group to which you want to add replica nodes.
replicationGroupId
- The id of the replication group to which you want to add replica nodes.IncreaseReplicaCountRequest.Builder newReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
newReplicaCount
- The number of read replica nodes you want at the completion of this operation. For Redis (cluster mode
disabled) replication groups, this is the number of replica nodes in the replication group. For Redis
(cluster mode enabled) replication groups, this is the number of replica nodes in each of the
replication group's node groups.IncreaseReplicaCountRequest.Builder replicaConfiguration(Collection<ConfigureShard> replicaConfiguration)
A list of ConfigureShard
objects that can be used to configure each shard in a Redis (cluster
mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.
replicaConfiguration
- A list of ConfigureShard
objects that can be used to configure each shard in a Redis
(cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.IncreaseReplicaCountRequest.Builder replicaConfiguration(ConfigureShard... replicaConfiguration)
A list of ConfigureShard
objects that can be used to configure each shard in a Redis (cluster
mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.
replicaConfiguration
- A list of ConfigureShard
objects that can be used to configure each shard in a Redis
(cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.IncreaseReplicaCountRequest.Builder replicaConfiguration(Consumer<ConfigureShard.Builder>... replicaConfiguration)
A list of ConfigureShard
objects that can be used to configure each shard in a Redis (cluster
mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.
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 #replicaConfiguration(List)
.replicaConfiguration
- a consumer that will call methods on List.Builder
#replicaConfiguration(List)
IncreaseReplicaCountRequest.Builder applyImmediately(Boolean applyImmediately)
If True
, the number of replica nodes is increased immediately. If False
, the number
of replica nodes is increased during the next maintenance window.
applyImmediately
- If True
, the number of replica nodes is increased immediately. If False
, the
number of replica nodes is increased during the next maintenance window.IncreaseReplicaCountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.IncreaseReplicaCountRequest.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.