Interface UpdateStreamRecordDistributionStrategyRequest.Builder

  • Method Details

    • streamARN

      The Amazon Resource Name (ARN) of the stream to update.

      Parameters:
      streamARN - The Amazon Resource Name (ARN) of the stream to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamId

      Not Implemented. Reserved for future use.

      Parameters:
      streamId - Not Implemented. Reserved for future use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordDistributionStrategy

      UpdateStreamRecordDistributionStrategyRequest.Builder recordDistributionStrategy(String recordDistributionStrategy)

      The record distribution strategy to apply to the stream. Specify one of the following values:

      • AUTO – Amazon Kinesis Data Streams distributes records evenly across shards and ignores any partition key and ExplicitHashKey that producers supply.

      • USER_PARTITION_KEY – Producers must supply a partition key, which Amazon Kinesis Data Streams uses to determine shard placement. This is the default.

      Parameters:
      recordDistributionStrategy - The record distribution strategy to apply to the stream. Specify one of the following values:

      • AUTO – Amazon Kinesis Data Streams distributes records evenly across shards and ignores any partition key and ExplicitHashKey that producers supply.

      • USER_PARTITION_KEY – Producers must supply a partition key, which Amazon Kinesis Data Streams uses to determine shard placement. This is the default.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordDistributionStrategy

      UpdateStreamRecordDistributionStrategyRequest.Builder recordDistributionStrategy(RecordDistributionStrategy recordDistributionStrategy)

      The record distribution strategy to apply to the stream. Specify one of the following values:

      • AUTO – Amazon Kinesis Data Streams distributes records evenly across shards and ignores any partition key and ExplicitHashKey that producers supply.

      • USER_PARTITION_KEY – Producers must supply a partition key, which Amazon Kinesis Data Streams uses to determine shard placement. This is the default.

      Parameters:
      recordDistributionStrategy - The record distribution strategy to apply to the stream. Specify one of the following values:

      • AUTO – Amazon Kinesis Data Streams distributes records evenly across shards and ignores any partition key and ExplicitHashKey that producers supply.

      • USER_PARTITION_KEY – Producers must supply a partition key, which Amazon Kinesis Data Streams uses to determine shard placement. This is the default.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.