Class V2MetricIdentifier
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2MetricIdentifier
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2MetricIdentifier
extends Object
MetricIdentifier defines the name and optionally selector for a metric
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
name is the name of the given metricint
hashCode()
Set name in a chainable fashion.selector
(V1LabelSelector selector) Set selector in a chainable fashion.void
Set the name property valuevoid
setSelector
(V1LabelSelector selector) Set the selector property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SELECTOR
- See Also:
-
-
Constructor Details
-
V2MetricIdentifier
-
-
Method Details
-
getName
name is the name of the given metric- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V2MetricIdentifier for chaining.
-
getSelector
- Returns:
- the selector property value
-
setSelector
Set the selector property value -
selector
Set selector in a chainable fashion.- Returns:
- The same instance of V2MetricIdentifier for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-