Class V2ExternalMetricStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2ExternalMetricStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2ExternalMetricStatus
extends Object
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionV2ExternalMetricStatus
(V2MetricValueStatus current, V2MetricIdentifier metric) -
Method Summary
Modifier and TypeMethodDescriptioncurrent
(V2MetricValueStatus current) Set current in a chainable fashion.boolean
int
hashCode()
metric
(V2MetricIdentifier metric) Set metric in a chainable fashion.void
setCurrent
(V2MetricValueStatus current) Set the current property valuevoid
setMetric
(V2MetricIdentifier metric) Set the metric property valuetoString()
-
Field Details
-
JSON_PROPERTY_CURRENT
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
-
Constructor Details
-
V2ExternalMetricStatus
-
-
Method Details
-
getCurrent
- Returns:
- the current property value
-
setCurrent
Set the current property value -
current
Set current in a chainable fashion.- Returns:
- The same instance of V2ExternalMetricStatus for chaining.
-
getMetric
- Returns:
- the metric property value
-
setMetric
Set the metric property value -
metric
Set metric in a chainable fashion.- Returns:
- The same instance of V2ExternalMetricStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-