Class MetricConfig.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class MetricConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MetricConfig
An implementation for MetricConfig
  • 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.cloudwatch.MetricConfig

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the MetricConfig.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
     
    In case the metric is a math expression, the details of the math expression.
    In case the metric represents a query, the details of the query.
    Additional properties which will be rendered if the metric is used in a dashboard.
    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(MetricConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the MetricConfig.Builder.
  • Method Details

    • getMathExpression

      public final MetricExpressionConfig getMathExpression()
      Description copied from interface: MetricConfig
      In case the metric is a math expression, the details of the math expression.

      Default: - None

      Specified by:
      getMathExpression in interface MetricConfig
    • getMetricStat

      public final MetricStatConfig getMetricStat()
      Description copied from interface: MetricConfig
      In case the metric represents a query, the details of the query.

      Default: - None

      Specified by:
      getMetricStat in interface MetricConfig
    • getRenderingProperties

      public final Map<String,Object> getRenderingProperties()
      Description copied from interface: MetricConfig
      Additional properties which will be rendered if the metric is used in a dashboard.

      Examples are 'label' and 'color', but any key in here will be added to dashboard graphs.

      Default: - None

      Specified by:
      getRenderingProperties in interface MetricConfig
    • $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