Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 Task
|
Execution.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.
|
public Execution.Builder id(String id)
Unique Id associated with the task execution.
id
- the value to setpublic Execution.Builder taskRecordId(String taskRecordId)
The OCID of taskRecord.
taskRecordId
- the value to setpublic Execution.Builder stepName(String stepName)
Name of the step.
stepName
- the value to setpublic Execution.Builder processReferenceId(String processReferenceId)
Unique process-reference identifier returned by the execution client. In some cases, this can be a runcommand OCID.
processReferenceId
- the value to setpublic Execution.Builder sequence(String sequence)
The sequence of the task.
sequence
- the value to setpublic Execution.Builder subjects(List<String> subjects)
Subjects that are tied to the task.
subjects
- the value to setpublic Execution.Builder status(JobStatus status)
Status of the Task
status
- the value to setpublic Execution.Builder outcome(Outcome outcome)
public Execution.Builder targetId(String targetId)
Target associated with the execution.
targetId
- the value to setpublic Execution.Builder timeStarted(Date timeStarted)
The time the task started. An RFC3339 formatted datetime string.
timeStarted
- the value to setpublic Execution.Builder timeEnded(Date timeEnded)
The time the task ended. An RFC3339 formatted datetime string.
timeEnded
- the value to setpublic Execution.Builder isRollbackTask(Boolean isRollbackTask)
Is this a rollback task?
isRollbackTask
- the value to setpublic Execution.Builder description(String description)
Description of the Execution status. If there are any errors, this can also include a short error message.
description
- the value to setpublic Execution.Builder resourceId(String resourceId)
Resource Identifier associated with the Work Request.
resourceId
- the value to setpublic 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"}}
systemTags
- the value to setpublic Execution build()
public Execution.Builder copy(Execution model)
Copyright © 2016–2024. All rights reserved.