Class CfnTablePropsMixin.ProvisionedThroughputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cassandra.CfnTablePropsMixin.ProvisionedThroughputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.ProvisionedThroughputProperty>
- Enclosing interface:
CfnTablePropsMixin.ProvisionedThroughputProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.ProvisionedThroughputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.ProvisionedThroughputProperty>
A builder for
CfnTablePropsMixin.ProvisionedThroughputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.readCapacityUnits(Number readCapacityUnits) Sets the value ofCfnTablePropsMixin.ProvisionedThroughputProperty.getReadCapacityUnits()writeCapacityUnits(Number writeCapacityUnits) Sets the value ofCfnTablePropsMixin.ProvisionedThroughputProperty.getWriteCapacityUnits()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readCapacityUnits
@Stability(Stable) public CfnTablePropsMixin.ProvisionedThroughputProperty.Builder readCapacityUnits(Number readCapacityUnits) Sets the value ofCfnTablePropsMixin.ProvisionedThroughputProperty.getReadCapacityUnits()- Parameters:
readCapacityUnits- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .- Returns:
this
-
writeCapacityUnits
@Stability(Stable) public CfnTablePropsMixin.ProvisionedThroughputProperty.Builder writeCapacityUnits(Number writeCapacityUnits) Sets the value ofCfnTablePropsMixin.ProvisionedThroughputProperty.getWriteCapacityUnits()- Parameters:
writeCapacityUnits- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.ProvisionedThroughputProperty>- Returns:
- a new instance of
CfnTablePropsMixin.ProvisionedThroughputProperty - Throws:
NullPointerException- if any required attribute was not provided
-