Class CfnTablePropsMixin.ReplicaSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cassandra.CfnTablePropsMixin.ReplicaSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.ReplicaSpecificationProperty>
- Enclosing interface:
CfnTablePropsMixin.ReplicaSpecificationProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.ReplicaSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.ReplicaSpecificationProperty>
A builder for
CfnTablePropsMixin.ReplicaSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.readCapacityAutoScaling(CfnTablePropsMixin.AutoScalingSettingProperty readCapacityAutoScaling) readCapacityAutoScaling(IResolvable readCapacityAutoScaling) readCapacityUnits(Number readCapacityUnits) Sets the value ofCfnTablePropsMixin.ReplicaSpecificationProperty.getReadCapacityUnits()Sets the value ofCfnTablePropsMixin.ReplicaSpecificationProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readCapacityAutoScaling
@Stability(Stable) public CfnTablePropsMixin.ReplicaSpecificationProperty.Builder readCapacityAutoScaling(IResolvable readCapacityAutoScaling) - Parameters:
readCapacityAutoScaling- The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.- Returns:
this
-
readCapacityAutoScaling
@Stability(Stable) public CfnTablePropsMixin.ReplicaSpecificationProperty.Builder readCapacityAutoScaling(CfnTablePropsMixin.AutoScalingSettingProperty readCapacityAutoScaling) - Parameters:
readCapacityAutoScaling- The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.- Returns:
this
-
readCapacityUnits
@Stability(Stable) public CfnTablePropsMixin.ReplicaSpecificationProperty.Builder readCapacityUnits(Number readCapacityUnits) Sets the value ofCfnTablePropsMixin.ReplicaSpecificationProperty.getReadCapacityUnits()- Parameters:
readCapacityUnits- The provisioned read capacity units for the multi-Region table in the specified AWS Region.- Returns:
this
-
region
@Stability(Stable) public CfnTablePropsMixin.ReplicaSpecificationProperty.Builder region(String region) Sets the value ofCfnTablePropsMixin.ReplicaSpecificationProperty.getRegion()- Parameters:
region- The AWS Region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.ReplicaSpecificationProperty>- Returns:
- a new instance of
CfnTablePropsMixin.ReplicaSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-