Interface MetricTargetV2

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    MetricTargetV2.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.75.0 (build 63bb957)",
               date="2023-02-20T02:42:02.252Z")
    @Stability(Stable)
    public interface MetricTargetV2
    extends software.amazon.jsii.JsiiSerializable
    MetricTarget defines the target value, average value, or average utilization of a specific metric.
    • Method Detail

      • getType

        @Stability(Stable)
        @NotNull
        String getType()
        type represents whether the metric type is Utilization, Value, or AverageValue.
      • getAverageUtilization

        @Stability(Stable)
        @Nullable
        default Number getAverageUtilization()
        averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

        Currently only valid for Resource metric source type

      • getAverageValue

        @Stability(Stable)
        @Nullable
        default Quantity getAverageValue()
        averageValue is the target value of the average of the metric across all relevant pods (as a quantity).
      • getValue

        @Stability(Stable)
        @Nullable
        default Quantity getValue()
        value is the target value of the metric (as a quantity).