Class V1ResourceHealth
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ResourceHealth
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ResourceHealth
extends Object
ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Health of the resource.ResourceID is the unique identifier of the resource.int
hashCode()
Set health in a chainable fashion.resourceID
(String resourceID) Set resourceID in a chainable fashion.void
Set the health property valuevoid
setResourceID
(String resourceID) Set the resourceID property valuetoString()
-
Field Details
-
JSON_PROPERTY_RESOURCE_I_D
- See Also:
-
JSON_PROPERTY_HEALTH
- See Also:
-
-
Constructor Details
-
V1ResourceHealth
-
-
Method Details
-
getResourceID
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.- Returns:
- the resourceID property value
-
setResourceID
Set the resourceID property value- Parameters:
resourceID
- property value to set
-
resourceID
Set resourceID in a chainable fashion.- Returns:
- The same instance of V1ResourceHealth for chaining.
-
getHealth
Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn't been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status.- Returns:
- the health property value
-
setHealth
Set the health property value- Parameters:
health
- property value to set
-
health
Set health in a chainable fashion.- Returns:
- The same instance of V1ResourceHealth for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-