Interface DecreaseNodeGroupsInGlobalReplicationGroupRequest.Builder

    • 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.