Interface UpdateStreamWarmThroughputResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateStreamWarmThroughputResponse.Builder,,UpdateStreamWarmThroughputResponse> KinesisResponse.Builder,SdkBuilder<UpdateStreamWarmThroughputResponse.Builder,,UpdateStreamWarmThroughputResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateStreamWarmThroughputResponse
@Mutable
@NotThreadSafe
public static interface UpdateStreamWarmThroughputResponse.Builder
extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<UpdateStreamWarmThroughputResponse.Builder,UpdateStreamWarmThroughputResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the stream that was updated.streamName(String streamName) The name of the stream that was updated.warmThroughput(Consumer<WarmThroughputObject.Builder> warmThroughput) Specifies the updated warm throughput configuration for your data stream.warmThroughput(WarmThroughputObject warmThroughput) Specifies the updated warm throughput configuration for your data stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
streamARN
The ARN of the stream that was updated.
- Parameters:
streamARN- The ARN of the stream that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamName
The name of the stream that was updated.
- Parameters:
streamName- The name of the stream that was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmThroughput
Specifies the updated warm throughput configuration for your data stream.
- Parameters:
warmThroughput- Specifies the updated warm throughput configuration for your data stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmThroughput
default UpdateStreamWarmThroughputResponse.Builder warmThroughput(Consumer<WarmThroughputObject.Builder> warmThroughput) Specifies the updated warm throughput configuration for your data stream.
This is a convenience method that creates an instance of theWarmThroughputObject.Builderavoiding the need to create one manually viaWarmThroughputObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarmThroughput(WarmThroughputObject).- Parameters:
warmThroughput- a consumer that will call methods onWarmThroughputObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-