Class CfnStream.WarmThroughputObjectProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnStream.WarmThroughputObjectProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStream.WarmThroughputObjectProperty>
- Enclosing interface:
CfnStream.WarmThroughputObjectProperty
@Stability(Stable)
public static final class CfnStream.WarmThroughputObjectProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStream.WarmThroughputObjectProperty>
A builder for
CfnStream.WarmThroughputObjectProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.currentMiBps(Number currentMiBps) Sets the value ofCfnStream.WarmThroughputObjectProperty.getCurrentMiBps()targetMiBps(Number targetMiBps) Sets the value ofCfnStream.WarmThroughputObjectProperty.getTargetMiBps()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
currentMiBps
@Stability(Stable) public CfnStream.WarmThroughputObjectProperty.Builder currentMiBps(Number currentMiBps) Sets the value ofCfnStream.WarmThroughputObjectProperty.getCurrentMiBps()- Parameters:
currentMiBps- The current warm throughput value on the stream. This is the write throughput in MiBps that the stream is currently scaled to handle.- Returns:
this
-
targetMiBps
@Stability(Stable) public CfnStream.WarmThroughputObjectProperty.Builder targetMiBps(Number targetMiBps) Sets the value ofCfnStream.WarmThroughputObjectProperty.getTargetMiBps()- Parameters:
targetMiBps- The target warm throughput value on the stream. This indicates that the stream is currently scaling towards this target value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStream.WarmThroughputObjectProperty>- Returns:
- a new instance of
CfnStream.WarmThroughputObjectProperty - Throws:
NullPointerException- if any required attribute was not provided
-