Package io.fabric8.kubernetes.api.model
Class Condition
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.Condition
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Condition extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>, KubernetesResource
Condition contains details for one aspect of the current state of this API Resource.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastTransitionTime()Condition contains details for one aspect of the current state of this API Resource.StringgetMessage()message is a human readable message indicating details about the transition.LonggetObservedGeneration()observedGeneration represents the .metadata.generation that the condition was set based upon.StringgetReason()reason contains a programmatic identifier indicating the reason for the condition's last transition.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 contains details for one aspect of the current state of this API Resource.voidsetMessage(String message)message is a human readable message indicating details about the transition.voidsetObservedGeneration(Long observedGeneration)observedGeneration represents the .metadata.generation that the condition was set based upon.voidsetReason(String reason)reason contains a programmatic identifier indicating the reason for the condition's last transition.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 contains details for one aspect of the current state of this API Resource.
-
setLastTransitionTime
public void setLastTransitionTime(String lastTransitionTime)
Condition contains details for one aspect of the current state of this API Resource.
-
getMessage
public String getMessage()
message is a human readable message indicating details about the transition. This may be an empty string.
-
setMessage
public void setMessage(String message)
message is a human readable message indicating details about the transition. This may be an empty string.
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
-
getReason
public String getReason()
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
-
setReason
public void setReason(String reason)
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
-
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.
-
setType
public void setType(String type)
type of condition in CamelCase or in foo.example.com/CamelCase.
-
edit
public ConditionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>
-
toBuilder
public ConditionBuilder toBuilder()
-
-