Package org.cdk8s.plus25.k8s
Interface PodsMetricSourceV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodsMetricSourceV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.776Z") @Stability(Stable) public interface PodsMetricSourceV2 extends software.amazon.jsii.JsiiSerializable
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second).The values will be averaged together before being compared to the target value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodsMetricSourceV2.BuilderA builder forPodsMetricSourceV2static classPodsMetricSourceV2.Jsii$ProxyAn implementation forPodsMetricSourceV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PodsMetricSourceV2.Builderbuilder()MetricIdentifierV2getMetric()metric identifies the target metric by name and selector.MetricTargetV2getTarget()target specifies the target value for the given metric.
-
-
-
Method Detail
-
getMetric
@Stability(Stable) @NotNull MetricIdentifierV2 getMetric()
metric identifies the target metric by name and selector.
-
getTarget
@Stability(Stable) @NotNull MetricTargetV2 getTarget()
target specifies the target value for the given metric.
-
builder
@Stability(Stable) static PodsMetricSourceV2.Builder builder()
- Returns:
- a
PodsMetricSourceV2.BuilderofPodsMetricSourceV2
-
-