Class Execution.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.Execution.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Executionbuild()Execution.Buildercopy(Execution model)Execution.Builderdescription(String description)Description of the Execution status.Execution.Builderid(String id)Unique Id associated with the task execution.Execution.BuilderisRetryExceeded(Boolean isRetryExceeded)An attribute which tells if further retries are allowed for the task on failure.Execution.BuilderisRollbackTask(Boolean isRollbackTask)Is this a rollback task?Execution.Builderoutcome(Outcome outcome)Execution.BuilderprocessReferenceId(String processReferenceId)Unique process-reference identifier returned by the execution client.Execution.BuilderresourceId(String resourceId)Resource Identifier associated with the Work Request.Execution.Buildersequence(String sequence)The sequence of the task.Execution.Builderstatus(JobStatus status)Status of the TaskExecution.BuilderstepName(String stepName)Name of the step.Execution.Buildersubjects(List<String> subjects)Subjects that are tied to the task.Execution.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Execution.BuildertargetId(String targetId)Target associated with the execution.Execution.BuildertaskRecordId(String taskRecordId)The OCID of taskRecord.Execution.BuildertimeEnded(Date timeEnded)The time the task ended.Execution.BuildertimeStarted(Date timeStarted)The time the task started.
 
- 
- 
- 
Method Detail- 
idpublic Execution.Builder id(String id) Unique Id associated with the task execution.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
taskRecordIdpublic Execution.Builder taskRecordId(String taskRecordId) The OCID of taskRecord.- Parameters:
- taskRecordId- the value to set
- Returns:
- this builder
 
 - 
stepNamepublic Execution.Builder stepName(String stepName) Name of the step.- Parameters:
- stepName- the value to set
- Returns:
- this builder
 
 - 
processReferenceIdpublic 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
 
 - 
sequencepublic Execution.Builder sequence(String sequence) The sequence of the task.- Parameters:
- sequence- the value to set
- Returns:
- this builder
 
 - 
subjectspublic Execution.Builder subjects(List<String> subjects) Subjects that are tied to the task.- Parameters:
- subjects- the value to set
- Returns:
- this builder
 
 - 
statuspublic Execution.Builder status(JobStatus status) Status of the Task- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
outcomepublic Execution.Builder outcome(Outcome outcome) 
 - 
targetIdpublic Execution.Builder targetId(String targetId) Target associated with the execution.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic Execution.Builder timeStarted(Date timeStarted) The time the task started.An RFC3339 formatted datetime string. - Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic Execution.Builder timeEnded(Date timeEnded) The time the task ended.An RFC3339 formatted datetime string. - Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
isRollbackTaskpublic Execution.Builder isRollbackTask(Boolean isRollbackTask) Is this a rollback task?- Parameters:
- isRollbackTask- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic 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
 
 - 
resourceIdpublic Execution.Builder resourceId(String resourceId) Resource Identifier associated with the Work Request.- Parameters:
- resourceId- the value to set
- Returns:
- this builder
 
 - 
isRetryExceededpublic Execution.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
 
 - 
systemTagspublic 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
 
 - 
buildpublic Execution build() 
 - 
copypublic Execution.Builder copy(Execution model) 
 
- 
 
-