Interface SplitShardRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>, KinesisRequest.Builder, SdkBuilder<SplitShardRequest.Builder,SplitShardRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
SplitShardRequest

public static interface SplitShardRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<SplitShardRequest.Builder,SplitShardRequest>
  • Method Details

    • streamName

      SplitShardRequest.Builder streamName(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.
    • shardToSplit

      SplitShardRequest.Builder shardToSplit(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.
    • newStartingHashKey

      SplitShardRequest.Builder newStartingHashKey(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.
    • streamARN

      SplitShardRequest.Builder streamARN(String streamARN)

      The ARN of the stream.

      Parameters:
      streamARN - The ARN of the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SplitShardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.