Interface ChildShard.Builder

    • Method Detail

      • shardId

        ChildShard.Builder shardId​(String shardId)

        The shard ID of the existing child shard of the current shard.

        Parameters:
        shardId - The shard ID of the existing child shard of the current shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentShards

        ChildShard.Builder parentShards​(Collection<String> parentShards)

        The current shard that is the parent of the existing child shard.

        Parameters:
        parentShards - The current shard that is the parent of the existing child shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentShards

        ChildShard.Builder parentShards​(String... parentShards)

        The current shard that is the parent of the existing child shard.

        Parameters:
        parentShards - The current shard that is the parent of the existing child shard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hashKeyRange

        ChildShard.Builder hashKeyRange​(HashKeyRange hashKeyRange)
        Sets the value of the HashKeyRange property for this object.
        Parameters:
        hashKeyRange - The new value for the HashKeyRange property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.