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