@Stability(value=Stable) public static final class CfnApplication.AlarmProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication.AlarmProperty>
CfnApplication.AlarmProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApplication.AlarmProperty.Builder |
alarmName(String alarmName)
Sets the value of
CfnApplication.AlarmProperty.getAlarmName() |
CfnApplication.AlarmProperty |
build()
Builds the configured instance.
|
CfnApplication.AlarmProperty.Builder |
severity(String severity)
Sets the value of
CfnApplication.AlarmProperty.getSeverity() |
@Stability(value=Stable) public CfnApplication.AlarmProperty.Builder alarmName(String alarmName)
CfnApplication.AlarmProperty.getAlarmName()alarmName - The name of the CloudWatch alarm to be monitored for the component. This parameter is required.this@Stability(value=Stable) public CfnApplication.AlarmProperty.Builder severity(String severity)
CfnApplication.AlarmProperty.getSeverity()severity - Indicates the degree of outage when the alarm goes off.this@Stability(value=Stable) public CfnApplication.AlarmProperty build()
build in interface software.amazon.jsii.Builder<CfnApplication.AlarmProperty>CfnApplication.AlarmPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.