Package org.cdk8s.plus24.k8s
Interface MetricIdentifierV2Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricIdentifierV2Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.68.0 (build b45f2f6)", date="2022-09-25T03:33:25.750Z") @Stability(Stable) public interface MetricIdentifierV2Beta2 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
MetricIdentifierV2Beta2.Builder
A builder forMetricIdentifierV2Beta2
static class
MetricIdentifierV2Beta2.Jsii$Proxy
An implementation forMetricIdentifierV2Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricIdentifierV2Beta2.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 MetricIdentifierV2Beta2.Builder builder()
- Returns:
- a
MetricIdentifierV2Beta2.Builder
ofMetricIdentifierV2Beta2
-
-