Class RunbookVersion.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.RunbookVersion.Builder
 
- 
- Enclosing class:
- RunbookVersion
 
 public static class RunbookVersion.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RunbookVersionbuild()RunbookVersion.BuildercompartmentId(String compartmentId)OCID of the compartment to which the resource belongs to.RunbookVersion.Buildercopy(RunbookVersion model)RunbookVersion.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RunbookVersion.BuilderexecutionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails)RunbookVersion.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.RunbookVersion.Buildergroups(List<Group> groups)The groups of the runbook.RunbookVersion.Builderid(String id)The OCID of the resource.RunbookVersion.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.RunbookVersion.BuilderlifecycleState(RunbookVersion.LifecycleState lifecycleState)The current state of the FleetResource.RunbookVersion.Buildername(String name)The version of the runbook.RunbookVersion.BuilderrollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails)RunbookVersion.BuilderrunbookId(String runbookId)The OCID of the resource.RunbookVersion.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.RunbookVersion.Buildertasks(List<Task> tasks)A set of tasks to execute in the runbook.RunbookVersion.BuildertimeCreated(Date timeCreated)The time this resource was created.RunbookVersion.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
 
- 
- 
- 
Method Detail- 
idpublic RunbookVersion.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
runbookIdpublic RunbookVersion.Builder runbookId(String runbookId) The OCID of the resource.- Parameters:
- runbookId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic RunbookVersion.Builder compartmentId(String compartmentId) OCID of the compartment to which the resource belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
taskspublic RunbookVersion.Builder tasks(List<Task> tasks) A set of tasks to execute in the runbook.- Parameters:
- tasks- the value to set
- Returns:
- this builder
 
 - 
groupspublic RunbookVersion.Builder groups(List<Group> groups) The groups of the runbook.- Parameters:
- groups- the value to set
- Returns:
- this builder
 
 - 
executionWorkflowDetailspublic RunbookVersion.Builder executionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails) 
 - 
rollbackWorkflowDetailspublic RunbookVersion.Builder rollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails) 
 - 
namepublic RunbookVersion.Builder name(String name) The version of the runbook.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic RunbookVersion.Builder lifecycleState(RunbookVersion.LifecycleState lifecycleState) The current state of the FleetResource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic RunbookVersion build() 
 - 
copypublic RunbookVersion.Builder copy(RunbookVersion model) 
 
- 
 
-