Class CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalTable.ReadProvisionedThroughputSettingsProperty>
- Enclosing interface:
- CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
@Stability(Stable)
public static final class CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalTable.ReadProvisionedThroughputSettingsProperty>
A builder for
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.readCapacityAutoScalingSettings
(IResolvable readCapacityAutoScalingSettings) readCapacityAutoScalingSettings
(CfnGlobalTable.CapacityAutoScalingSettingsProperty readCapacityAutoScalingSettings) readCapacityUnits
(Number readCapacityUnits)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
readCapacityAutoScalingSettings
@Stability(Stable) public CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder readCapacityAutoScalingSettings(IResolvable readCapacityAutoScalingSettings) Sets the value ofCfnGlobalTable.ReadProvisionedThroughputSettingsProperty.getReadCapacityAutoScalingSettings()
- Parameters:
readCapacityAutoScalingSettings
- Specifies auto scaling settings for the replica table or global secondary index.- Returns:
this
-
readCapacityAutoScalingSettings
@Stability(Stable) public CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder readCapacityAutoScalingSettings(CfnGlobalTable.CapacityAutoScalingSettingsProperty readCapacityAutoScalingSettings) Sets the value ofCfnGlobalTable.ReadProvisionedThroughputSettingsProperty.getReadCapacityAutoScalingSettings()
- Parameters:
readCapacityAutoScalingSettings
- Specifies auto scaling settings for the replica table or global secondary index.- Returns:
this
-
readCapacityUnits
@Stability(Stable) public CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.Builder readCapacityUnits(Number readCapacityUnits) - Parameters:
readCapacityUnits
- Specifies a fixed read capacity for the replica table or global secondary index.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGlobalTable.ReadProvisionedThroughputSettingsProperty>
- Returns:
- a new instance of
CfnGlobalTable.ReadProvisionedThroughputSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-