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