Class CfnAlarmMuteRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnAlarmMuteRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmMuteRulePropsMixin>
- Enclosing class:
CfnAlarmMuteRulePropsMixin
@Stability(Stable)
public static final class CfnAlarmMuteRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmMuteRulePropsMixin>
A fluent builder for
CfnAlarmMuteRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) The description of the AlarmMuteRule.expireDate(String expireDate) The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.Targets to be muted.muteTargets(IResolvable muteTargets) Targets to be muted.The name of the AlarmMuteRule.The rule for the mute.rule(IResolvable rule) The rule for the mute.The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnAlarmMuteRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAlarmMuteRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAlarmMuteRulePropsMixin.Builder.
-
description
The description of the AlarmMuteRule.- Parameters:
description- The description of the AlarmMuteRule. This parameter is required.- Returns:
this- See Also:
-
expireDate
The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired.- Parameters:
expireDate- The date, with the same timezone offset as "ScheduleTimezone" after which the alarm mute rule will be expired. This parameter is required.- Returns:
this- See Also:
-
muteTargets
Targets to be muted.- Parameters:
muteTargets- Targets to be muted. This parameter is required.- Returns:
this- See Also:
-
muteTargets
@Stability(Stable) public CfnAlarmMuteRulePropsMixin.Builder muteTargets(CfnAlarmMuteRulePropsMixin.MuteTargetsProperty muteTargets) Targets to be muted.- Parameters:
muteTargets- Targets to be muted. This parameter is required.- Returns:
this- See Also:
-
name
The name of the AlarmMuteRule.- Parameters:
name- The name of the AlarmMuteRule. This parameter is required.- Returns:
this- See Also:
-
rule
The rule for the mute.- Parameters:
rule- The rule for the mute. This parameter is required.- Returns:
this- See Also:
-
rule
@Stability(Stable) public CfnAlarmMuteRulePropsMixin.Builder rule(CfnAlarmMuteRulePropsMixin.RuleProperty rule) The rule for the mute.- Parameters:
rule- The rule for the mute. This parameter is required.- Returns:
this- See Also:
-
startDate
The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active.- Parameters:
startDate- The date, with the same timezone offset as "ScheduleTimezone", after which the alarm mute rule will become active. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmMuteRulePropsMixin>- Returns:
- a newly built instance of
CfnAlarmMuteRulePropsMixin.
-