@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DecreaseReplicaCountRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DecreaseReplicaCountRequest() |
Modifier and Type | Method and Description |
---|---|
DecreaseReplicaCountRequest |
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 decreased 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 OSS (cluster
mode enabled) replication group. |
List<String> |
getReplicasToRemove()
A list of the node ids to remove from the replication group or node group (shard).
|
String |
getReplicationGroupId()
The id of the replication group from which you want to remove replica nodes.
|
int |
hashCode() |
Boolean |
isApplyImmediately()
If
True , the number of replica nodes is decreased immediately. |
void |
setApplyImmediately(Boolean applyImmediately)
If
True , the number of replica nodes is decreased 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 OSS (cluster
mode enabled) replication group. |
void |
setReplicasToRemove(Collection<String> replicasToRemove)
A list of the node ids to remove from the replication group or node group (shard).
|
void |
setReplicationGroupId(String replicationGroupId)
The id of the replication group from which you want to remove replica nodes.
|
String |
toString()
Returns a string representation of this object.
|
DecreaseReplicaCountRequest |
withApplyImmediately(Boolean applyImmediately)
If
True , the number of replica nodes is decreased immediately. |
DecreaseReplicaCountRequest |
withNewReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation.
|
DecreaseReplicaCountRequest |
withReplicaConfiguration(Collection<ConfigureShard> replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis OSS (cluster
mode enabled) replication group. |
DecreaseReplicaCountRequest |
withReplicaConfiguration(ConfigureShard... replicaConfiguration)
A list of
ConfigureShard objects that can be used to configure each shard in a Redis OSS (cluster
mode enabled) replication group. |
DecreaseReplicaCountRequest |
withReplicasToRemove(Collection<String> replicasToRemove)
A list of the node ids to remove from the replication group or node group (shard).
|
DecreaseReplicaCountRequest |
withReplicasToRemove(String... replicasToRemove)
A list of the node ids to remove from the replication group or node group (shard).
|
DecreaseReplicaCountRequest |
withReplicationGroupId(String replicationGroupId)
The id of the replication group from which you want to remove 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 from which you want to remove replica nodes.
replicationGroupId
- The id of the replication group from which you want to remove replica nodes.public String getReplicationGroupId()
The id of the replication group from which you want to remove replica nodes.
public DecreaseReplicaCountRequest withReplicationGroupId(String replicationGroupId)
The id of the replication group from which you want to remove replica nodes.
replicationGroupId
- The id of the replication group from which you want to remove replica nodes.public void setNewReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation. For Redis OSS (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis OSS (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
The minimum number of replicas in a shard or replication group is:
Redis OSS (cluster mode disabled)
If Multi-AZ is enabled: 1
If Multi-AZ is not enabled: 0
Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
newReplicaCount
- The number of read replica nodes you want at the completion of this operation. For Redis OSS (cluster mode
disabled) replication groups, this is the number of replica nodes in the replication group. For Redis OSS
(cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication
group's node groups.
The minimum number of replicas in a shard or replication group is:
Redis OSS (cluster mode disabled)
If Multi-AZ is enabled: 1
If Multi-AZ is not enabled: 0
Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
public Integer getNewReplicaCount()
The number of read replica nodes you want at the completion of this operation. For Redis OSS (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis OSS (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
The minimum number of replicas in a shard or replication group is:
Redis OSS (cluster mode disabled)
If Multi-AZ is enabled: 1
If Multi-AZ is not enabled: 0
Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
The minimum number of replicas in a shard or replication group is:
Redis OSS (cluster mode disabled)
If Multi-AZ is enabled: 1
If Multi-AZ is not enabled: 0
Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
public DecreaseReplicaCountRequest withNewReplicaCount(Integer newReplicaCount)
The number of read replica nodes you want at the completion of this operation. For Redis OSS (cluster mode disabled) replication groups, this is the number of replica nodes in the replication group. For Redis OSS (cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication group's node groups.
The minimum number of replicas in a shard or replication group is:
Redis OSS (cluster mode disabled)
If Multi-AZ is enabled: 1
If Multi-AZ is not enabled: 0
Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
newReplicaCount
- The number of read replica nodes you want at the completion of this operation. For Redis OSS (cluster mode
disabled) replication groups, this is the number of replica nodes in the replication group. For Redis OSS
(cluster mode enabled) replication groups, this is the number of replica nodes in each of the replication
group's node groups.
The minimum number of replicas in a shard or replication group is:
Redis OSS (cluster mode disabled)
If Multi-AZ is enabled: 1
If Multi-AZ is not enabled: 0
Redis OSS (cluster mode enabled): 0 (though you will not be able to failover to a replica if your primary node fails)
public List<ConfigureShard> getReplicaConfiguration()
A list of ConfigureShard
objects that can be used to configure each shard in a Redis OSS (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 OSS
(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 OSS (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 OSS
(cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.public DecreaseReplicaCountRequest withReplicaConfiguration(ConfigureShard... replicaConfiguration)
A list of ConfigureShard
objects that can be used to configure each shard in a Redis OSS (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 OSS
(cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.public DecreaseReplicaCountRequest withReplicaConfiguration(Collection<ConfigureShard> replicaConfiguration)
A list of ConfigureShard
objects that can be used to configure each shard in a Redis OSS (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 OSS
(cluster mode enabled) replication group. The ConfigureShard
has three members:
NewReplicaCount
, NodeGroupId
, and PreferredAvailabilityZones
.public List<String> getReplicasToRemove()
A list of the node ids to remove from the replication group or node group (shard).
public void setReplicasToRemove(Collection<String> replicasToRemove)
A list of the node ids to remove from the replication group or node group (shard).
replicasToRemove
- A list of the node ids to remove from the replication group or node group (shard).public DecreaseReplicaCountRequest withReplicasToRemove(String... replicasToRemove)
A list of the node ids to remove from the replication group or node group (shard).
NOTE: This method appends the values to the existing list (if any). Use
setReplicasToRemove(java.util.Collection)
or withReplicasToRemove(java.util.Collection)
if you
want to override the existing values.
replicasToRemove
- A list of the node ids to remove from the replication group or node group (shard).public DecreaseReplicaCountRequest withReplicasToRemove(Collection<String> replicasToRemove)
A list of the node ids to remove from the replication group or node group (shard).
replicasToRemove
- A list of the node ids to remove from the replication group or node group (shard).public void setApplyImmediately(Boolean applyImmediately)
If True
, the number of replica nodes is decreased immediately. ApplyImmediately=False
is not currently supported.
applyImmediately
- If True
, the number of replica nodes is decreased immediately.
ApplyImmediately=False
is not currently supported.public Boolean getApplyImmediately()
If True
, the number of replica nodes is decreased immediately. ApplyImmediately=False
is not currently supported.
True
, the number of replica nodes is decreased immediately.
ApplyImmediately=False
is not currently supported.public DecreaseReplicaCountRequest withApplyImmediately(Boolean applyImmediately)
If True
, the number of replica nodes is decreased immediately. ApplyImmediately=False
is not currently supported.
applyImmediately
- If True
, the number of replica nodes is decreased immediately.
ApplyImmediately=False
is not currently supported.public Boolean isApplyImmediately()
If True
, the number of replica nodes is decreased immediately. ApplyImmediately=False
is not currently supported.
True
, the number of replica nodes is decreased immediately.
ApplyImmediately=False
is not currently supported.public String toString()
toString
in class Object
Object.toString()
public DecreaseReplicaCountRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()