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 ExecutionSummarybuild()ExecutionSummary.Buildercopy(ExecutionSummary model)ExecutionSummary.Builderdescription(String description)Description of the Execution status.ExecutionSummary.Builderid(String id)Unique Id associated with the task execution.ExecutionSummary.BuilderisRetryExceeded(Boolean isRetryExceeded)An attribute which tells if further retries are allowed for the task on failure.ExecutionSummary.BuilderisRollbackTask(Boolean isRollbackTask)Is this a rollback task?ExecutionSummary.BuilderprocessReferenceId(String processReferenceId)Unique process-reference identifier returned by the execution client.ExecutionSummary.BuilderresourceId(String resourceId)Resource Identifier associated with the Work Request.ExecutionSummary.Buildersequence(String sequence)The sequence of the task.ExecutionSummary.Builderstatus(JobStatus status)Status of the Task.ExecutionSummary.BuilderstepName(String stepName)Name of the Step.ExecutionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExecutionSummary.BuildertargetId(String targetId)Target associated with the execution.ExecutionSummary.BuildertaskRecordId(String taskRecordId)The OCID of taskRecord.ExecutionSummary.BuildertimeEnded(Date timeEnded)The time the task ended.ExecutionSummary.BuildertimeStarted(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
-
isRetryExceeded
public ExecutionSummary.Builder isRetryExceeded(Boolean isRetryExceeded)
An attribute which tells if further retries are allowed for the task on failure.- Parameters:
isRetryExceeded- 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)
-
-