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