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 protected
Jsii$Proxy(PodsMetricSourceV2Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodsMetricSourceV2Beta1.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
getMetricName()
metricName is the name of the metric in question.LabelSelector
getSelector()
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.Quantity
getTargetAverageValue()
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity).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(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:PodsMetricSourceV2Beta1
metricName is the name of the metric in question.- Specified by:
getMetricName
in interfacePodsMetricSourceV2Beta1
-
getTargetAverageValue
public final Quantity getTargetAverageValue()
Description copied from interface:PodsMetricSourceV2Beta1
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity).- Specified by:
getTargetAverageValue
in interfacePodsMetricSourceV2Beta1
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:PodsMetricSourceV2Beta1
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.- Specified by:
getSelector
in interfacePodsMetricSourceV2Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-