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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanHealth of the resource.ResourceID is the unique identifier of the resource.inthashCode()Set health in a chainable fashion.resourceID(String resourceID) Set resourceID in a chainable fashion.voidSet the health property valuevoidsetResourceID(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- 
getResourceIDResourceID is the unique identifier of the resource. See the ResourceID type for more information.- Returns:
- the resourceID property value
 
- 
setResourceIDSet the resourceID property value- Parameters:
- resourceID- property value to set
 
- 
resourceIDSet resourceID in a chainable fashion.- Returns:
- The same instance of V1ResourceHealth for chaining.
 
- 
getHealthHealth 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
 
- 
setHealthSet the health property value- Parameters:
- health- property value to set
 
- 
healthSet health in a chainable fashion.- Returns:
- The same instance of V1ResourceHealth for chaining.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-