Class CfnTable.WarmThroughputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnTable.WarmThroughputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.WarmThroughputProperty>
- Enclosing interface:
CfnTable.WarmThroughputProperty
@Stability(Stable)
public static final class CfnTable.WarmThroughputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.WarmThroughputProperty>
A builder for
CfnTable.WarmThroughputProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.readUnitsPerSecond
(Number readUnitsPerSecond) Sets the value ofCfnTable.WarmThroughputProperty.getReadUnitsPerSecond()
writeUnitsPerSecond
(Number writeUnitsPerSecond) Sets the value ofCfnTable.WarmThroughputProperty.getWriteUnitsPerSecond()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readUnitsPerSecond
@Stability(Stable) public CfnTable.WarmThroughputProperty.Builder readUnitsPerSecond(Number readUnitsPerSecond) Sets the value ofCfnTable.WarmThroughputProperty.getReadUnitsPerSecond()
- Parameters:
readUnitsPerSecond
- Represents the number of read operations your base table can instantaneously support.- Returns:
this
-
writeUnitsPerSecond
@Stability(Stable) public CfnTable.WarmThroughputProperty.Builder writeUnitsPerSecond(Number writeUnitsPerSecond) Sets the value ofCfnTable.WarmThroughputProperty.getWriteUnitsPerSecond()
- Parameters:
writeUnitsPerSecond
- Represents the number of write operations your base table can instantaneously support.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.WarmThroughputProperty>
- Returns:
- a new instance of
CfnTable.WarmThroughputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-