Interface IMetric

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IMetric.Jsii$Default
All Known Implementing Classes:
IMetric.Jsii$Proxy, MathExpression, Metric

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:13.952Z") @Stability(Stable) public interface IMetric extends software.amazon.jsii.JsiiSerializable
Interface for metrics.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IMetric.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<String>
    Deprecated.
    use warningsV2
    default Map<String,String>
    Any warnings related to this metric.
    Inspect the details of the metric object.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getWarnings

      @Stability(Deprecated) @Deprecated @Nullable default List<String> getWarnings()
      Deprecated.
      • use warningsV2
      (deprecated) Any warnings related to this metric.

      Should be attached to the consuming construct.

      Default: - None

    • getWarningsV2

      @Stability(Stable) @Nullable default Map<String,String> getWarningsV2()
      Any warnings related to this metric.

      Should be attached to the consuming construct.

      Default: - None

    • toMetricConfig

      @Stability(Stable) @NotNull MetricConfig toMetricConfig()
      Inspect the details of the metric object.