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