Package org.cdk8s.plus24.k8s
Interface MetricIdentifierV2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricIdentifierV2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)", date="2023-05-05T16:22:34.161Z") @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 class
MetricIdentifierV2.Builder
A builder forMetricIdentifierV2
static class
MetricIdentifierV2.Jsii$Proxy
An implementation forMetricIdentifierV2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricIdentifierV2.Builder
builder()
String
getName()
name is the name of the given metric.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.
-
-
-
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.Builder
ofMetricIdentifierV2
-
-