Package org.cdk8s.plus25.k8s
Interface MetricTargetV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricTargetV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.734Z") @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 classMetricTargetV2.BuilderA builder forMetricTargetV2static classMetricTargetV2.Jsii$ProxyAn implementation forMetricTargetV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricTargetV2.Builderbuilder()default NumbergetAverageUtilization()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 QuantitygetAverageValue()averageValue is the target value of the average of the metric across all relevant pods (as a quantity).StringgetType()type represents whether the metric type is Utilization, Value, or AverageValue.default QuantitygetValue()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.BuilderofMetricTargetV2
-
-