Package org.cdk8s.plus24.k8s
Interface MetricTargetV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricTargetV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.252Z") @Stability(Stable) public interface MetricTargetV2 extends software.amazon.jsii.JsiiSerializable
MetricTarget defines the target value, average value, or average utilization of a specific metric.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MetricTargetV2.Builder
A builder forMetricTargetV2
static class
MetricTargetV2.Jsii$Proxy
An implementation forMetricTargetV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricTargetV2.Builder
builder()
default Number
getAverageUtilization()
averageUtilization 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.default Quantity
getAverageValue()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity).String
getType()
type represents whether the metric type is Utilization, Value, or AverageValue.default Quantity
getValue()
value is the target value of the metric (as a quantity).
-
-
-
Method Detail
-
getType
@Stability(Stable) @NotNull String getType()
type represents whether the metric type is Utilization, Value, or AverageValue.
-
getAverageUtilization
@Stability(Stable) @Nullable default Number getAverageUtilization()
averageUtilization 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.Currently only valid for Resource metric source type
-
getAverageValue
@Stability(Stable) @Nullable default Quantity getAverageValue()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity).
-
getValue
@Stability(Stable) @Nullable default Quantity getValue()
value is the target value of the metric (as a quantity).
-
builder
@Stability(Stable) static MetricTargetV2.Builder builder()
- Returns:
- a
MetricTargetV2.Builder
ofMetricTargetV2
-
-