Class CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty>
- Enclosing interface:
CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty
@Stability(Stable)
public static final class CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metricDataQueries(List<? extends Object> metricDataQueries) metricDataQueries(IResolvable metricDataQueries)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metricDataQueries
@Stability(Stable) public CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Builder metricDataQueries(IResolvable metricDataQueries) Sets the value ofCfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.getMetricDataQueries()- Parameters:
metricDataQueries- One or more metric data queries to provide the data points for a scaling metric. This parameter is required. Use multiple metric data queries only if you are performing a math expression on returned data.- Returns:
this
-
metricDataQueries
@Stability(Stable) public CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.Builder metricDataQueries(List<? extends Object> metricDataQueries) Sets the value ofCfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty.getMetricDataQueries()- Parameters:
metricDataQueries- One or more metric data queries to provide the data points for a scaling metric. This parameter is required. Use multiple metric data queries only if you are performing a math expression on returned data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty>- Returns:
- a new instance of
CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty - Throws:
NullPointerException- if any required attribute was not provided
-