@Generated(value="software.amazon.awssdk:codegen") public final class IncreaseReplicaCountRequest extends ElastiCacheRequest implements ToCopyableBuilder<IncreaseReplicaCountRequest.Builder,IncreaseReplicaCountRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
IncreaseReplicaCountRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
applyImmediately()
If
True , the number of replica nodes is increased immediately. |
static IncreaseReplicaCountRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
newReplicaCount()
The number of read replica nodes you want at the completion of this operation.
|
List<ConfigureShard> |
replicaConfiguration()
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster mode
enabled) replication group. |
String |
replicationGroupId()
The id of the replication group to which you want to add replica nodes.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IncreaseReplicaCountRequest.Builder> |
serializableBuilderClass() |
IncreaseReplicaCountRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String replicationGroupId()
The id of the replication group to which you want to add replica nodes.
public 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.
public List<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
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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
.public 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.
True
, the number of replica nodes is increased immediately. If False
, the
number of replica nodes is increased during the next maintenance window.public IncreaseReplicaCountRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IncreaseReplicaCountRequest.Builder,IncreaseReplicaCountRequest>
toBuilder
in class ElastiCacheRequest
public static IncreaseReplicaCountRequest.Builder builder()
public static Class<? extends IncreaseReplicaCountRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.