Package org.cdk8s.plus25.k8s
Interface ExternalMetricSourceV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExternalMetricSourceV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.535Z") @Stability(Stable) public interface ExternalMetricSourceV2 extends software.amazon.jsii.JsiiSerializable
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExternalMetricSourceV2.BuilderA builder forExternalMetricSourceV2static classExternalMetricSourceV2.Jsii$ProxyAn implementation forExternalMetricSourceV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ExternalMetricSourceV2.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 ExternalMetricSourceV2.Builder builder()
- Returns:
- a
ExternalMetricSourceV2.BuilderofExternalMetricSourceV2
-
-