Class JobActivity.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.JobActivity.Builder
-
- Enclosing class:
- JobActivity
public static class JobActivity.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public JobActivity.Builder id(String id)
Unique activity id at the action group level.In most cases, this would be a generated ActionGroupId.
- Parameters:
id
- the value to set- Returns:
- this builder
-
status
public JobActivity.Builder status(JobStatus status)
Status of the Job at Action Group Level.- Parameters:
status
- the value to set- Returns:
- this builder
-
timeStarted
public JobActivity.Builder timeStarted(Date timeStarted)
The time the execution for the Action Group started.An RFC3339 formatted datetime string.
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public JobActivity.Builder timeEnded(Date timeEnded)
The time the execution for the Action Group ended.An RFC3339 formatted datetime string
- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
runbookId
public JobActivity.Builder runbookId(String runbookId)
OCID of the runbook associated with the Action Group.- Parameters:
runbookId
- the value to set- Returns:
- this builder
-
runbookName
public JobActivity.Builder runbookName(String runbookName)
Name of the runbook associated with the Action Group.- Parameters:
runbookName
- the value to set- Returns:
- this builder
-
description
public 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.
- Parameters:
description
- the value to set- Returns:
- this builder
-
resourceLevelExecutions
public JobActivity.Builder resourceLevelExecutions(List<EntityExecutionDetails> resourceLevelExecutions)
List of Resource executions associated with the Action Group.- Parameters:
resourceLevelExecutions
- the value to set- Returns:
- this builder
-
build
public JobActivity build()
-
copy
public JobActivity.Builder copy(JobActivity model)
-
-