Interface DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder,,DecreaseNodeGroupsInGlobalReplicationGroupRequest> ElastiCacheRequest.Builder,SdkBuilder<DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder,,DecreaseNodeGroupsInGlobalReplicationGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DecreaseNodeGroupsInGlobalReplicationGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplyImmediately(Boolean applyImmediately) Indicates that the shard reconfiguration process begins immediately.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(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.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(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.globalReplicationGroupId(String globalReplicationGroupId) The name of the Global datastorenodeGroupCount(Integer nodeGroupCount) The number of node groups (shards) that results from the modification of the shard configurationoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 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 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 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 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 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 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 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 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-