Interface UpdateStreamRecordDistributionStrategyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStreamRecordDistributionStrategyRequest.Builder,,UpdateStreamRecordDistributionStrategyRequest> KinesisRequest.Builder,SdkBuilder<UpdateStreamRecordDistributionStrategyRequest.Builder,,UpdateStreamRecordDistributionStrategyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateStreamRecordDistributionStrategyRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recordDistributionStrategy(String recordDistributionStrategy) The record distribution strategy to apply to the stream.recordDistributionStrategy(RecordDistributionStrategy recordDistributionStrategy) The record distribution strategy to apply to the stream.The Amazon Resource Name (ARN) of the stream to update.Not Implemented.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 andExplicitHashKeythat 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 andExplicitHashKeythat 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 andExplicitHashKeythat 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 andExplicitHashKeythat 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
UpdateStreamRecordDistributionStrategyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateStreamRecordDistributionStrategyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-