public static class ExecutionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutionSummary |
build() |
ExecutionSummary.Builder |
copy(ExecutionSummary model) |
ExecutionSummary.Builder |
description(String description)
Description of the Execution status.
|
ExecutionSummary.Builder |
id(String id)
Unique Id associated with the task execution.
|
ExecutionSummary.Builder |
isRollbackTask(Boolean isRollbackTask)
Is this a rollback task?
|
ExecutionSummary.Builder |
processReferenceId(String processReferenceId)
Unique process-reference identifier returned by the execution client.
|
ExecutionSummary.Builder |
resourceId(String resourceId)
Resource Identifier associated with the Work Request.
|
ExecutionSummary.Builder |
sequence(String sequence)
The sequence of the task.
|
ExecutionSummary.Builder |
status(JobStatus status)
Status of the Task.
|
ExecutionSummary.Builder |
stepName(String stepName)
Name of the Step.
|
ExecutionSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ExecutionSummary.Builder |
targetId(String targetId)
Target associated with the execution.
|
ExecutionSummary.Builder |
taskRecordId(String taskRecordId)
The OCID of taskRecord.
|
ExecutionSummary.Builder |
timeEnded(Date timeEnded)
The time the task ended.
|
ExecutionSummary.Builder |
timeStarted(Date timeStarted)
The time the task started.
|
public ExecutionSummary.Builder id(String id)
Unique Id associated with the task execution.
id
- the value to setpublic ExecutionSummary.Builder taskRecordId(String taskRecordId)
The OCID of taskRecord.
taskRecordId
- the value to setpublic ExecutionSummary.Builder stepName(String stepName)
Name of the Step.
stepName
- the value to setpublic ExecutionSummary.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 ExecutionSummary.Builder sequence(String sequence)
The sequence of the task.
sequence
- the value to setpublic ExecutionSummary.Builder status(JobStatus status)
Status of the Task.
status
- the value to setpublic ExecutionSummary.Builder targetId(String targetId)
Target associated with the execution.
targetId
- the value to setpublic ExecutionSummary.Builder timeStarted(Date timeStarted)
The time the task started. An RFC3339 formatted datetime string.
timeStarted
- the value to setpublic ExecutionSummary.Builder timeEnded(Date timeEnded)
The time the task ended. An RFC3339 formatted datetime string.
timeEnded
- the value to setpublic ExecutionSummary.Builder isRollbackTask(Boolean isRollbackTask)
Is this a rollback task?
isRollbackTask
- the value to setpublic ExecutionSummary.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 ExecutionSummary.Builder resourceId(String resourceId)
Resource Identifier associated with the Work Request.
resourceId
- the value to setpublic ExecutionSummary.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 ExecutionSummary build()
public ExecutionSummary.Builder copy(ExecutionSummary model)
Copyright © 2016–2024. All rights reserved.