Class CfnAlarmMuteRulePropsMixin.RuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnAlarmMuteRulePropsMixin.RuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmMuteRulePropsMixin.RuleProperty>
- Enclosing interface:
CfnAlarmMuteRulePropsMixin.RuleProperty
@Stability(Stable)
public static final class CfnAlarmMuteRulePropsMixin.RuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmMuteRulePropsMixin.RuleProperty>
A builder for
CfnAlarmMuteRulePropsMixin.RuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAlarmMuteRulePropsMixin.RuleProperty.getSchedule()schedule(IResolvable schedule) Sets the value ofCfnAlarmMuteRulePropsMixin.RuleProperty.getSchedule()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schedule
@Stability(Stable) public CfnAlarmMuteRulePropsMixin.RuleProperty.Builder schedule(IResolvable schedule) Sets the value ofCfnAlarmMuteRulePropsMixin.RuleProperty.getSchedule()- Parameters:
schedule- Schedule for the mute to be active.- Returns:
this
-
schedule
@Stability(Stable) public CfnAlarmMuteRulePropsMixin.RuleProperty.Builder schedule(CfnAlarmMuteRulePropsMixin.ScheduleProperty schedule) Sets the value ofCfnAlarmMuteRulePropsMixin.RuleProperty.getSchedule()- Parameters:
schedule- Schedule for the mute to be active.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmMuteRulePropsMixin.RuleProperty>- Returns:
- a new instance of
CfnAlarmMuteRulePropsMixin.RuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-