Class Version.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.Version.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Versionbuild()Version.Buildercopy(Version model)Version.BuilderexecutionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails)Version.Buildergroups(List<Group> groups)The groups of the runbook.Version.BuilderisLatest(Boolean isLatest)Is this version the latest?Version.BuilderrollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails)Version.Buildertasks(List<Task> tasks)A set of tasks to execute in the runbook.Version.Builderversion(String version)The version of the runbook.
-
-
-
Method Detail
-
tasks
public Version.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 Version.Builder groups(List<Group> groups)
The groups of the runbook.- Parameters:
groups- the value to set- Returns:
- this builder
-
executionWorkflowDetails
public Version.Builder executionWorkflowDetails(ExecutionWorkflowDetails executionWorkflowDetails)
-
rollbackWorkflowDetails
public Version.Builder rollbackWorkflowDetails(RollbackWorkflowDetails rollbackWorkflowDetails)
-
version
public Version.Builder version(String version)
The version of the runbook.- Parameters:
version- the value to set- Returns:
- this builder
-
isLatest
public Version.Builder isLatest(Boolean isLatest)
Is this version the latest?- Parameters:
isLatest- the value to set- Returns:
- this builder
-
build
public Version build()
-
copy
public Version.Builder copy(Version model)
-
-