Class CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.applicationautoscaling.CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty>
- Enclosing interface:
CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty
@Stability(Stable)
public static final class CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensions(List<? extends Object> dimensions) dimensions(IResolvable dimensions) metricName(String metricName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensions
@Stability(Stable) public CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder dimensions(IResolvable dimensions) - Parameters:
dimensions- Describes the dimensions of the metric.- Returns:
this
-
dimensions
@Stability(Stable) public CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder dimensions(List<? extends Object> dimensions) - Parameters:
dimensions- Describes the dimensions of the metric.- Returns:
this
-
metricName
@Stability(Stable) public CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder metricName(String metricName) - Parameters:
metricName- The name of the metric.- Returns:
this
-
namespace
@Stability(Stable) public CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty.Builder namespace(String namespace) - Parameters:
namespace- The namespace of the metric.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty>- Returns:
- a new instance of
CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty - Throws:
NullPointerException- if any required attribute was not provided
-