Class CfnTablePropsMixin.ScalingPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cassandra.CfnTablePropsMixin.ScalingPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.ScalingPolicyProperty>
- Enclosing interface:
CfnTablePropsMixin.ScalingPolicyProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.ScalingPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.ScalingPolicyProperty>
A builder for
CfnTablePropsMixin.ScalingPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.targetTrackingScalingPolicyConfiguration(CfnTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty targetTrackingScalingPolicyConfiguration) targetTrackingScalingPolicyConfiguration(IResolvable targetTrackingScalingPolicyConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetTrackingScalingPolicyConfiguration
@Stability(Stable) public CfnTablePropsMixin.ScalingPolicyProperty.Builder targetTrackingScalingPolicyConfiguration(IResolvable targetTrackingScalingPolicyConfiguration) Sets the value ofCfnTablePropsMixin.ScalingPolicyProperty.getTargetTrackingScalingPolicyConfiguration()- Parameters:
targetTrackingScalingPolicyConfiguration- The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.- Returns:
this
-
targetTrackingScalingPolicyConfiguration
@Stability(Stable) public CfnTablePropsMixin.ScalingPolicyProperty.Builder targetTrackingScalingPolicyConfiguration(CfnTablePropsMixin.TargetTrackingScalingPolicyConfigurationProperty targetTrackingScalingPolicyConfiguration) Sets the value ofCfnTablePropsMixin.ScalingPolicyProperty.getTargetTrackingScalingPolicyConfiguration()- Parameters:
targetTrackingScalingPolicyConfiguration- The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.ScalingPolicyProperty>- Returns:
- a new instance of
CfnTablePropsMixin.ScalingPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-