Class MetricTargetV2.Jsii$Proxy

  • All Implemented Interfaces:
    MetricTargetV2, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    MetricTargetV2

    @Stability(Stable)
    @Internal
    public static final class MetricTargetV2.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements MetricTargetV2
    An implementation for MetricTargetV2
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonNode $jsii$toJson()  
      boolean equals​(Object o)  
      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.
      Quantity getAverageValue()
      averageValue is the target value of the average of the metric across all relevant pods (as a quantity).
      String getType()
      type represents whether the metric type is Utilization, Value, or AverageValue.
      Quantity getValue()
      value is the target value of the metric (as a quantity).
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • Constructor Detail

      • 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.
    • Method Detail

      • getType

        public final String getType()
        Description copied from interface: MetricTargetV2
        type represents whether the metric type is Utilization, Value, or AverageValue.
        Specified by:
        getType in interface MetricTargetV2
      • getAverageUtilization

        public final Number getAverageUtilization()
        Description copied from interface: MetricTargetV2
        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

        Specified by:
        getAverageUtilization in interface MetricTargetV2
      • getAverageValue

        public final Quantity getAverageValue()
        Description copied from interface: MetricTargetV2
        averageValue is the target value of the average of the metric across all relevant pods (as a quantity).
        Specified by:
        getAverageValue in interface MetricTargetV2
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object