Class CfnApplication.AlarmProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationinsights.CfnApplication.AlarmProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnApplication.AlarmProperty>
- Enclosing interface:
- CfnApplication.AlarmProperty
@Stability(Stable)
public static final class CfnApplication.AlarmProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.AlarmProperty>
A builder for 
CfnApplication.AlarmProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofCfnApplication.AlarmProperty.getAlarmName()build()Builds the configured instance.Sets the value ofCfnApplication.AlarmProperty.getSeverity()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
alarmNameSets the value ofCfnApplication.AlarmProperty.getAlarmName()- Parameters:
- alarmName- The name of the CloudWatch alarm to be monitored for the component. This parameter is required.
- Returns:
- this
 
- 
severitySets the value ofCfnApplication.AlarmProperty.getSeverity()- Parameters:
- severity- Indicates the degree of outage when the alarm goes off.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnApplication.AlarmProperty>
- Returns:
- a new instance of CfnApplication.AlarmProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-