Class PromQLAlarmProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class PromQLAlarmProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PromQLAlarmProps
An implementation for PromQLAlarmProps
  • 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(PromQLAlarmProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the PromQLAlarmProps.Builder.
  • Method Details

    • getEvaluationInterval

      public final Duration getEvaluationInterval()
      Description copied from interface: PromQLAlarmProps
      The frequency at which the alarm is evaluated.

      Must be between 10 seconds and 3600 seconds.

      Specified by:
      getEvaluationInterval in interface PromQLAlarmProps
    • getQuery

      public final String getQuery()
      Description copied from interface: PromQLAlarmProps
      The PromQL query that the alarm evaluates.
      Specified by:
      getQuery in interface PromQLAlarmProps
    • getActionsEnabled

      public final Boolean getActionsEnabled()
      Description copied from interface: PromQLAlarmProps
      Whether the actions for this alarm are enabled.

      Default: true

      Specified by:
      getActionsEnabled in interface PromQLAlarmProps
    • getAlarmDescription

      public final String getAlarmDescription()
      Description copied from interface: PromQLAlarmProps
      Description for the alarm.

      Default: - No description

      Specified by:
      getAlarmDescription in interface PromQLAlarmProps
    • getAlarmName

      public final String getAlarmName()
      Description copied from interface: PromQLAlarmProps
      Name of the alarm.

      Default: - Automatically generated name

      Specified by:
      getAlarmName in interface PromQLAlarmProps
    • getPendingPeriod

      public final Duration getPendingPeriod()
      Description copied from interface: PromQLAlarmProps
      The duration that a contributor must continuously breach before the contributor transitions to ALARM state.

      Default: - No pending period

      Specified by:
      getPendingPeriod in interface PromQLAlarmProps
    • getRecoveryPeriod

      public final Duration getRecoveryPeriod()
      Description copied from interface: PromQLAlarmProps
      The duration that a contributor must continuously not be breaching before it transitions back to the OK state.

      Default: - No recovery period

      Specified by:
      getRecoveryPeriod in interface PromQLAlarmProps
    • $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