Class CfnScalingPolicy.PredictiveScalingMetricDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingMetricDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingMetricDimensionProperty>
- Enclosing interface:
CfnScalingPolicy.PredictiveScalingMetricDimensionProperty
@Stability(Stable)
public static final class CfnScalingPolicy.PredictiveScalingMetricDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingMetricDimensionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnScalingPolicy.PredictiveScalingMetricDimensionProperty.getName()Sets the value ofCfnScalingPolicy.PredictiveScalingMetricDimensionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnScalingPolicy.PredictiveScalingMetricDimensionProperty.Builder name(String name) Sets the value ofCfnScalingPolicy.PredictiveScalingMetricDimensionProperty.getName()- Parameters:
name- The name of the dimension.- Returns:
this
-
value
@Stability(Stable) public CfnScalingPolicy.PredictiveScalingMetricDimensionProperty.Builder value(String value) Sets the value ofCfnScalingPolicy.PredictiveScalingMetricDimensionProperty.getValue()- Parameters:
value- The value of the dimension.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingMetricDimensionProperty>- Returns:
- a new instance of
CfnScalingPolicy.PredictiveScalingMetricDimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-