Package org.cdk8s.plus25.k8s
Interface MetricTargetV2Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricTargetV2Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.735Z") @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 classMetricTargetV2Beta2.BuilderA builder forMetricTargetV2Beta2static classMetricTargetV2Beta2.Jsii$ProxyAn implementation forMetricTargetV2Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricTargetV2Beta2.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 MetricTargetV2Beta2.Builder builder()
- Returns:
- a
MetricTargetV2Beta2.BuilderofMetricTargetV2Beta2
-
-