Class MachineHealthCheckStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.MachineHealthCheckStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineHealthCheckStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineHealthCheckStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineHealthCheckStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineHealthCheckStatus defines the observed state of MachineHealthCheck- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineHealthCheckStatus()No args constructor for use in serializationMachineHealthCheckStatus(List<Condition> conditions, Integer currentHealthy, Integer expectedMachines, Integer remediationsAllowed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineHealthCheckStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<Condition>getConditions()conditions defines the current state of the MachineHealthCheckIntegergetCurrentHealthy()total number of machines counted by this machine health checkIntegergetExpectedMachines()total number of machines counted by this machine health checkIntegergetRemediationsAllowed()remediationsAllowed is the number of further remediations allowed by this machine health check before maxUnhealthy short circuiting will be appliedvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<Condition> conditions)conditions defines the current state of the MachineHealthCheckvoidsetCurrentHealthy(Integer currentHealthy)total number of machines counted by this machine health checkvoidsetExpectedMachines(Integer expectedMachines)total number of machines counted by this machine health checkvoidsetRemediationsAllowed(Integer remediationsAllowed)remediationsAllowed is the number of further remediations allowed by this machine health check before maxUnhealthy short circuiting will be appliedMachineHealthCheckStatusBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<Condition> getConditions()
conditions defines the current state of the MachineHealthCheck
-
setConditions
public void setConditions(List<Condition> conditions)
conditions defines the current state of the MachineHealthCheck
-
getCurrentHealthy
public Integer getCurrentHealthy()
total number of machines counted by this machine health check
-
setCurrentHealthy
public void setCurrentHealthy(Integer currentHealthy)
total number of machines counted by this machine health check
-
getExpectedMachines
public Integer getExpectedMachines()
total number of machines counted by this machine health check
-
setExpectedMachines
public void setExpectedMachines(Integer expectedMachines)
total number of machines counted by this machine health check
-
getRemediationsAllowed
public Integer getRemediationsAllowed()
remediationsAllowed is the number of further remediations allowed by this machine health check before maxUnhealthy short circuiting will be applied
-
setRemediationsAllowed
public void setRemediationsAllowed(Integer remediationsAllowed)
remediationsAllowed is the number of further remediations allowed by this machine health check before maxUnhealthy short circuiting will be applied
-
edit
public MachineHealthCheckStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineHealthCheckStatusBuilder>
-
toBuilder
public MachineHealthCheckStatusBuilder toBuilder()
-
-