Package org.cdk8s.plus24.k8s
Class ContainerResourceMetricSourceV2Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ContainerResourceMetricSourceV2Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
ContainerResourceMetricSourceV2Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ContainerResourceMetricSourceV2Beta1
@Stability(Stable) @Internal public static final class ContainerResourceMetricSourceV2Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerResourceMetricSourceV2Beta1
An implementation forContainerResourceMetricSourceV2Beta1
-
-
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.ContainerResourceMetricSourceV2Beta1
ContainerResourceMetricSourceV2Beta1.Builder, ContainerResourceMetricSourceV2Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ContainerResourceMetricSourceV2Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theContainerResourceMetricSourceV2Beta1.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)StringgetContainer()container is the name of the container in the pods of the scaling target.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(ContainerResourceMetricSourceV2Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theContainerResourceMetricSourceV2Beta1.Builder.
-
-
Method Detail
-
getContainer
public final String getContainer()
Description copied from interface:ContainerResourceMetricSourceV2Beta1container is the name of the container in the pods of the scaling target.- Specified by:
getContainerin interfaceContainerResourceMetricSourceV2Beta1
-
getName
public final String getName()
Description copied from interface:ContainerResourceMetricSourceV2Beta1name is the name of the resource in question.- Specified by:
getNamein interfaceContainerResourceMetricSourceV2Beta1
-
getTargetAverageUtilization
public final Number getTargetAverageUtilization()
Description copied from interface:ContainerResourceMetricSourceV2Beta1targetAverageUtilization 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 interfaceContainerResourceMetricSourceV2Beta1
-
getTargetAverageValue
public final Quantity getTargetAverageValue()
Description copied from interface:ContainerResourceMetricSourceV2Beta1targetAverageValue 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 interfaceContainerResourceMetricSourceV2Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-