public static class ManageModuleStreamsOnManagedInstanceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
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.
isDryRun
- the value to setpublic 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.
enable
- the value to setpublic 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.
disable
- the value to setpublic 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.
install
- the value to setpublic 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.
remove
- the value to setpublic ManageModuleStreamsOnManagedInstanceDetails.Builder workRequestDetails(WorkRequestDetails workRequestDetails)
public ManageModuleStreamsOnManagedInstanceDetails build()
public ManageModuleStreamsOnManagedInstanceDetails.Builder copy(ManageModuleStreamsOnManagedInstanceDetails model)
Copyright © 2016–2024. All rights reserved.