Class V2ObjectMetricStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2ObjectMetricStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2ObjectMetricStatus
extends Object
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
Field Summary
-
Constructor Summary
ConstructorDescriptionV2ObjectMetricStatus
(V2MetricValueStatus current, V2CrossVersionObjectReference describedObject, V2MetricIdentifier metric) -
Method Summary
Modifier and TypeMethodDescriptioncurrent
(V2MetricValueStatus current) Set current in a chainable fashion.describedObject
(V2CrossVersionObjectReference describedObject) Set describedObject 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
setDescribedObject
(V2CrossVersionObjectReference describedObject) Set the describedObject property valuevoid
setMetric
(V2MetricIdentifier metric) Set the metric property valuetoString()
-
Field Details
-
JSON_PROPERTY_CURRENT
- See Also:
-
JSON_PROPERTY_DESCRIBED_OBJECT
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
-
Constructor Details
-
V2ObjectMetricStatus
public V2ObjectMetricStatus(V2MetricValueStatus current, V2CrossVersionObjectReference describedObject, V2MetricIdentifier metric)
-
-
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 V2ObjectMetricStatus for chaining.
-
getDescribedObject
- Returns:
- the describedObject property value
-
setDescribedObject
Set the describedObject property value -
describedObject
Set describedObject in a chainable fashion.- Returns:
- The same instance of V2ObjectMetricStatus 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 V2ObjectMetricStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-