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 protected
Jsii$Proxy(ResourceMetricSourceV2Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theResourceMetricSourceV2Beta1.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)
String
getName()
name is the name of the resource in question.Number
getTargetAverageUtilization()
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.Quantity
getTargetAverageValue()
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.int
hashCode()
-
-
-
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:ResourceMetricSourceV2Beta1
name is the name of the resource in question.- Specified by:
getName
in interfaceResourceMetricSourceV2Beta1
-
getTargetAverageUtilization
public final Number getTargetAverageUtilization()
Description copied from interface:ResourceMetricSourceV2Beta1
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.- Specified by:
getTargetAverageUtilization
in interfaceResourceMetricSourceV2Beta1
-
getTargetAverageValue
public final Quantity getTargetAverageValue()
Description copied from interface:ResourceMetricSourceV2Beta1
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.- Specified by:
getTargetAverageValue
in interfaceResourceMetricSourceV2Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-