Interface SplitShardRequest.Builder

    • Method Detail

      • streamName

        SplitShardRequest.Builder streamName​(String streamName)

        The name of the stream for the shard split.

        Parameters:
        streamName - The name of the stream for the shard split.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shardToSplit

        SplitShardRequest.Builder shardToSplit​(String shardToSplit)

        The shard ID of the shard to split.

        Parameters:
        shardToSplit - The shard ID of the shard to split.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • newStartingHashKey

        SplitShardRequest.Builder newStartingHashKey​(String newStartingHashKey)

        A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.

        Parameters:
        newStartingHashKey - A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of the child shards. All the lower hash key values in the range are distributed to the other child shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamARN

        SplitShardRequest.Builder streamARN​(String streamARN)

        The ARN of the stream.

        Parameters:
        streamARN - The ARN of the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.