Class AlarmMuteRuleOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.AlarmMuteRuleOptions.Jsii$Proxy
All Implemented Interfaces:
AlarmMuteRuleOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
AlarmMuteRuleOptions

@Stability(Stable) @Internal public static final class AlarmMuteRuleOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AlarmMuteRuleOptions
An implementation for AlarmMuteRuleOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(AlarmMuteRuleOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AlarmMuteRuleOptions.Builder.
  • Method Details

    • getDuration

      public final Duration getDuration()
      Description copied from interface: AlarmMuteRuleOptions
      The length of time that alarms remain muted when the schedule activates.

      Minimum: 1 minute, Maximum: 15 days

      Specified by:
      getDuration in interface AlarmMuteRuleOptions
    • getSchedule

      public final ScheduleExpression getSchedule()
      Description copied from interface: AlarmMuteRuleOptions
      The schedule defines when alarms should be muted.
      Specified by:
      getSchedule in interface AlarmMuteRuleOptions
    • getAlarmMuteRuleName

      public final String getAlarmMuteRuleName()
      Description copied from interface: AlarmMuteRuleOptions
      The name of the alarm mute rule.

      This name must be unique within your AWS account and region.

      Default: - generated by CloudFormation

      Specified by:
      getAlarmMuteRuleName in interface AlarmMuteRuleOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: AlarmMuteRuleOptions
      A description of the alarm mute rule that helps you identify its purpose.

      Default: - no description

      Specified by:
      getDescription in interface AlarmMuteRuleOptions
    • getExpire

      public final CalendarDateTime getExpire()
      Description copied from interface: AlarmMuteRuleOptions
      The date and time when the mute rule expires and is no longer evaluated.

      After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms.

      This date and time is interpreted according to the schedule timezone, or UTC if no timezone is specified.

      Default: - no configuration

      Specified by:
      getExpire in interface AlarmMuteRuleOptions
    • getStart

      public final CalendarDateTime getStart()
      Description copied from interface: AlarmMuteRuleOptions
      The date and time after which the mute rule takes effect.

      If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression.

      This date and time is interpreted according to the schedule timezone, or UTC if no timezone is specified.

      Default: - no configuration

      Specified by:
      getStart in interface AlarmMuteRuleOptions
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: AlarmMuteRuleOptions
      A list of tags associated with the alarm mute rule.

      Tags help you organize and categorize your AWS resources.

      Default: - No tags are applied

      Specified by:
      getTags in interface AlarmMuteRuleOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object