Package org.cdk8s.plus24.k8s
Class ObjectMetricSourceV2Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.ObjectMetricSourceV2Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
ObjectMetricSourceV2Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ObjectMetricSourceV2Beta1
@Stability(Stable) @Internal public static final class ObjectMetricSourceV2Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ObjectMetricSourceV2Beta1
An implementation forObjectMetricSourceV2Beta1
-
-
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.ObjectMetricSourceV2Beta1
ObjectMetricSourceV2Beta1.Builder, ObjectMetricSourceV2Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ObjectMetricSourceV2Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theObjectMetricSourceV2Beta1.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)QuantitygetAverageValue()averageValue is the target value of the average of the metric across all relevant pods (as a quantity).StringgetMetricName()metricName is the name of the metric in question.LabelSelectorgetSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.CrossVersionObjectReferenceV2Beta1getTarget()target is the described Kubernetes object.QuantitygetTargetValue()targetValue 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(ObjectMetricSourceV2Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theObjectMetricSourceV2Beta1.Builder.
-
-
Method Detail
-
getMetricName
public final String getMetricName()
Description copied from interface:ObjectMetricSourceV2Beta1metricName is the name of the metric in question.- Specified by:
getMetricNamein interfaceObjectMetricSourceV2Beta1
-
getTarget
public final CrossVersionObjectReferenceV2Beta1 getTarget()
Description copied from interface:ObjectMetricSourceV2Beta1target is the described Kubernetes object.- Specified by:
getTargetin interfaceObjectMetricSourceV2Beta1
-
getTargetValue
public final Quantity getTargetValue()
Description copied from interface:ObjectMetricSourceV2Beta1targetValue is the target value of the metric (as a quantity).- Specified by:
getTargetValuein interfaceObjectMetricSourceV2Beta1
-
getAverageValue
public final Quantity getAverageValue()
Description copied from interface:ObjectMetricSourceV2Beta1averageValue is the target value of the average of the metric across all relevant pods (as a quantity).- Specified by:
getAverageValuein interfaceObjectMetricSourceV2Beta1
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:ObjectMetricSourceV2Beta1selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.- Specified by:
getSelectorin interfaceObjectMetricSourceV2Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-