@Stability(value=Stable) public static final class CfnAlarm.MetricProperty.Builder extends Object
CfnAlarm.MetricProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarm.MetricProperty |
build()
Builds the configured instance.
|
CfnAlarm.MetricProperty.Builder |
withDimensions(software.amazon.awscdk.core.IResolvable value)
Sets the value of Dimensions
|
CfnAlarm.MetricProperty.Builder |
withDimensions(List<Object> value)
Sets the value of Dimensions
|
CfnAlarm.MetricProperty.Builder |
withMetricName(String value)
Sets the value of MetricName
|
CfnAlarm.MetricProperty.Builder |
withNamespace(String value)
Sets the value of Namespace
|
@Stability(value=Stable) public CfnAlarm.MetricProperty.Builder withDimensions(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `CfnAlarm.MetricProperty.Dimensions`.this@Stability(value=Stable) public CfnAlarm.MetricProperty.Builder withDimensions(@Nullable List<Object> value)
value - `CfnAlarm.MetricProperty.Dimensions`.this@Stability(value=Stable) public CfnAlarm.MetricProperty.Builder withMetricName(@Nullable String value)
value - `CfnAlarm.MetricProperty.MetricName`.this@Stability(value=Stable) public CfnAlarm.MetricProperty.Builder withNamespace(@Nullable String value)
value - `CfnAlarm.MetricProperty.Namespace`.this@Stability(value=Stable) public CfnAlarm.MetricProperty build()
CfnAlarm.MetricPropertyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.