Class SplitShardRequest

    • Constructor Detail

      • SplitShardRequest

        public SplitShardRequest()
    • Method Detail

      • setStreamName

        public void setStreamName​(String streamName)

        The name of the stream for the shard split.

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

        public String getStreamName()

        The name of the stream for the shard split.

        Returns:
        The name of the stream for the shard split.
      • withStreamName

        public SplitShardRequest withStreamName​(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.
      • setShardToSplit

        public void setShardToSplit​(String shardToSplit)

        The shard ID of the shard to split.

        Parameters:
        shardToSplit - The shard ID of the shard to split.
      • getShardToSplit

        public String getShardToSplit()

        The shard ID of the shard to split.

        Returns:
        The shard ID of the shard to split.
      • withShardToSplit

        public SplitShardRequest withShardToSplit​(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.
      • setNewStartingHashKey

        public void setNewStartingHashKey​(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.
      • getNewStartingHashKey

        public String getNewStartingHashKey()

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

        public SplitShardRequest withNewStartingHashKey​(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.
      • 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