Class RunbookVersionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.RunbookVersionSummary.Builder
-
- Enclosing class:
- RunbookVersionSummary
public static class RunbookVersionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public RunbookVersionSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
runbookId
public RunbookVersionSummary.Builder runbookId(String runbookId)
The OCID of the resource.- Parameters:
runbookId
- the value to set- Returns:
- this builder
-
compartmentId
public RunbookVersionSummary.Builder compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
tasks
public RunbookVersionSummary.Builder tasks(List<Task> tasks)
A set of tasks to execute in the runbook.- Parameters:
tasks
- the value to set- Returns:
- this builder
-
groups
public RunbookVersionSummary.Builder groups(List<Group> groups)
The groups of the runbook.- Parameters:
groups
- the value to set- Returns:
- this builder
-
executionWorkflowDetails
public RunbookVersionSummary.Builder executionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails)
-
rollbackWorkflowDetails
public RunbookVersionSummary.Builder rollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails)
-
name
public RunbookVersionSummary.Builder name(String name)
The version of the runbook.- Parameters:
name
- the value to set- Returns:
- this builder
-
isLatest
public RunbookVersionSummary.Builder isLatest(Boolean isLatest)
Is the latest version for the runbook?- Parameters:
isLatest
- the value to set- Returns:
- this builder
-
lifecycleState
public RunbookVersionSummary.Builder lifecycleState(RunbookVersion.LifecycleState lifecycleState)
The current state of the Runbook.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public RunbookVersionSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public RunbookVersionSummary.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public RunbookVersionSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public RunbookVersionSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public RunbookVersionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public RunbookVersionSummary.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 RunbookVersionSummary build()
-
copy
public RunbookVersionSummary.Builder copy(RunbookVersionSummary model)
-
-