Package org.cdk8s.plus23.k8s
Interface ObjectMetricSourceV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ObjectMetricSourceV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.598Z") @Stability(Stable) public interface ObjectMetricSourceV2 extends software.amazon.jsii.JsiiSerializable
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ObjectMetricSourceV2.Builder
A builder forObjectMetricSourceV2
static class
ObjectMetricSourceV2.Jsii$Proxy
An implementation forObjectMetricSourceV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ObjectMetricSourceV2.Builder
builder()
CrossVersionObjectReferenceV2
getDescribedObject()
describedObject specifies the descriptions of a object,such as kind,name apiVersion.MetricIdentifierV2
getMetric()
metric identifies the target metric by name and selector.MetricTargetV2
getTarget()
target specifies the target value for the given metric.
-
-
-
Method Detail
-
getDescribedObject
@Stability(Stable) @NotNull CrossVersionObjectReferenceV2 getDescribedObject()
describedObject specifies the descriptions of a object,such as kind,name apiVersion.
-
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 ObjectMetricSourceV2.Builder builder()
- Returns:
- a
ObjectMetricSourceV2.Builder
ofObjectMetricSourceV2
-
-