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 PodConditionBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getLastProbeTime()
PodCondition contains details for the current condition of this pod.String
getLastTransitionTime()
PodCondition contains details for the current condition of this pod.String
getMessage()
Human-readable message indicating details about last transition.Long
getObservedGeneration()
If set, this represents the .metadata.generation that the pod condition was set based upon.String
getReason()
Unique, one-word, CamelCase reason for the condition's last transition.String
getStatus()
Status is the status of the condition.String
getType()
Type is the type of the condition.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setLastProbeTime(String lastProbeTime)
PodCondition contains details for the current condition of this pod.void
setLastTransitionTime(String lastTransitionTime)
PodCondition contains details for the current condition of this pod.void
setMessage(String message)
Human-readable message indicating details about last transition.void
setObservedGeneration(Long observedGeneration)
If set, this represents the .metadata.generation that the pod condition was set based upon.void
setReason(String reason)
Unique, one-word, CamelCase reason for the condition's last transition.void
setStatus(String status)
Status is the status of the condition.void
setType(String type)
Type is the type of the condition.PodConditionBuilder
toBuilder()
-
-
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<PodConditionBuilder>
-
toBuilder
public PodConditionBuilder toBuilder()
-
-