Class WarmThroughput.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.WarmThroughput.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WarmThroughput>
- Enclosing interface:
WarmThroughput
@Stability(Stable)
public static final class WarmThroughput.Builder
extends Object
implements software.amazon.jsii.Builder<WarmThroughput>
A builder for
WarmThroughput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.readUnitsPerSecond
(Number readUnitsPerSecond) Sets the value ofWarmThroughput.getReadUnitsPerSecond()
writeUnitsPerSecond
(Number writeUnitsPerSecond) Sets the value ofWarmThroughput.getWriteUnitsPerSecond()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readUnitsPerSecond
Sets the value ofWarmThroughput.getReadUnitsPerSecond()
- Parameters:
readUnitsPerSecond
- Configures the number of read units per second a table will be able to handle instantly.- Returns:
this
-
writeUnitsPerSecond
Sets the value ofWarmThroughput.getWriteUnitsPerSecond()
- Parameters:
writeUnitsPerSecond
- Configures the number of write units per second a table will be able to handle instantly.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WarmThroughput>
- Returns:
- a new instance of
WarmThroughput
- Throws:
NullPointerException
- if any required attribute was not provided
-