public static class ScheduledJob.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduledJob |
build() |
ScheduledJob.Builder |
compartmentId(String compartmentId)
OCID for the Compartment
|
ScheduledJob.Builder |
copy(ScheduledJob model) |
ScheduledJob.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ScheduledJob.Builder |
description(String description)
Details describing the Scheduled Job.
|
ScheduledJob.Builder |
displayName(String displayName)
Scheduled Job name
|
ScheduledJob.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ScheduledJob.Builder |
id(String id)
OCID for the Scheduled Job
|
ScheduledJob.Builder |
intervalType(IntervalTypes intervalType)
the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
|
ScheduledJob.Builder |
intervalValue(String intervalValue)
the value for the interval period for a recurring Scheduled Job (only if schedule type is
RECURRING)
|
ScheduledJob.Builder |
isRestricted(Boolean isRestricted)
true, if the schedule job has its update capabilities restricted.
|
ScheduledJob.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of the Scheduled Job.
|
ScheduledJob.Builder |
managedInstanceGroups(List<Id> managedInstanceGroups)
the list of managed instance groups this scheduled job operates on (mutually exclusive
with managedInstances)
|
ScheduledJob.Builder |
managedInstances(List<Id> managedInstances)
the list of managed instances this scheduled job operates on (mutually exclusive with
managedInstanceGroups)
|
ScheduledJob.Builder |
operationType(OperationTypes operationType)
the type of operation this Scheduled Job performs
|
ScheduledJob.Builder |
osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.
|
ScheduledJob.Builder |
packageNames(List<PackageName> packageNames)
the names of the updates (only if operation type is INSTALL/UPDATE/REMOVE)
|
ScheduledJob.Builder |
scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job follows
|
ScheduledJob.Builder |
timeLastExecution(Date timeLastExecution)
the time of the last execution of this Scheduled Job
|
ScheduledJob.Builder |
timeNextExecution(Date timeNextExecution)
the time of the next execution of this Scheduled Job
|
ScheduledJob.Builder |
updateNames(List<String> updateNames)
The unique names of the Windows Updates (only if operation type is INSTALL).
|
ScheduledJob.Builder |
updateType(PackageUpdateTypes updateType)
Type of the update (only if operation type is UPDATEALL)
|
ScheduledJob.Builder |
workRequests(List<Id> workRequests)
list of Work Requests associated with this Scheduled Job
|
public ScheduledJob.Builder id(String id)
OCID for the Scheduled Job
id
- the value to setpublic ScheduledJob.Builder compartmentId(String compartmentId)
OCID for the Compartment
compartmentId
- the value to setpublic ScheduledJob.Builder displayName(String displayName)
Scheduled Job name
displayName
- the value to setpublic ScheduledJob.Builder description(String description)
Details describing the Scheduled Job.
description
- the value to setpublic ScheduledJob.Builder scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job follows
scheduleType
- the value to setpublic ScheduledJob.Builder timeNextExecution(Date timeNextExecution)
the time of the next execution of this Scheduled Job
timeNextExecution
- the value to setpublic ScheduledJob.Builder timeLastExecution(Date timeLastExecution)
the time of the last execution of this Scheduled Job
timeLastExecution
- the value to setpublic ScheduledJob.Builder intervalType(IntervalTypes intervalType)
the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
intervalType
- the value to setpublic ScheduledJob.Builder intervalValue(String intervalValue)
the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
intervalValue
- the value to setpublic ScheduledJob.Builder managedInstances(List<Id> managedInstances)
the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups)
managedInstances
- the value to setpublic ScheduledJob.Builder managedInstanceGroups(List<Id> managedInstanceGroups)
the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances)
managedInstanceGroups
- the value to setpublic ScheduledJob.Builder operationType(OperationTypes operationType)
the type of operation this Scheduled Job performs
operationType
- the value to setpublic ScheduledJob.Builder updateType(PackageUpdateTypes updateType)
Type of the update (only if operation type is UPDATEALL)
updateType
- the value to setpublic ScheduledJob.Builder packageNames(List<PackageName> packageNames)
the names of the updates (only if operation type is INSTALL/UPDATE/REMOVE)
packageNames
- the value to setpublic ScheduledJob.Builder workRequests(List<Id> workRequests)
list of Work Requests associated with this Scheduled Job
workRequests
- the value to setpublic ScheduledJob.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the Scheduled Job.
lifecycleState
- the value to setpublic ScheduledJob.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ScheduledJob.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ScheduledJob.Builder updateNames(List<String> updateNames)
The unique names of the Windows Updates (only if operation type is INSTALL). This is only applicable when the osFamily is for Windows managed instances.
updateNames
- the value to setpublic ScheduledJob.Builder osFamily(OsFamilies osFamily)
The Operating System type of the managed instance.
osFamily
- the value to setpublic ScheduledJob.Builder isRestricted(Boolean isRestricted)
true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job)
isRestricted
- the value to setpublic ScheduledJob build()
public ScheduledJob.Builder copy(ScheduledJob model)
Copyright © 2016–2024. All rights reserved.