@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IncreaseReplicaCountRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
IncreaseReplicaCountRequest() |
Modifier and Type | Method and Description |
---|---|
IncreaseReplicaCountRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
If
True , the number of replica nodes is increased immediately. |
Integer |
getNewReplicaCount()
The number of read replica nodes you want at the completion of this operation.
|
List<ConfigureShard> |
getReplicaConfiguration()
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster mode
enabled) replication group. |
String |
getReplicationGroupId()
The id of the replication group to which you want to add replica nodes.
|
int |
hashCode() |
Boolean |
isApplyImmediately()
If
True , the number of replica nodes is increased immediately. |
void |
setApplyImmediately(Boolean applyImmediately)
If
True , the number of replica nodes is increased immediately. |
void |
setNewReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation.
|
void |
setReplicaConfiguration(Collection<ConfigureShard> replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster mode
enabled) replication group. |
void |
setReplicationGroupId(String replicationGroupId)
The id of the replication group to which you want to add replica nodes.
|
String |
toString()
Returns a string representation of this object.
|
IncreaseReplicaCountRequest |
withApplyImmediately(Boolean applyImmediately)
If
True , the number of replica nodes is increased immediately. |
IncreaseReplicaCountRequest |
withNewReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation.
|
IncreaseReplicaCountRequest |
withReplicaConfiguration(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 |
withReplicaConfiguration(ConfigureShard... replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis (cluster mode
enabled) replication group. |
IncreaseReplicaCountRequest |
withReplicationGroupId(String replicationGroupId)
The id of the replication group to which you want to add replica nodes.
|
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 void setReplicationGroupId(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.public String getReplicationGroupId()
The id of the replication group to which you want to add replica nodes.
public IncreaseReplicaCountRequest withReplicationGroupId(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.public void setNewReplicaCount(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.public Integer getNewReplicaCount()
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 IncreaseReplicaCountRequest withNewReplicaCount(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.public List<ConfigureShard> getReplicaConfiguration()
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
.
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 void setReplicaConfiguration(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
.public IncreaseReplicaCountRequest withReplicaConfiguration(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
.
NOTE: This method appends the values to the existing list (if any). Use
setReplicaConfiguration(java.util.Collection)
or withReplicaConfiguration(java.util.Collection)
if you want to override the existing values.
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
.public IncreaseReplicaCountRequest withReplicaConfiguration(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
.public void setApplyImmediately(Boolean applyImmediately)
If True
, the number of replica nodes is increased immediately. ApplyImmediately=False
is not currently supported.
applyImmediately
- If True
, the number of replica nodes is increased immediately.
ApplyImmediately=False
is not currently supported.public Boolean getApplyImmediately()
If True
, the number of replica nodes is increased immediately. ApplyImmediately=False
is not currently supported.
True
, the number of replica nodes is increased immediately.
ApplyImmediately=False
is not currently supported.public IncreaseReplicaCountRequest withApplyImmediately(Boolean applyImmediately)
If True
, the number of replica nodes is increased immediately. ApplyImmediately=False
is not currently supported.
applyImmediately
- If True
, the number of replica nodes is increased immediately.
ApplyImmediately=False
is not currently supported.public Boolean isApplyImmediately()
If True
, the number of replica nodes is increased immediately. ApplyImmediately=False
is not currently supported.
True
, the number of replica nodes is increased immediately.
ApplyImmediately=False
is not currently supported.public String toString()
toString
in class Object
Object.toString()
public IncreaseReplicaCountRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.