Class ManageModuleStreamsOnManagedInstanceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.ManageModuleStreamsOnManagedInstanceDetails.Builder
-
- Enclosing class:
- ManageModuleStreamsOnManagedInstanceDetails
public static class ManageModuleStreamsOnManagedInstanceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isDryRun
public ManageModuleStreamsOnManagedInstanceDetails.Builder isDryRun(Boolean isDryRun)
Indicates if this operation is a dry run or if the operation should be committed.If set to true, the result of the operation will be evaluated but not committed. If set to false, the operation is committed to the managed instance. The default is false.
- Parameters:
isDryRun
- the value to set- Returns:
- this builder
-
enable
public ManageModuleStreamsOnManagedInstanceDetails.Builder enable(List<ModuleStreamDetails> enable)
The set of module streams to enable.If any streams of a module are already enabled, the service switches from the current stream to the new stream. Once complete, the streams will be in ‘ENABLED’ status.
- Parameters:
enable
- the value to set- Returns:
- this builder
-
disable
public ManageModuleStreamsOnManagedInstanceDetails.Builder disable(List<ModuleStreamDetails> disable)
The set of module streams to disable.Any profiles that are installed for the module stream will be removed as part of the operation. Once complete, the streams will be in ‘DISABLED’ status.
- Parameters:
disable
- the value to set- Returns:
- this builder
-
install
public ManageModuleStreamsOnManagedInstanceDetails.Builder install(List<ModuleStreamProfileDetails> install)
The set of module stream profiles to install.Any packages that are part of the profile are installed on the managed instance. Once complete, the profile will be in ‘INSTALLED’ status. The operation will return an error if you attempt to install a profile from a disabled stream, unless enabling the new module stream is included in this operation.
- Parameters:
install
- the value to set- Returns:
- this builder
-
remove
public ManageModuleStreamsOnManagedInstanceDetails.Builder remove(List<ModuleStreamProfileDetails> remove)
The set of module stream profiles to remove.Once complete, the profile will be in ‘AVAILABLE’ status. The status of packages within the profile after the operation is complete is defined by the package manager on the managed instance group.
- Parameters:
remove
- the value to set- Returns:
- this builder
-
workRequestDetails
public ManageModuleStreamsOnManagedInstanceDetails.Builder workRequestDetails(WorkRequestDetails workRequestDetails)
-
build
public ManageModuleStreamsOnManagedInstanceDetails build()
-
copy
public ManageModuleStreamsOnManagedInstanceDetails.Builder copy(ManageModuleStreamsOnManagedInstanceDetails model)
-
-