Package org.cdk8s.plus25.k8s
Interface MetricIdentifierV2Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
MetricIdentifierV2Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.733Z") @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 classMetricIdentifierV2Beta2.BuilderA builder forMetricIdentifierV2Beta2static classMetricIdentifierV2Beta2.Jsii$ProxyAn implementation forMetricIdentifierV2Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static MetricIdentifierV2Beta2.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 MetricIdentifierV2Beta2.Builder builder()
- Returns:
- a
MetricIdentifierV2Beta2.BuilderofMetricIdentifierV2Beta2
-
-