Package com.oracle.bmc.batch.model
Class ComputeTaskExecutionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.ComputeTaskExecutionDetails.Builder
-
- Enclosing class:
- ComputeTaskExecutionDetails
public static class ComputeTaskExecutionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeTaskExecutionDetailsbuild()ComputeTaskExecutionDetails.BuildercompletionLifecycleState(BatchTask.LifecycleState completionLifecycleState)The terminal lifecycle state of the task for this execution.ComputeTaskExecutionDetails.Buildercopy(ComputeTaskExecutionDetails model)ComputeTaskExecutionDetails.Buildererrors(List<String> errors)List of error messages related to this task execution.ComputeTaskExecutionDetails.BuilderexecutionId(String executionId)A unique identifier for the task execution.ComputeTaskExecutionDetails.BuilderfleetShape(FleetShapeExecutionDetails fleetShape)ComputeTaskExecutionDetails.BuildertimeCompleted(Date timeCompleted)The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by RFC 3339.ComputeTaskExecutionDetails.BuildertimeStarted(Date timeStarted)The date and time when the lifecycleState was changed to In_Progress, in the format defined by RFC 3339.ComputeTaskExecutionDetails.BuildertimeTransitionedToWaitingDependencies(Date timeTransitionedToWaitingDependencies)The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by RFC 3339.ComputeTaskExecutionDetails.BuildertimeTransitionedToWaitingQueued(Date timeTransitionedToWaitingQueued)The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by RFC 3339.
-
-
-
Method Detail
-
executionId
public ComputeTaskExecutionDetails.Builder executionId(String executionId)
A unique identifier for the task execution.Created as “taskId:taskVersion:runNumber”.
- Parameters:
executionId- the value to set- Returns:
- this builder
-
timeTransitionedToWaitingDependencies
public ComputeTaskExecutionDetails.Builder timeTransitionedToWaitingDependencies(Date timeTransitionedToWaitingDependencies)
The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeTransitionedToWaitingDependencies- the value to set- Returns:
- this builder
-
timeTransitionedToWaitingQueued
public ComputeTaskExecutionDetails.Builder timeTransitionedToWaitingQueued(Date timeTransitionedToWaitingQueued)
The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeTransitionedToWaitingQueued- the value to set- Returns:
- this builder
-
timeStarted
public ComputeTaskExecutionDetails.Builder timeStarted(Date timeStarted)
The date and time when the lifecycleState was changed to In_Progress, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeCompleted
public ComputeTaskExecutionDetails.Builder timeCompleted(Date timeCompleted)
The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCompleted- the value to set- Returns:
- this builder
-
fleetShape
public ComputeTaskExecutionDetails.Builder fleetShape(FleetShapeExecutionDetails fleetShape)
-
completionLifecycleState
public ComputeTaskExecutionDetails.Builder completionLifecycleState(BatchTask.LifecycleState completionLifecycleState)
The terminal lifecycle state of the task for this execution.Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
- Parameters:
completionLifecycleState- the value to set- Returns:
- this builder
-
errors
public ComputeTaskExecutionDetails.Builder errors(List<String> errors)
List of error messages related to this task execution.Be aware that the maximum number of items returned may change in the future.
- Parameters:
errors- the value to set- Returns:
- this builder
-
build
public ComputeTaskExecutionDetails build()
-
copy
public ComputeTaskExecutionDetails.Builder copy(ComputeTaskExecutionDetails model)
-
-