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.103.1 (build bef2dea)", date="2024-10-11T15:55:54.790Z") @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.