Package net.stickycode.kuuty.model.v18
Class IoK8sApiBatchV1JobStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiBatchV1JobStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiBatchV1JobStatus extends Object
JobStatus represents the current state of a Job.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTIVEstatic StringJSON_PROPERTY_COMPLETION_TIMEstatic StringJSON_PROPERTY_CONDITIONSstatic StringJSON_PROPERTY_FAILEDstatic StringJSON_PROPERTY_START_TIMEstatic StringJSON_PROPERTY_SUCCEEDED
-
Constructor Summary
Constructors Constructor Description IoK8sApiBatchV1JobStatus()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACTIVE
public static final String JSON_PROPERTY_ACTIVE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPLETION_TIME
public static final String JSON_PROPERTY_COMPLETION_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CONDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FAILED
public static final String JSON_PROPERTY_FAILED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_START_TIME
public static final String JSON_PROPERTY_START_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUCCEEDED
public static final String JSON_PROPERTY_SUCCEEDED
- See Also:
- Constant Field Values
-
-
Method Detail
-
active
public IoK8sApiBatchV1JobStatus active(Integer active)
-
getActive
@Nullable public Integer getActive()
The number of actively running pods.- Returns:
- active
-
setActive
public void setActive(Integer active)
-
completionTime
public IoK8sApiBatchV1JobStatus completionTime(OffsetDateTime completionTime)
-
getCompletionTime
@Nullable public OffsetDateTime getCompletionTime()
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- completionTime
-
setCompletionTime
public void setCompletionTime(OffsetDateTime completionTime)
-
conditions
public IoK8sApiBatchV1JobStatus conditions(List<IoK8sApiBatchV1JobCondition> conditions)
-
addConditionsItem
public IoK8sApiBatchV1JobStatus addConditionsItem(IoK8sApiBatchV1JobCondition conditionsItem)
-
getConditions
@Nullable public List<IoK8sApiBatchV1JobCondition> getConditions()
The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/- Returns:
- conditions
-
setConditions
public void setConditions(List<IoK8sApiBatchV1JobCondition> conditions)
-
failed
public IoK8sApiBatchV1JobStatus failed(Integer failed)
-
getFailed
@Nullable public Integer getFailed()
The number of pods which reached phase Failed.- Returns:
- failed
-
setFailed
public void setFailed(Integer failed)
-
startTime
public IoK8sApiBatchV1JobStatus startTime(OffsetDateTime startTime)
-
getStartTime
@Nullable public OffsetDateTime getStartTime()
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- startTime
-
setStartTime
public void setStartTime(OffsetDateTime startTime)
-
succeeded
public IoK8sApiBatchV1JobStatus succeeded(Integer succeeded)
-
getSucceeded
@Nullable public Integer getSucceeded()
The number of pods which reached phase Succeeded.- Returns:
- succeeded
-
setSucceeded
public void setSucceeded(Integer succeeded)
-
-