Class CfnTablePropsMixin.WarmThroughputProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnTablePropsMixin.WarmThroughputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.WarmThroughputProperty>
- Enclosing interface:
CfnTablePropsMixin.WarmThroughputProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.WarmThroughputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.WarmThroughputProperty>
A builder for
CfnTablePropsMixin.WarmThroughputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.readUnitsPerSecond(Number readUnitsPerSecond) Sets the value ofCfnTablePropsMixin.WarmThroughputProperty.getReadUnitsPerSecond()writeUnitsPerSecond(Number writeUnitsPerSecond) Sets the value ofCfnTablePropsMixin.WarmThroughputProperty.getWriteUnitsPerSecond()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readUnitsPerSecond
@Stability(Stable) public CfnTablePropsMixin.WarmThroughputProperty.Builder readUnitsPerSecond(Number readUnitsPerSecond) Sets the value ofCfnTablePropsMixin.WarmThroughputProperty.getReadUnitsPerSecond()- Parameters:
readUnitsPerSecond- the value to be set.- Returns:
this
-
writeUnitsPerSecond
@Stability(Stable) public CfnTablePropsMixin.WarmThroughputProperty.Builder writeUnitsPerSecond(Number writeUnitsPerSecond) Sets the value ofCfnTablePropsMixin.WarmThroughputProperty.getWriteUnitsPerSecond()- Parameters:
writeUnitsPerSecond- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.WarmThroughputProperty>- Returns:
- a new instance of
CfnTablePropsMixin.WarmThroughputProperty - Throws:
NullPointerException- if any required attribute was not provided
-