Class Condition
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.Condition
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Condition extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Condition defines an observation of a Machine API resource operational state.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastTransitionTime()Condition defines an observation of a Machine API resource operational state.StringgetMessage()A human readable message indicating details about the transition.StringgetReason()The reason for the condition's last transition in CamelCase.StringgetSeverity()severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly.StringgetStatus()status of the condition, one of True, False, Unknown.StringgetType()type of condition in CamelCase or in foo.example.com/CamelCase.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLastTransitionTime(String lastTransitionTime)Condition defines an observation of a Machine API resource operational state.voidsetMessage(String message)A human readable message indicating details about the transition.voidsetReason(String reason)The reason for the condition's last transition in CamelCase.voidsetSeverity(String severity)severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly.voidsetStatus(String status)status of the condition, one of True, False, Unknown.voidsetType(String type)type of condition in CamelCase or in foo.example.com/CamelCase.ConditionBuildertoBuilder()
-
-
-
Method Detail
-
getLastTransitionTime
public String getLastTransitionTime()
Condition defines an observation of a Machine API resource operational state.
-
setLastTransitionTime
public void setLastTransitionTime(String lastTransitionTime)
Condition defines an observation of a Machine API resource operational state.
-
getMessage
public String getMessage()
A human readable message indicating details about the transition. This field may be empty.
-
setMessage
public void setMessage(String message)
A human readable message indicating details about the transition. This field may be empty.
-
getReason
public String getReason()
The reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty.
-
setReason
public void setReason(String reason)
The reason for the condition's last transition in CamelCase. The specific API may choose whether or not this field is considered a guaranteed API. This field may not be empty.
-
getSeverity
public String getSeverity()
severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.
-
setSeverity
public void setSeverity(String severity)
severity provides an explicit classification of Reason code, so the users or machines can immediately understand the current situation and act accordingly. The Severity field MUST be set only when Status=False.
-
getStatus
public String getStatus()
status of the condition, one of True, False, Unknown.
-
setStatus
public void setStatus(String status)
status of the condition, one of True, False, Unknown.
-
getType
public String getType()
type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important.
-
setType
public void setType(String type)
type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important.
-
edit
public ConditionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>
-
toBuilder
public ConditionBuilder toBuilder()
-
-