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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()name is the name of the given metricinthashCode()Set name in a chainable fashion.selector(V1LabelSelector selector) Set selector in a chainable fashion.voidSet the name property valuevoidsetSelector(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- Parameters:
name- property value to set
-
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- Parameters:
selector- property value to set
-
selector
Set selector in a chainable fashion.- Returns:
- The same instance of V2MetricIdentifier for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-