Class V2MetricStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2MetricStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2MetricStatus
extends Object
MetricStatus describes the last-read state of a single metric.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontainerResource
(V2ContainerResourceMetricStatus containerResource) Set containerResource in a chainable fashion.boolean
external
(V2ExternalMetricStatus external) Set external in a chainable fashion.getPods()
getType()
type is the type of metric source.int
hashCode()
object
(V2ObjectMetricStatus object) Set object in a chainable fashion.pods
(V2PodsMetricStatus pods) Set pods in a chainable fashion.resource
(V2ResourceMetricStatus resource) Set resource in a chainable fashion.void
setContainerResource
(V2ContainerResourceMetricStatus containerResource) Set the containerResource property valuevoid
setExternal
(V2ExternalMetricStatus external) Set the external property valuevoid
setObject
(V2ObjectMetricStatus object) Set the object property valuevoid
setPods
(V2PodsMetricStatus pods) Set the pods property valuevoid
setResource
(V2ResourceMetricStatus resource) Set the resource property valuevoid
Set the type property valuetoString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_CONTAINER_RESOURCE
- See Also:
-
JSON_PROPERTY_EXTERNAL
- See Also:
-
JSON_PROPERTY_OBJECT
- See Also:
-
JSON_PROPERTY_PODS
- See Also:
-
JSON_PROPERTY_RESOURCE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
V2MetricStatus
-
-
Method Details
-
getContainerResource
- Returns:
- the containerResource property value
-
setContainerResource
Set the containerResource property value -
containerResource
Set containerResource in a chainable fashion.- Returns:
- The same instance of V2MetricStatus for chaining.
-
getExternal
- Returns:
- the external property value
-
setExternal
Set the external property value -
external
Set external in a chainable fashion.- Returns:
- The same instance of V2MetricStatus for chaining.
-
getObject
- Returns:
- the object property value
-
setObject
Set the object property value -
object
Set object in a chainable fashion.- Returns:
- The same instance of V2MetricStatus for chaining.
-
getPods
- Returns:
- the pods property value
-
setPods
Set the pods property value -
pods
Set pods in a chainable fashion.- Returns:
- The same instance of V2MetricStatus for chaining.
-
getResource
- Returns:
- the resource property value
-
setResource
Set the resource property value -
resource
Set resource in a chainable fashion.- Returns:
- The same instance of V2MetricStatus for chaining.
-
getType
type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled- Returns:
- the type property value
-
setType
Set the type property value -
type
Set type in a chainable fashion.- Returns:
- The same instance of V2MetricStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-