Class MonitoringMetric.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class MonitoringMetric.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MonitoringMetric
An implementation for MonitoringMetric
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.mediaconnect.alpha.MonitoringMetric

    MonitoringMetric.Builder, MonitoringMetric.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the MonitoringMetric.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final State
    (experimental) Whether the metric is enabled or disabled.
    final Duration
    (experimental) Threshold in seconds that triggers the metric's alert.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(MonitoringMetric.Builder builder)
      Constructor that initializes the object based on literal property values passed by the MonitoringMetric.Builder.
  • Method Details

    • getState

      public final State getState()
      Description copied from interface: MonitoringMetric
      (experimental) Whether the metric is enabled or disabled.

      The threshold is persisted by the service either way, so you can toggle the metric on and off without losing the threshold value.

      Specified by:
      getState in interface MonitoringMetric
    • getThreshold

      public final Duration getThreshold()
      Description copied from interface: MonitoringMetric
      (experimental) Threshold in seconds that triggers the metric's alert.

      Valid range: 10–60 seconds.

      Specified by:
      getThreshold in interface MonitoringMetric
    • $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