Package org.cdk8s.plus24.k8s
Class ResourceMetricSourceV2Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ResourceMetricSourceV2Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
ResourceMetricSourceV2Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ResourceMetricSourceV2Beta1
@Stability(Stable) @Internal public static final class ResourceMetricSourceV2Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceMetricSourceV2Beta1
An implementation forResourceMetricSourceV2Beta1
-
-
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.plus24.k8s.ResourceMetricSourceV2Beta1
ResourceMetricSourceV2Beta1.Builder, ResourceMetricSourceV2Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ResourceMetricSourceV2Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theResourceMetricSourceV2Beta1.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)StringgetName()name is the name of the resource in question.NumbergetTargetAverageUtilization()targetAverageUtilization 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.QuantitygetTargetAverageValue()targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.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(ResourceMetricSourceV2Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theResourceMetricSourceV2Beta1.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ResourceMetricSourceV2Beta1name is the name of the resource in question.- Specified by:
getNamein interfaceResourceMetricSourceV2Beta1
-
getTargetAverageUtilization
public final Number getTargetAverageUtilization()
Description copied from interface:ResourceMetricSourceV2Beta1targetAverageUtilization 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.- Specified by:
getTargetAverageUtilizationin interfaceResourceMetricSourceV2Beta1
-
getTargetAverageValue
public final Quantity getTargetAverageValue()
Description copied from interface:ResourceMetricSourceV2Beta1targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.- Specified by:
getTargetAverageValuein interfaceResourceMetricSourceV2Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-