Class CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Builder
java.lang.Object
software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty>
- Enclosing interface:
CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty
@Stability(Stable)
public static final class CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty>
-
Constructor Summary
-
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.PredictiveScalingCustomizedLoadMetricProperty.Builder metricDataQueries(IResolvable metricDataQueries) Sets the value ofCfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.getMetricDataQueries()
- Parameters:
metricDataQueries
- One or more metric data queries to provide the data points for a load 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.PredictiveScalingCustomizedLoadMetricProperty.Builder metricDataQueries(List<? extends Object> metricDataQueries) Sets the value ofCfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty.getMetricDataQueries()
- Parameters:
metricDataQueries
- One or more metric data queries to provide the data points for a load 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty>
- Returns:
- a new instance of
CfnScalingPolicy.PredictiveScalingCustomizedLoadMetricProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-