Class V2ResourceMetricStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2ResourceMetricStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2ResourceMetricStatus
extends Object
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrent(V2MetricValueStatus current) Set current in a chainable fashion.booleangetName()name is the name of the resource in question.inthashCode()Set name in a chainable fashion.voidsetCurrent(V2MetricValueStatus current) Set the current property valuevoidSet the name property valuetoString()
-
Field Details
-
JSON_PROPERTY_CURRENT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
V2ResourceMetricStatus
-
-
Method Details
-
getCurrent
- Returns:
- the current property value
-
setCurrent
Set the current property value- Parameters:
current- property value to set
-
current
Set current in a chainable fashion.- Returns:
- The same instance of V2ResourceMetricStatus for chaining.
-
getName
name is the name of the resource in question.- 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 V2ResourceMetricStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-