Class CfnAlarmMuteRule.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.CfnAlarmMuteRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmMuteRule>
- Enclosing class:
CfnAlarmMuteRule
@Stability(Stable)
public static final class CfnAlarmMuteRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmMuteRule>
A fluent builder for
CfnAlarmMuteRule.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnAlarmMuteRule.Builderdescription(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.muteTargets(IResolvable muteTargets) Targets to be muted.muteTargets(CfnAlarmMuteRule.MuteTargetsProperty muteTargets) Targets to be muted.The name of the AlarmMuteRule.rule(IResolvable rule) The rule for the mute.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 CfnAlarmMuteRule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAlarmMuteRule.Builder.
-
rule
The rule for the mute.- Parameters:
rule- The rule for the mute. 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:
-
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 CfnAlarmMuteRule.Builder muteTargets(CfnAlarmMuteRule.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:
-
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<CfnAlarmMuteRule>- Returns:
- a newly built instance of
CfnAlarmMuteRule.
-