@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DecreaseNodeGroupsInGlobalReplicationGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DecreaseNodeGroupsInGlobalReplicationGroupRequest() |
Modifier and Type | Method and Description |
---|---|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
Indicates that the shard reconfiguration process begins immediately.
|
List<String> |
getGlobalNodeGroupsToRemove()
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
List<String> |
getGlobalNodeGroupsToRetain()
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
String |
getGlobalReplicationGroupId()
The name of the Global datastore
|
Integer |
getNodeGroupCount()
The number of node groups (shards) that results from the modification of the shard configuration
|
int |
hashCode() |
Boolean |
isApplyImmediately()
Indicates that the shard reconfiguration process begins immediately.
|
void |
setApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately.
|
void |
setGlobalNodeGroupsToRemove(Collection<String> globalNodeGroupsToRemove)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
void |
setGlobalNodeGroupsToRetain(Collection<String> globalNodeGroupsToRetain)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
void |
setGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastore
|
void |
setNodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration
|
String |
toString()
Returns a string representation of this object.
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately.
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withGlobalNodeGroupsToRemove(Collection<String> globalNodeGroupsToRemove)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withGlobalNodeGroupsToRemove(String... globalNodeGroupsToRemove)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withGlobalNodeGroupsToRetain(Collection<String> globalNodeGroupsToRetain)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withGlobalNodeGroupsToRetain(String... globalNodeGroupsToRetain)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required.
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastore
|
DecreaseNodeGroupsInGlobalReplicationGroupRequest |
withNodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration
|
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 DecreaseNodeGroupsInGlobalReplicationGroupRequest()
public void setGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastore
globalReplicationGroupId
- The name of the Global datastorepublic String getGlobalReplicationGroupId()
The name of the Global datastore
public DecreaseNodeGroupsInGlobalReplicationGroupRequest withGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastore
globalReplicationGroupId
- The name of the Global datastorepublic void setNodeGroupCount(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 configurationpublic Integer getNodeGroupCount()
The number of node groups (shards) that results from the modification of the shard configuration
public DecreaseNodeGroupsInGlobalReplicationGroupRequest withNodeGroupCount(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 configurationpublic List<String> getGlobalNodeGroupsToRemove()
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.
public void setGlobalNodeGroupsToRemove(Collection<String> globalNodeGroupsToRemove)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.
globalNodeGroupsToRemove
- If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds
to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by
GlobalNodeGroupsToRemove from the cluster.public DecreaseNodeGroupsInGlobalReplicationGroupRequest withGlobalNodeGroupsToRemove(String... globalNodeGroupsToRemove)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalNodeGroupsToRemove(java.util.Collection)
or
withGlobalNodeGroupsToRemove(java.util.Collection)
if you want to override the existing values.
globalNodeGroupsToRemove
- If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds
to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by
GlobalNodeGroupsToRemove from the cluster.public DecreaseNodeGroupsInGlobalReplicationGroupRequest withGlobalNodeGroupsToRemove(Collection<String> globalNodeGroupsToRemove)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.
globalNodeGroupsToRemove
- If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds
to remove from the cluster. ElastiCache (Redis OSS) will attempt to remove all node groups listed by
GlobalNodeGroupsToRemove from the cluster.public List<String> getGlobalNodeGroupsToRetain()
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.
public void setGlobalNodeGroupsToRetain(Collection<String> globalNodeGroupsToRetain)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.
globalNodeGroupsToRetain
- If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds
to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by
GlobalNodeGroupsToRetain from the cluster.public DecreaseNodeGroupsInGlobalReplicationGroupRequest withGlobalNodeGroupsToRetain(String... globalNodeGroupsToRetain)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalNodeGroupsToRetain(java.util.Collection)
or
withGlobalNodeGroupsToRetain(java.util.Collection)
if you want to override the existing values.
globalNodeGroupsToRetain
- If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds
to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by
GlobalNodeGroupsToRetain from the cluster.public DecreaseNodeGroupsInGlobalReplicationGroupRequest withGlobalNodeGroupsToRetain(Collection<String> globalNodeGroupsToRetain)
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.
globalNodeGroupsToRetain
- If the value of NodeGroupCount is less than the current number of node groups (shards), then either
NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds
to retain from the cluster. ElastiCache (Redis OSS) will attempt to retain all node groups listed by
GlobalNodeGroupsToRetain from the cluster.public void setApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
applyImmediately
- Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value
for this parameter is true.public Boolean getApplyImmediately()
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
public DecreaseNodeGroupsInGlobalReplicationGroupRequest withApplyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
applyImmediately
- Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value
for this parameter is true.public Boolean isApplyImmediately()
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
public String toString()
toString
in class Object
Object.toString()
public DecreaseNodeGroupsInGlobalReplicationGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()