@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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to
remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by
NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to
remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by
NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to
remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by
NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to
remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by
NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to
remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by
NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by NodeGroupsToRemove 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. NodeGroupsToRemove is a list of NodeGroupIds to
remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by
NodeGroupsToRemove 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()