Class ExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.ExecutionSummary.Builder
-
- Enclosing class:
- ExecutionSummary
public static class ExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public ExecutionSummary.Builder id(String id)
Unique Id associated with the task execution.- Parameters:
id
- the value to set- Returns:
- this builder
-
taskRecordId
public ExecutionSummary.Builder taskRecordId(String taskRecordId)
The OCID of taskRecord.- Parameters:
taskRecordId
- the value to set- Returns:
- this builder
-
stepName
public ExecutionSummary.Builder stepName(String stepName)
Name of the Step.- Parameters:
stepName
- the value to set- Returns:
- this builder
-
processReferenceId
public ExecutionSummary.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 ExecutionSummary.Builder sequence(String sequence)
The sequence of the task.- Parameters:
sequence
- the value to set- Returns:
- this builder
-
status
public ExecutionSummary.Builder status(JobStatus status)
Status of the Task.- Parameters:
status
- the value to set- Returns:
- this builder
-
targetId
public ExecutionSummary.Builder targetId(String targetId)
Target associated with the execution.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
timeStarted
public ExecutionSummary.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 ExecutionSummary.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 ExecutionSummary.Builder isRollbackTask(Boolean isRollbackTask)
Is this a rollback task?- Parameters:
isRollbackTask
- the value to set- Returns:
- this builder
-
description
public ExecutionSummary.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 ExecutionSummary.Builder resourceId(String resourceId)
Resource Identifier associated with the Work Request.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ExecutionSummary build()
-
copy
public ExecutionSummary.Builder copy(ExecutionSummary model)
-
-