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 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 for Redis 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 for Redis 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 for Redis 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 for Redis 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 for Redis 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 for Redis 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 for Redis 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 for Redis 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

      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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.