Class ScheduledJobOperation.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.ScheduledJobOperation.Builder
-
- Enclosing class:
- ScheduledJobOperation
public static class ScheduledJobOperation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
operationType
public ScheduledJobOperation.Builder operationType(OperationTypes operationType)
The type of operation this scheduled job performs.- Parameters:
operationType
- the value to set- Returns:
- this builder
-
packageNames
public ScheduledJobOperation.Builder packageNames(List<String> packageNames)
The names of the target packages.This parameter only applies when the scheduled job is for installing, updating, or removing packages.
- Parameters:
packageNames
- the value to set- Returns:
- this builder
-
windowsUpdateNames
public ScheduledJobOperation.Builder windowsUpdateNames(List<String> windowsUpdateNames)
Unique identifier for the Windows update.This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: ‘6981d463-cd91-4a26-b7c4-ea4ded9183ed’.
- Parameters:
windowsUpdateNames
- the value to set- Returns:
- this builder
-
manageModuleStreamsDetails
public ScheduledJobOperation.Builder manageModuleStreamsDetails(ManageModuleStreamsInScheduledJobDetails manageModuleStreamsDetails)
-
switchModuleStreamsDetails
public ScheduledJobOperation.Builder switchModuleStreamsDetails(ModuleStreamDetails switchModuleStreamsDetails)
-
softwareSourceIds
public ScheduledJobOperation.Builder softwareSourceIds(List<String> softwareSourceIds)
The software source OCIDs.This parameter only applies when the scheduled job is for attaching or detaching software sources.
- Parameters:
softwareSourceIds
- the value to set- Returns:
- this builder
-
rebootTimeoutInMins
public ScheduledJobOperation.Builder rebootTimeoutInMins(Integer rebootTimeoutInMins)
The number of minutes the service waits for the reboot to complete.If the instance doesn’t reboot within the timeout, the service marks the reboot job as failed.
- Parameters:
rebootTimeoutInMins
- the value to set- Returns:
- this builder
-
build
public ScheduledJobOperation build()
-
copy
public ScheduledJobOperation.Builder copy(ScheduledJobOperation model)
-
-