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 JobActivitybuild()JobActivity.Buildercopy(JobActivity model)JobActivity.Builderdescription(String description)A description of the Job Activity status.JobActivity.Builderid(String id)Unique activity id at the action group level.JobActivity.BuilderresourceLevelExecutions(List<EntityExecutionDetails> resourceLevelExecutions)List of Resource executions associated with the Action Group.JobActivity.BuilderrunbookId(String runbookId)OCID of the runbook associated with the Action Group.JobActivity.BuilderrunbookName(String runbookName)Name of the runbook associated with the Action Group.JobActivity.BuilderrunbookVersionName(String runbookVersionName)Name of the RunbookVersion associated with the Action Group.JobActivity.Builderstatus(JobStatus status)Status of the Job at Action Group Level.JobActivity.BuildertimeEnded(Date timeEnded)The time the execution for the Action Group ended.JobActivity.BuildertimeStarted(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
-
runbookVersionName
public JobActivity.Builder runbookVersionName(String runbookVersionName)
Name of the RunbookVersion associated with the Action Group.- Parameters:
runbookVersionName- 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)
-
-