Class SplitShardRequest

    • Method Detail

      • streamName

        public final String streamName()

        The name of the stream for the shard split.

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

        public final String shardToSplit()

        The shard ID of the shard to split.

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

        public final 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.

        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.
      • streamARN

        public final String streamARN()

        The ARN of the stream.

        Returns:
        The ARN of the stream.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object