Interface GetAlarmMuteRuleResponse.Builder

    • Method Detail

      • name

        GetAlarmMuteRuleResponse.Builder name​(String name)

        The name of the alarm mute rule.

        Parameters:
        name - The name of the alarm mute rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • alarmMuteRuleArn

        GetAlarmMuteRuleResponse.Builder alarmMuteRuleArn​(String alarmMuteRuleArn)

        The Amazon Resource Name (ARN) of the alarm mute rule.

        Parameters:
        alarmMuteRuleArn - The Amazon Resource Name (ARN) of the alarm mute rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetAlarmMuteRuleResponse.Builder description​(String description)

        The description of the alarm mute rule.

        Parameters:
        description - The description of the alarm mute rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rule

        GetAlarmMuteRuleResponse.Builder rule​(Rule rule)

        The configuration that defines when and how long alarms are muted.

        Parameters:
        rule - The configuration that defines when and how long alarms are muted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • muteTargets

        GetAlarmMuteRuleResponse.Builder muteTargets​(MuteTargets muteTargets)

        Specifies which alarms this rule applies to.

        Parameters:
        muteTargets - Specifies which alarms this rule applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startDate

        GetAlarmMuteRuleResponse.Builder startDate​(Instant startDate)

        The date and time when the mute rule becomes active. If not set, the rule is active immediately.

        Parameters:
        startDate - The date and time when the mute rule becomes active. If not set, the rule is active immediately.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expireDate

        GetAlarmMuteRuleResponse.Builder expireDate​(Instant expireDate)

        The date and time when the mute rule expires and is no longer evaluated.

        Parameters:
        expireDate - The date and time when the mute rule expires and is no longer evaluated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        GetAlarmMuteRuleResponse.Builder status​(String status)

        The current status of the alarm mute rule. Valid values are SCHEDULED, ACTIVE, or EXPIRED.

        Parameters:
        status - The current status of the alarm mute rule. Valid values are SCHEDULED, ACTIVE, or EXPIRED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AlarmMuteRuleStatus, AlarmMuteRuleStatus
      • lastUpdatedTimestamp

        GetAlarmMuteRuleResponse.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The date and time when the mute rule was last updated.

        Parameters:
        lastUpdatedTimestamp - The date and time when the mute rule was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • muteType

        GetAlarmMuteRuleResponse.Builder muteType​(String muteType)

        Indicates whether the mute rule is one-time or recurring. Valid values are ONE_TIME or RECURRING.

        Parameters:
        muteType - Indicates whether the mute rule is one-time or recurring. Valid values are ONE_TIME or RECURRING.
        Returns:
        Returns a reference to this object so that method calls can be chained together.