Class HealthCheck
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.HealthCheck
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HealthCheckBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HealthCheck extends Object implements io.fabric8.kubernetes.api.builder.Editable<HealthCheckBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
healthCheck represents an Insights health check attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HealthCheck()No args constructor for use in serializationHealthCheck(String advisorURI, String description, String state, Integer totalRisk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAdvisorURI()advisorURI provides the URL link to the Insights Advisor.StringgetDescription()description provides basic description of the healtcheck.StringgetState()state determines what the current state of the health check is.IntegergetTotalRisk()totalRisk of the healthcheck.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAdvisorURI(String advisorURI)advisorURI provides the URL link to the Insights Advisor.voidsetDescription(String description)description provides basic description of the healtcheck.voidsetState(String state)state determines what the current state of the health check is.voidsetTotalRisk(Integer totalRisk)totalRisk of the healthcheck.HealthCheckBuildertoBuilder()
-
-
-
Method Detail
-
getAdvisorURI
public String getAdvisorURI()
advisorURI provides the URL link to the Insights Advisor.
-
setAdvisorURI
public void setAdvisorURI(String advisorURI)
advisorURI provides the URL link to the Insights Advisor.
-
getDescription
public String getDescription()
description provides basic description of the healtcheck.
-
setDescription
public void setDescription(String description)
description provides basic description of the healtcheck.
-
getState
public String getState()
state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Insights advisor user interface.
-
setState
public void setState(String state)
state determines what the current state of the health check is. Health check is enabled by default and can be disabled by the user in the Insights advisor user interface.
-
getTotalRisk
public Integer getTotalRisk()
totalRisk of the healthcheck. Indicator of the total risk posed by the detected issue; combination of impact and likelihood. The values can be from 1 to 4, and the higher the number, the more important the issue.
-
setTotalRisk
public void setTotalRisk(Integer totalRisk)
totalRisk of the healthcheck. Indicator of the total risk posed by the detected issue; combination of impact and likelihood. The values can be from 1 to 4, and the higher the number, the more important the issue.
-
edit
public HealthCheckBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HealthCheckBuilder>
-
toBuilder
public HealthCheckBuilder toBuilder()
-
-