Interface Shard.Builder

    • Method Detail

      • shardId

        Shard.Builder shardId​(String shardId)

        The unique identifier of the shard within the stream.

        Parameters:
        shardId - The unique identifier of the shard within the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentShardId

        Shard.Builder parentShardId​(String parentShardId)

        The shard ID of the shard's parent.

        Parameters:
        parentShardId - The shard ID of the shard's parent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • adjacentParentShardId

        Shard.Builder adjacentParentShardId​(String adjacentParentShardId)

        The shard ID of the shard adjacent to the shard's parent.

        Parameters:
        adjacentParentShardId - The shard ID of the shard adjacent to the shard's parent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hashKeyRange

        Shard.Builder hashKeyRange​(HashKeyRange hashKeyRange)

        The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.

        Parameters:
        hashKeyRange - The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sequenceNumberRange

        Shard.Builder sequenceNumberRange​(SequenceNumberRange sequenceNumberRange)

        The range of possible sequence numbers for the shard.

        Parameters:
        sequenceNumberRange - The range of possible sequence numbers for the shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.