@Stability(value=Stable) public static final class CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnScalingPlan.CustomizedLoadMetricSpecificationProperty>
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder metricName(String metricName)
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.getMetricName()metricName - The name of the metric. This parameter is required.this@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder namespace(String namespace)
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.getNamespace()namespace - The namespace of the metric. This parameter is required.this@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder statistic(String statistic)
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.getStatistic()statistic - The statistic of the metric. This parameter is required.
Allowed Values : Sumthis@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder dimensions(IResolvable dimensions)
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.getDimensions()dimensions - The dimensions of the metric.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.this@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder dimensions(List<? extends Object> dimensions)
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.getDimensions()dimensions - The dimensions of the metric.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized load metric specification.this@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.Builder unit(String unit)
CfnScalingPlan.CustomizedLoadMetricSpecificationProperty.getUnit()unit - The unit of the metric.this@Stability(value=Stable) public CfnScalingPlan.CustomizedLoadMetricSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnScalingPlan.CustomizedLoadMetricSpecificationProperty>CfnScalingPlan.CustomizedLoadMetricSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.