Package org.cdk8s.plus24.k8s
Interface ExternalMetricSourceV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExternalMetricSourceV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:41.793Z") @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 class
ExternalMetricSourceV2.Builder
A builder forExternalMetricSourceV2
static class
ExternalMetricSourceV2.Jsii$Proxy
An implementation forExternalMetricSourceV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ExternalMetricSourceV2.Builder
builder()
MetricIdentifierV2
getMetric()
metric identifies the target metric by name and selector.MetricTargetV2
getTarget()
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.Builder
ofExternalMetricSourceV2
-
-