Interface UpdateStreamModeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStreamModeRequest.Builder,UpdateStreamModeRequest>,KinesisRequest.Builder,SdkBuilder<UpdateStreamModeRequest.Builder,UpdateStreamModeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateStreamModeRequest
@Mutable @NotThreadSafe public static interface UpdateStreamModeRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<UpdateStreamModeRequest.Builder,UpdateStreamModeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateStreamModeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateStreamModeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateStreamModeRequest.BuilderstreamARN(String streamARN)Specifies the ARN of the data stream whose capacity mode you want to update.UpdateStreamModeRequest.BuilderstreamId(String streamId)Not Implemented.default UpdateStreamModeRequest.BuilderstreamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails)Specifies the capacity mode to which you want to set your data stream.UpdateStreamModeRequest.BuilderstreamModeDetails(StreamModeDetails streamModeDetails)Specifies the capacity mode to which you want to set your data stream.UpdateStreamModeRequest.BuilderwarmThroughputMiBps(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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
streamARN
UpdateStreamModeRequest.Builder streamARN(String 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.
-
streamId
UpdateStreamModeRequest.Builder streamId(String 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.
-
streamModeDetails
UpdateStreamModeRequest.Builder streamModeDetails(StreamModeDetails 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:
streamModeDetails(StreamModeDetails)
-
warmThroughputMiBps
UpdateStreamModeRequest.Builder warmThroughputMiBps(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateStreamModeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-