Class V1JobStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1JobStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1JobStatus
extends Object
JobStatus represents the current state of a Job.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet active in a chainable fashion.addconditionsItem
(V1JobCondition conditionsItem) Add an item to the conditions property in a chainable fashion.completedIndexes
(String completedIndexes) Set completedIndexes in a chainable fashion.completionTime
(ZonedDateTime completionTime) Set completionTime in a chainable fashion.conditions
(List<@Valid V1JobCondition> conditions) Set conditions in a chainable fashion.boolean
Set failed in a chainable fashion.The number of pending and running pods.completedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format.Represents time when the job was completed.List<@Valid V1JobCondition>
The latest available observations of an object's current state.The number of pods which reached phase Failed.getReady()
The number of pods which have a Ready condition.Represents time when the job controller started processing a job.The number of pods which reached phase Succeeded.int
hashCode()
Set ready in a chainable fashion.void
Set the active property valuevoid
setCompletedIndexes
(String completedIndexes) Set the completedIndexes property valuevoid
setCompletionTime
(ZonedDateTime completionTime) Set the completionTime property valuevoid
setConditions
(List<@Valid V1JobCondition> conditions) Set the conditions property valuevoid
Set the failed property valuevoid
Set the ready property valuevoid
setStartTime
(ZonedDateTime startTime) Set the startTime property valuevoid
setSucceeded
(Integer succeeded) Set the succeeded property valuevoid
setUncountedTerminatedPods
(V1UncountedTerminatedPods uncountedTerminatedPods) Set the uncountedTerminatedPods property valuestartTime
(ZonedDateTime startTime) Set startTime in a chainable fashion.Set succeeded in a chainable fashion.toString()
uncountedTerminatedPods
(V1UncountedTerminatedPods uncountedTerminatedPods) Set uncountedTerminatedPods in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_COMPLETED_INDEXES
- See Also:
-
JSON_PROPERTY_COMPLETION_TIME
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_FAILED
- See Also:
-
JSON_PROPERTY_READY
- See Also:
-
JSON_PROPERTY_START_TIME
- See Also:
-
JSON_PROPERTY_SUCCEEDED
- See Also:
-
JSON_PROPERTY_UNCOUNTED_TERMINATED_PODS
- See Also:
-
-
Constructor Details
-
V1JobStatus
public V1JobStatus()
-
-
Method Details
-
getActive
The number of pending and running pods.- Returns:
- the active property value
-
setActive
Set the active property value- Parameters:
active
- property value to set
-
active
Set active in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getCompletedIndexes
completedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\".- Returns:
- the completedIndexes property value
-
setCompletedIndexes
Set the completedIndexes property value- Parameters:
completedIndexes
- property value to set
-
completedIndexes
Set completedIndexes in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getCompletionTime
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.- Returns:
- the completionTime property value
-
setCompletionTime
Set the completionTime property value- Parameters:
completionTime
- property value to set
-
completionTime
Set completionTime in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getConditions
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/- Returns:
- the conditions property value
-
setConditions
Set the conditions property value- Parameters:
conditions
- property value to set
-
conditions
Set conditions in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
addconditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getFailed
The number of pods which reached phase Failed.- Returns:
- the failed property value
-
setFailed
Set the failed property value- Parameters:
failed
- property value to set
-
failed
Set failed in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getReady
The number of pods which have a Ready condition. This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).- Returns:
- the ready property value
-
setReady
Set the ready property value- Parameters:
ready
- property value to set
-
ready
Set ready in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getStartTime
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.- Returns:
- the startTime property value
-
setStartTime
Set the startTime property value- Parameters:
startTime
- property value to set
-
startTime
Set startTime in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getSucceeded
The number of pods which reached phase Succeeded.- Returns:
- the succeeded property value
-
setSucceeded
Set the succeeded property value- Parameters:
succeeded
- property value to set
-
succeeded
Set succeeded in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
getUncountedTerminatedPods
- Returns:
- the uncountedTerminatedPods property value
-
setUncountedTerminatedPods
Set the uncountedTerminatedPods property value- Parameters:
uncountedTerminatedPods
- property value to set
-
uncountedTerminatedPods
Set uncountedTerminatedPods in a chainable fashion.- Returns:
- The same instance of V1JobStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-