Package org.cdk8s.plus24.k8s
Interface MetricTargetV2Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricTargetV2Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:41.976Z") @Stability(Stable) public interface MetricTargetV2Beta2 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
MetricTargetV2Beta2.Builder
A builder forMetricTargetV2Beta2
static class
MetricTargetV2Beta2.Jsii$Proxy
An implementation forMetricTargetV2Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricTargetV2Beta2.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 MetricTargetV2Beta2.Builder builder()
- Returns:
- a
MetricTargetV2Beta2.Builder
ofMetricTargetV2Beta2
-
-