public static class ScheduledJobOperation.Builder extends Object
Constructor and Description |
---|
Builder() |
public ScheduledJobOperation.Builder operationType(OperationTypes operationType)
The type of operation this scheduled job performs.
operationType
- the value to setpublic 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.
packageNames
- the value to setpublic 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’.
windowsUpdateNames
- the value to setpublic ScheduledJobOperation.Builder manageModuleStreamsDetails(ManageModuleStreamsInScheduledJobDetails manageModuleStreamsDetails)
public ScheduledJobOperation.Builder switchModuleStreamsDetails(ModuleStreamDetails switchModuleStreamsDetails)
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.
softwareSourceIds
- the value to setpublic 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.
rebootTimeoutInMins
- the value to setpublic ScheduledJobOperation build()
public ScheduledJobOperation.Builder copy(ScheduledJobOperation model)
Copyright © 2016–2025. All rights reserved.