Interface UpdateStreamModeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStreamModeRequest.Builder,,UpdateStreamModeRequest> KinesisRequest.Builder,SdkBuilder<UpdateStreamModeRequest.Builder,,UpdateStreamModeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateStreamModeRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the ARN of the data stream whose capacity mode you want to update.default UpdateStreamModeRequest.BuilderstreamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails) Specifies the capacity mode to which you want to set your data stream.streamModeDetails(StreamModeDetails streamModeDetails) Specifies the capacity mode to which you want to set your data stream.warmThroughputMiBps(Integer warmThroughputMiBps) The target warm throughput in MB/s that the stream should be scaled to handle.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
Specifies the ARN of the data stream whose capacity mode you want to update.
- Parameters:
streamARN- Specifies the ARN of the data stream whose capacity mode you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamModeDetails
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
- Parameters:
streamModeDetails- Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamModeDetails
default UpdateStreamModeRequest.Builder streamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails) Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
This is a convenience method that creates an instance of theStreamModeDetails.Builderavoiding the need to create one manually viaStreamModeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamModeDetails(StreamModeDetails).- Parameters:
streamModeDetails- a consumer that will call methods onStreamModeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmThroughputMiBps
The target warm throughput in MB/s that the stream should be scaled to handle. This represents the throughput capacity that will be immediately available for write operations. This field is only valid when the stream mode is being updated to on-demand.
- Parameters:
warmThroughputMiBps- The target warm throughput in MB/s that the stream should be scaled to handle. This represents the throughput capacity that will be immediately available for write operations. This field is only valid when the stream mode is being updated to on-demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateStreamModeRequest.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
UpdateStreamModeRequest.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.
-