Class MaxThroughputProps.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.MaxThroughputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MaxThroughputProps>
- Enclosing interface:
MaxThroughputProps
@Stability(Stable)
public static final class MaxThroughputProps.Builder
extends Object
implements software.amazon.jsii.Builder<MaxThroughputProps>
A builder for
MaxThroughputProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxReadRequestUnits
(Number maxReadRequestUnits) Sets the value ofMaxThroughputProps.getMaxReadRequestUnits()
maxWriteRequestUnits
(Number maxWriteRequestUnits) Sets the value ofMaxThroughputProps.getMaxWriteRequestUnits()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxReadRequestUnits
@Stability(Stable) public MaxThroughputProps.Builder maxReadRequestUnits(Number maxReadRequestUnits) Sets the value ofMaxThroughputProps.getMaxReadRequestUnits()
- Parameters:
maxReadRequestUnits
- The max read request units.- Returns:
this
-
maxWriteRequestUnits
@Stability(Stable) public MaxThroughputProps.Builder maxWriteRequestUnits(Number maxWriteRequestUnits) Sets the value ofMaxThroughputProps.getMaxWriteRequestUnits()
- Parameters:
maxWriteRequestUnits
- The max write request units.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MaxThroughputProps>
- Returns:
- a new instance of
MaxThroughputProps
- Throws:
NullPointerException
- if any required attribute was not provided
-