@Stability(value=Stable) public static final class CfnAlarm.MetricStatProperty.Builder extends Object
CfnAlarm.MetricStatProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarm.MetricStatProperty |
build()
Builds the configured instance.
|
CfnAlarm.MetricStatProperty.Builder |
withMetric(CfnAlarm.MetricProperty value)
Sets the value of Metric
|
CfnAlarm.MetricStatProperty.Builder |
withMetric(software.amazon.awscdk.core.IResolvable value)
Sets the value of Metric
|
CfnAlarm.MetricStatProperty.Builder |
withPeriod(Number value)
Sets the value of Period
|
CfnAlarm.MetricStatProperty.Builder |
withStat(String value)
Sets the value of Stat
|
CfnAlarm.MetricStatProperty.Builder |
withUnit(String value)
Sets the value of Unit
|
@Stability(value=Stable) public CfnAlarm.MetricStatProperty.Builder withMetric(software.amazon.awscdk.core.IResolvable value)
value - `CfnAlarm.MetricStatProperty.Metric`.this@Stability(value=Stable) public CfnAlarm.MetricStatProperty.Builder withMetric(CfnAlarm.MetricProperty value)
value - `CfnAlarm.MetricStatProperty.Metric`.this@Stability(value=Stable) public CfnAlarm.MetricStatProperty.Builder withPeriod(Number value)
value - `CfnAlarm.MetricStatProperty.Period`.this@Stability(value=Stable) public CfnAlarm.MetricStatProperty.Builder withStat(String value)
value - `CfnAlarm.MetricStatProperty.Stat`.this@Stability(value=Stable) public CfnAlarm.MetricStatProperty.Builder withUnit(@Nullable String value)
value - `CfnAlarm.MetricStatProperty.Unit`.this@Stability(value=Stable) public CfnAlarm.MetricStatProperty build()
CfnAlarm.MetricStatPropertyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.