public static class CreateScheduledJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateScheduledJobDetails |
build() |
CreateScheduledJobDetails.Builder |
compartmentId(String compartmentId)
OCID for the Compartment
|
CreateScheduledJobDetails.Builder |
copy(CreateScheduledJobDetails model) |
CreateScheduledJobDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateScheduledJobDetails.Builder |
description(String description)
Details describing the Scheduled Job.
|
CreateScheduledJobDetails.Builder |
displayName(String displayName)
Scheduled Job name
|
CreateScheduledJobDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateScheduledJobDetails.Builder |
intervalType(IntervalTypes intervalType)
the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
|
CreateScheduledJobDetails.Builder |
intervalValue(String intervalValue)
the value for the interval period for a recurring Scheduled Job (only if schedule type is
RECURRING)
|
CreateScheduledJobDetails.Builder |
managedInstanceGroups(List<Id> managedInstanceGroups)
The list of managed instance groups this scheduled job operates on (mutually exclusive
with managedInstances).
|
CreateScheduledJobDetails.Builder |
managedInstances(List<Id> managedInstances)
The list of managed instances this scheduled job operates on (mutually exclusive with
managedInstanceGroups).
|
CreateScheduledJobDetails.Builder |
operationType(OperationTypes operationType)
the type of operation this Scheduled Job performs
|
CreateScheduledJobDetails.Builder |
osFamily(OsFamilies osFamily)
The Operating System type of the managed instance(s) on which this scheduled job will
operate.
|
CreateScheduledJobDetails.Builder |
packageNames(List<PackageName> packageNames)
the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)
|
CreateScheduledJobDetails.Builder |
scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job follows
|
CreateScheduledJobDetails.Builder |
timeNextExecution(Date timeNextExecution)
the desired time for the next execution of this Scheduled Job
|
CreateScheduledJobDetails.Builder |
updateNames(List<String> updateNames)
The unique names of the Windows Updates (only if operation type is INSTALL).
|
CreateScheduledJobDetails.Builder |
updateType(PackageUpdateTypes updateType)
Type of the update (only if operation type is UPDATEALL)
|
public CreateScheduledJobDetails.Builder compartmentId(String compartmentId)
OCID for the Compartment
compartmentId
- the value to setpublic CreateScheduledJobDetails.Builder displayName(String displayName)
Scheduled Job name
displayName
- the value to setpublic CreateScheduledJobDetails.Builder description(String description)
Details describing the Scheduled Job.
description
- the value to setpublic CreateScheduledJobDetails.Builder scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job follows
scheduleType
- the value to setpublic CreateScheduledJobDetails.Builder timeNextExecution(Date timeNextExecution)
the desired time for the next execution of this Scheduled Job
timeNextExecution
- the value to setpublic CreateScheduledJobDetails.Builder intervalType(IntervalTypes intervalType)
the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)
intervalType
- the value to setpublic CreateScheduledJobDetails.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 CreateScheduledJobDetails.Builder managedInstances(List<Id> managedInstances)
The list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups). Either this or the managedInstanceGroups must be supplied.
managedInstances
- the value to setpublic CreateScheduledJobDetails.Builder managedInstanceGroups(List<Id> managedInstanceGroups)
The list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances). Either this or managedInstances must be supplied.
managedInstanceGroups
- the value to setpublic CreateScheduledJobDetails.Builder operationType(OperationTypes operationType)
the type of operation this Scheduled Job performs
operationType
- the value to setpublic CreateScheduledJobDetails.Builder updateType(PackageUpdateTypes updateType)
Type of the update (only if operation type is UPDATEALL)
updateType
- the value to setpublic CreateScheduledJobDetails.Builder packageNames(List<PackageName> packageNames)
the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)
packageNames
- the value to setpublic CreateScheduledJobDetails.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 CreateScheduledJobDetails.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 CreateScheduledJobDetails.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 CreateScheduledJobDetails.Builder osFamily(OsFamilies osFamily)
The Operating System type of the managed instance(s) on which this scheduled job will operate. If not specified, this defaults to Linux.
osFamily
- the value to setpublic CreateScheduledJobDetails build()
public CreateScheduledJobDetails.Builder copy(CreateScheduledJobDetails model)
Copyright © 2016–2024. All rights reserved.