Package io.fabric8.kubernetes.api.model
Class PodCondition
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PodCondition
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PodConditionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodCondition extends Object implements io.fabric8.kubernetes.api.builder.Editable<PodConditionBuilder>, KubernetesResource
PodCondition contains details for the current condition of this pod.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodCondition()No args constructor for use in serializationPodCondition(String lastProbeTime, String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodConditionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastProbeTime()PodCondition contains details for the current condition of this pod.StringgetLastTransitionTime()PodCondition contains details for the current condition of this pod.StringgetMessage()Human-readable message indicating details about last transition.LonggetObservedGeneration()If set, this represents the .metadata.generation that the pod condition was set based upon.StringgetReason()Unique, one-word, CamelCase reason for the condition's last transition.StringgetStatus()Status is the status of the condition.StringgetType()Type is the type of the condition.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLastProbeTime(String lastProbeTime)PodCondition contains details for the current condition of this pod.voidsetLastTransitionTime(String lastTransitionTime)PodCondition contains details for the current condition of this pod.voidsetMessage(String message)Human-readable message indicating details about last transition.voidsetObservedGeneration(Long observedGeneration)If set, this represents the .metadata.generation that the pod condition was set based upon.voidsetReason(String reason)Unique, one-word, CamelCase reason for the condition's last transition.voidsetStatus(String status)Status is the status of the condition.voidsetType(String type)Type is the type of the condition.PodConditionBuildertoBuilder()
-
-
-
Method Detail
-
getLastProbeTime
public String getLastProbeTime()
PodCondition contains details for the current condition of this pod.
-
setLastProbeTime
public void setLastProbeTime(String lastProbeTime)
PodCondition contains details for the current condition of this pod.
-
getLastTransitionTime
public String getLastTransitionTime()
PodCondition contains details for the current condition of this pod.
-
setLastTransitionTime
public void setLastTransitionTime(String lastTransitionTime)
PodCondition contains details for the current condition of this pod.
-
getMessage
public String getMessage()
Human-readable message indicating details about last transition.
-
setMessage
public void setMessage(String message)
Human-readable message indicating details about last transition.
-
getObservedGeneration
public Long getObservedGeneration()
If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
-
getReason
public String getReason()
Unique, one-word, CamelCase reason for the condition's last transition.
-
setReason
public void setReason(String reason)
Unique, one-word, CamelCase reason for the condition's last transition.
-
getStatus
public String getStatus()
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
-
setStatus
public void setStatus(String status)
Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
-
getType
public String getType()
Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
-
setType
public void setType(String type)
Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
-
edit
public PodConditionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PodConditionBuilder>
-
toBuilder
public PodConditionBuilder toBuilder()
-
-