Package org.cdk8s.plus25.k8s
Interface MetricIdentifierV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricIdentifierV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.733Z") @Stability(Stable) public interface MetricIdentifierV2 extends software.amazon.jsii.JsiiSerializable
MetricIdentifier defines the name and optionally selector for a metric.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMetricIdentifierV2.BuilderA builder forMetricIdentifierV2static classMetricIdentifierV2.Jsii$ProxyAn implementation forMetricIdentifierV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricIdentifierV2.Builderbuilder()StringgetName()name is the name of the given metric.default LabelSelectorgetSelector()selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
name is the name of the given metric.
-
getSelector
@Stability(Stable) @Nullable default LabelSelector getSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.When unset, just the metricName will be used to gather metrics.
-
builder
@Stability(Stable) static MetricIdentifierV2.Builder builder()
- Returns:
- a
MetricIdentifierV2.BuilderofMetricIdentifierV2
-
-