Class RunbookVersion.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.RunbookVersion.Builder
-
- Enclosing class:
- RunbookVersion
public static class RunbookVersion.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunbookVersion
build()
RunbookVersion.Builder
compartmentId(String compartmentId)
OCID of the compartment to which the resource belongs to.RunbookVersion.Builder
copy(RunbookVersion model)
RunbookVersion.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.RunbookVersion.Builder
executionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails)
RunbookVersion.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.RunbookVersion.Builder
groups(List<Group> groups)
The groups of the runbook.RunbookVersion.Builder
id(String id)
The OCID of the resource.RunbookVersion.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.RunbookVersion.Builder
lifecycleState(RunbookVersion.LifecycleState lifecycleState)
The current state of the FleetResource.RunbookVersion.Builder
name(String name)
The version of the runbook.RunbookVersion.Builder
rollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails)
RunbookVersion.Builder
runbookId(String runbookId)
The OCID of the resource.RunbookVersion.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.RunbookVersion.Builder
tasks(List<Task> tasks)
A set of tasks to execute in the runbook.RunbookVersion.Builder
timeCreated(Date timeCreated)
The time this resource was created.RunbookVersion.Builder
timeUpdated(Date timeUpdated)
The time this resource was last updated.
-
-
-
Method Detail
-
id
public RunbookVersion.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
runbookId
public RunbookVersion.Builder runbookId(String runbookId)
The OCID of the resource.- Parameters:
runbookId
- the value to set- Returns:
- this builder
-
compartmentId
public RunbookVersion.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 RunbookVersion.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 RunbookVersion.Builder groups(List<Group> groups)
The groups of the runbook.- Parameters:
groups
- the value to set- Returns:
- this builder
-
executionWorkflowDetails
public RunbookVersion.Builder executionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails)
-
rollbackWorkflowDetails
public RunbookVersion.Builder rollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails)
-
name
public RunbookVersion.Builder name(String name)
The version of the runbook.- Parameters:
name
- the value to set- Returns:
- this builder
-
lifecycleState
public RunbookVersion.Builder lifecycleState(RunbookVersion.LifecycleState lifecycleState)
The current state of the FleetResource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public RunbookVersion.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 RunbookVersion.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 RunbookVersion.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 RunbookVersion.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 RunbookVersion.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 RunbookVersion.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 RunbookVersion build()
-
copy
public RunbookVersion.Builder copy(RunbookVersion model)
-
-