@Stability(value=Stable) public static final class CfnAlarm.DimensionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAlarm.DimensionProperty>
CfnAlarm.DimensionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarm.DimensionProperty |
build()
Builds the configured instance.
|
CfnAlarm.DimensionProperty.Builder |
name(String name)
Sets the value of
CfnAlarm.DimensionProperty.getName() |
CfnAlarm.DimensionProperty.Builder |
value(String value)
Sets the value of
CfnAlarm.DimensionProperty.getValue() |
@Stability(value=Stable) public CfnAlarm.DimensionProperty.Builder name(String name)
CfnAlarm.DimensionProperty.getName()name - The name of the dimension, from 1–255 characters in length. This parameter is required.
This dimension name must have been included when the metric was published.this@Stability(value=Stable) public CfnAlarm.DimensionProperty.Builder value(String value)
CfnAlarm.DimensionProperty.getValue()value - The value for the dimension, from 1–255 characters in length. This parameter is required.this@Stability(value=Stable) public CfnAlarm.DimensionProperty build()
build in interface software.amazon.jsii.Builder<CfnAlarm.DimensionProperty>CfnAlarm.DimensionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.