Package org.cdk8s.plus24.k8s
Class PodsMetricSourceV2Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.PodsMetricSourceV2Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
PodsMetricSourceV2Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodsMetricSourceV2Beta1
@Stability(Stable) @Internal public static final class PodsMetricSourceV2Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodsMetricSourceV2Beta1
An implementation forPodsMetricSourceV2Beta1
-
-
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.PodsMetricSourceV2Beta1
PodsMetricSourceV2Beta1.Builder, PodsMetricSourceV2Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PodsMetricSourceV2Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by thePodsMetricSourceV2Beta1.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)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.QuantitygetTargetAverageValue()targetAverageValue is the target value of the average of the metric across all relevant pods (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(PodsMetricSourceV2Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodsMetricSourceV2Beta1.Builder.
-
-
Method Detail
-
getMetricName
public final String getMetricName()
Description copied from interface:PodsMetricSourceV2Beta1metricName is the name of the metric in question.- Specified by:
getMetricNamein interfacePodsMetricSourceV2Beta1
-
getTargetAverageValue
public final Quantity getTargetAverageValue()
Description copied from interface:PodsMetricSourceV2Beta1targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity).- Specified by:
getTargetAverageValuein interfacePodsMetricSourceV2Beta1
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:PodsMetricSourceV2Beta1selector 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 interfacePodsMetricSourceV2Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-