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