public static class JobActivity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobActivity |
build() |
JobActivity.Builder |
copy(JobActivity model) |
JobActivity.Builder |
description(String description)
A description of the Job Activity status.
|
JobActivity.Builder |
id(String id)
Unique activity id at the action group level.
|
JobActivity.Builder |
resourceLevelExecutions(List<EntityExecutionDetails> resourceLevelExecutions)
List of Resource executions associated with the Action Group.
|
JobActivity.Builder |
runbookId(String runbookId)
OCID of the runbook associated with the Action Group.
|
JobActivity.Builder |
runbookName(String runbookName)
Name of the runbook associated with the Action Group.
|
JobActivity.Builder |
status(JobStatus status)
Status of the Job at Action Group Level.
|
JobActivity.Builder |
timeEnded(Date timeEnded)
The time the execution for the Action Group ended.
|
JobActivity.Builder |
timeStarted(Date timeStarted)
The time the execution for the Action Group started.
|
public JobActivity.Builder id(String id)
Unique activity id at the action group level. In most cases, this would be a generated ActionGroupId.
id
- the value to setpublic JobActivity.Builder status(JobStatus status)
Status of the Job at Action Group Level.
status
- the value to setpublic JobActivity.Builder timeStarted(Date timeStarted)
The time the execution for the Action Group started. An RFC3339 formatted datetime string.
timeStarted
- the value to setpublic JobActivity.Builder timeEnded(Date timeEnded)
The time the execution for the Action Group ended. An RFC3339 formatted datetime string
timeEnded
- the value to setpublic JobActivity.Builder runbookId(String runbookId)
OCID of the runbook associated with the Action Group.
runbookId
- the value to setpublic JobActivity.Builder runbookName(String runbookName)
Name of the runbook associated with the Action Group.
runbookName
- the value to setpublic JobActivity.Builder description(String description)
A description of the Job Activity status. If there are any errors, this can also include a short error message.
description
- the value to setpublic JobActivity.Builder resourceLevelExecutions(List<EntityExecutionDetails> resourceLevelExecutions)
List of Resource executions associated with the Action Group.
resourceLevelExecutions
- the value to setpublic JobActivity build()
public JobActivity.Builder copy(JobActivity model)
Copyright © 2016–2024. All rights reserved.