Package org.cdk8s.plus25.k8s
Class MetricTargetV2.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.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 forMetricTargetV2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.MetricTargetV2
MetricTargetV2.Builder, MetricTargetV2.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MetricTargetV2.Builder builder)Constructor that initializes the object based on literal property values passed by theMetricTargetV2.Builder.protectedJsii$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()booleanequals(Object o)NumbergetAverageUtilization()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.QuantitygetAverageValue()averageValue is the target value of the average of the metric across all relevant pods (as a quantity).StringgetType()type represents whether the metric type is Utilization, Value, or AverageValue.QuantitygetValue()value is the target value of the metric (as a quantity).inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(MetricTargetV2.Builder builder)
Constructor that initializes the object based on literal property values passed by theMetricTargetV2.Builder.
-
-
Method Detail
-
getType
public final String getType()
Description copied from interface:MetricTargetV2type represents whether the metric type is Utilization, Value, or AverageValue.- Specified by:
getTypein interfaceMetricTargetV2
-
getAverageUtilization
public final Number getAverageUtilization()
Description copied from interface:MetricTargetV2averageUtilization 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:
getAverageUtilizationin interfaceMetricTargetV2
-
getAverageValue
public final Quantity getAverageValue()
Description copied from interface:MetricTargetV2averageValue is the target value of the average of the metric across all relevant pods (as a quantity).- Specified by:
getAverageValuein interfaceMetricTargetV2
-
getValue
public final Quantity getValue()
Description copied from interface:MetricTargetV2value is the target value of the metric (as a quantity).- Specified by:
getValuein interfaceMetricTargetV2
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-