Interface DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder,DecreaseNodeGroupsInGlobalReplicationGroupRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder,DecreaseNodeGroupsInGlobalReplicationGroupRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DecreaseNodeGroupsInGlobalReplicationGroupRequest
public static interface DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder,DecreaseNodeGroupsInGlobalReplicationGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
applyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately.DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
globalNodeGroupsToRemove(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.Builder
globalNodeGroupsToRemove(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.Builder
globalNodeGroupsToRetain(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.Builder
globalNodeGroupsToRetain(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.Builder
globalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastoreDecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
nodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configurationDecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
globalReplicationGroupId
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder globalReplicationGroupId(String globalReplicationGroupId)
The name of the Global datastore
- Parameters:
globalReplicationGroupId
- The name of the Global datastore- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeGroupCount
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder nodeGroupCount(Integer nodeGroupCount)
The number of node groups (shards) that results from the modification of the shard configuration
- Parameters:
nodeGroupCount
- The number of node groups (shards) that results from the modification of the shard configuration- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroupsToRemove
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder globalNodeGroupsToRemove(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroupsToRemove
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder globalNodeGroupsToRemove(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroupsToRetain
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder globalNodeGroupsToRetain(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNodeGroupsToRetain
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder globalNodeGroupsToRetain(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applyImmediately
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder applyImmediately(Boolean applyImmediately)
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
- Parameters:
applyImmediately
- Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-