Class Execution.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.Execution.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution
build()
Execution.Builder
copy(Execution model)
Execution.Builder
description(String description)
Description of the Execution status.Execution.Builder
id(String id)
Unique Id associated with the task execution.Execution.Builder
isRollbackTask(Boolean isRollbackTask)
Is this a rollback task?Execution.Builder
outcome(Outcome outcome)
Execution.Builder
processReferenceId(String processReferenceId)
Unique process-reference identifier returned by the execution client.Execution.Builder
resourceId(String resourceId)
Resource Identifier associated with the Work Request.Execution.Builder
sequence(String sequence)
The sequence of the task.Execution.Builder
status(JobStatus status)
Status of the TaskExecution.Builder
stepName(String stepName)
Name of the step.Execution.Builder
subjects(List<String> subjects)
Subjects that are tied to the task.Execution.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Execution.Builder
targetId(String targetId)
Target associated with the execution.Execution.Builder
taskRecordId(String taskRecordId)
The OCID of taskRecord.Execution.Builder
timeEnded(Date timeEnded)
The time the task ended.Execution.Builder
timeStarted(Date timeStarted)
The time the task started.
-
-
-
Method Detail
-
id
public Execution.Builder id(String id)
Unique Id associated with the task execution.- Parameters:
id
- the value to set- Returns:
- this builder
-
taskRecordId
public Execution.Builder taskRecordId(String taskRecordId)
The OCID of taskRecord.- Parameters:
taskRecordId
- the value to set- Returns:
- this builder
-
stepName
public Execution.Builder stepName(String stepName)
Name of the step.- Parameters:
stepName
- the value to set- Returns:
- this builder
-
processReferenceId
public Execution.Builder processReferenceId(String processReferenceId)
Unique process-reference identifier returned by the execution client.In some cases, this can be a runcommand OCID.
- Parameters:
processReferenceId
- the value to set- Returns:
- this builder
-
sequence
public Execution.Builder sequence(String sequence)
The sequence of the task.- Parameters:
sequence
- the value to set- Returns:
- this builder
-
subjects
public Execution.Builder subjects(List<String> subjects)
Subjects that are tied to the task.- Parameters:
subjects
- the value to set- Returns:
- this builder
-
status
public Execution.Builder status(JobStatus status)
Status of the Task- Parameters:
status
- the value to set- Returns:
- this builder
-
outcome
public Execution.Builder outcome(Outcome outcome)
-
targetId
public Execution.Builder targetId(String targetId)
Target associated with the execution.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
timeStarted
public Execution.Builder timeStarted(Date timeStarted)
The time the task started.An RFC3339 formatted datetime string.
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public Execution.Builder timeEnded(Date timeEnded)
The time the task ended.An RFC3339 formatted datetime string.
- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
isRollbackTask
public Execution.Builder isRollbackTask(Boolean isRollbackTask)
Is this a rollback task?- Parameters:
isRollbackTask
- the value to set- Returns:
- this builder
-
description
public Execution.Builder description(String description)
Description of the Execution status.If there are any errors, this can also include a short error message.
- Parameters:
description
- the value to set- Returns:
- this builder
-
resourceId
public Execution.Builder resourceId(String resourceId)
Resource Identifier associated with the Work Request.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
systemTags
public Execution.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public Execution build()
-
copy
public Execution.Builder copy(Execution model)
-
-