Class MergeShardsRequest

    • Constructor Detail

      • MergeShardsRequest

        public MergeShardsRequest()
    • Method Detail

      • setStreamName

        public void setStreamName​(String streamName)

        The name of the stream for the merge.

        Parameters:
        streamName - The name of the stream for the merge.
      • getStreamName

        public String getStreamName()

        The name of the stream for the merge.

        Returns:
        The name of the stream for the merge.
      • withStreamName

        public MergeShardsRequest withStreamName​(String streamName)

        The name of the stream for the merge.

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

        public void setShardToMerge​(String shardToMerge)

        The shard ID of the shard to combine with the adjacent shard for the merge.

        Parameters:
        shardToMerge - The shard ID of the shard to combine with the adjacent shard for the merge.
      • getShardToMerge

        public String getShardToMerge()

        The shard ID of the shard to combine with the adjacent shard for the merge.

        Returns:
        The shard ID of the shard to combine with the adjacent shard for the merge.
      • withShardToMerge

        public MergeShardsRequest withShardToMerge​(String shardToMerge)

        The shard ID of the shard to combine with the adjacent shard for the merge.

        Parameters:
        shardToMerge - The shard ID of the shard to combine with the adjacent shard for the merge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAdjacentShardToMerge

        public void setAdjacentShardToMerge​(String adjacentShardToMerge)

        The shard ID of the adjacent shard for the merge.

        Parameters:
        adjacentShardToMerge - The shard ID of the adjacent shard for the merge.
      • getAdjacentShardToMerge

        public String getAdjacentShardToMerge()

        The shard ID of the adjacent shard for the merge.

        Returns:
        The shard ID of the adjacent shard for the merge.
      • withAdjacentShardToMerge

        public MergeShardsRequest withAdjacentShardToMerge​(String adjacentShardToMerge)

        The shard ID of the adjacent shard for the merge.

        Parameters:
        adjacentShardToMerge - The shard ID of the adjacent shard for the merge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object