@Stability(value=Stable) public static final class CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnScalingPlan.CustomizedScalingMetricSpecificationProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty |
build()
Builds the configured instance.
|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder |
dimensions(IResolvable dimensions)
|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder |
dimensions(List<? extends Object> dimensions)
|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder |
metricName(String metricName)
|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder |
namespace(String namespace)
|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder |
statistic(String statistic)
|
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder |
unit(String unit)
Sets the value of
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.getUnit() |
@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder metricName(String metricName)
metricName - `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.MetricName`. This parameter is required.this@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder namespace(String namespace)
namespace - `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Namespace`. This parameter is required.this@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder statistic(String statistic)
statistic - `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Statistic`. This parameter is required.this@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder dimensions(IResolvable dimensions)
dimensions - `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Dimensions`.this@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder dimensions(List<? extends Object> dimensions)
dimensions - `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Dimensions`.this@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Builder unit(String unit)
CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.getUnit()unit - `CfnScalingPlan.CustomizedScalingMetricSpecificationProperty.Unit`.this@Stability(value=Stable) public CfnScalingPlan.CustomizedScalingMetricSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnScalingPlan.CustomizedScalingMetricSpecificationProperty>CfnScalingPlan.CustomizedScalingMetricSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.