public static final class CfnApplication.AlarmProperty.Builder
extends java.lang.Object
CfnApplication.AlarmProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApplication.AlarmProperty.Builder |
alarmName(java.lang.String alarmName)
Sets the value of
CfnApplication.AlarmProperty.getAlarmName() |
CfnApplication.AlarmProperty |
build()
Builds the configured instance.
|
CfnApplication.AlarmProperty.Builder |
severity(java.lang.String severity)
Sets the value of
CfnApplication.AlarmProperty.getSeverity() |
public CfnApplication.AlarmProperty.Builder alarmName(java.lang.String alarmName)
CfnApplication.AlarmProperty.getAlarmName()
alarmName
- The name of the CloudWatch alarm to be monitored for the component. This parameter is required.this
public CfnApplication.AlarmProperty.Builder severity(java.lang.String severity)
CfnApplication.AlarmProperty.getSeverity()
severity
- Indicates the degree of outage when the alarm goes off.this
public CfnApplication.AlarmProperty build()
CfnApplication.AlarmProperty
java.lang.NullPointerException
- if any required attribute was not provided