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