Class UpdateScheduledJobDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagement.model.UpdateScheduledJobDetails.Builder
-
- Enclosing class:
- UpdateScheduledJobDetails
public static class UpdateScheduledJobDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateScheduledJobDetails
build()
UpdateScheduledJobDetails.Builder
copy(UpdateScheduledJobDetails model)
UpdateScheduledJobDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateScheduledJobDetails.Builder
description(String description)
Details describing the Scheduled Job.UpdateScheduledJobDetails.Builder
displayName(String displayName)
Scheduled Job nameUpdateScheduledJobDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateScheduledJobDetails.Builder
intervalType(IntervalTypes intervalType)
the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)UpdateScheduledJobDetails.Builder
intervalValue(String intervalValue)
the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)UpdateScheduledJobDetails.Builder
operationType(OperationTypes operationType)
the type of operation this Scheduled Job performsUpdateScheduledJobDetails.Builder
packageNames(List<PackageName> packageNames)
the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)UpdateScheduledJobDetails.Builder
scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job followsUpdateScheduledJobDetails.Builder
timeNextExecution(Date timeNextExecution)
the desired time for the next execution of this Scheduled JobUpdateScheduledJobDetails.Builder
updateNames(List<String> updateNames)
The unique names of the Windows Updates (only if operation type is INSTALL).UpdateScheduledJobDetails.Builder
updateType(PackageUpdateTypes updateType)
Type of the update (only if operation type is UPDATEALL)
-
-
-
Method Detail
-
displayName
public UpdateScheduledJobDetails.Builder displayName(String displayName)
Scheduled Job name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateScheduledJobDetails.Builder description(String description)
Details describing the Scheduled Job.- Parameters:
description
- the value to set- Returns:
- this builder
-
scheduleType
public UpdateScheduledJobDetails.Builder scheduleType(ScheduleTypes scheduleType)
the type of scheduling this Scheduled Job follows- Parameters:
scheduleType
- the value to set- Returns:
- this builder
-
timeNextExecution
public UpdateScheduledJobDetails.Builder timeNextExecution(Date timeNextExecution)
the desired time for the next execution of this Scheduled Job- Parameters:
timeNextExecution
- the value to set- Returns:
- this builder
-
intervalType
public UpdateScheduledJobDetails.Builder intervalType(IntervalTypes intervalType)
the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)- Parameters:
intervalType
- the value to set- Returns:
- this builder
-
intervalValue
public UpdateScheduledJobDetails.Builder intervalValue(String intervalValue)
the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING)- Parameters:
intervalValue
- the value to set- Returns:
- this builder
-
operationType
public UpdateScheduledJobDetails.Builder operationType(OperationTypes operationType)
the type of operation this Scheduled Job performs- Parameters:
operationType
- the value to set- Returns:
- this builder
-
updateType
public UpdateScheduledJobDetails.Builder updateType(PackageUpdateTypes updateType)
Type of the update (only if operation type is UPDATEALL)- Parameters:
updateType
- the value to set- Returns:
- this builder
-
packageNames
public UpdateScheduledJobDetails.Builder packageNames(List<PackageName> packageNames)
the id of the package (only if operation type is INSTALL/UPDATE/REMOVE)- Parameters:
packageNames
- the value to set- Returns:
- this builder
-
updateNames
public UpdateScheduledJobDetails.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.
- Parameters:
updateNames
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateScheduledJobDetails.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateScheduledJobDetails.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateScheduledJobDetails build()
-
copy
public UpdateScheduledJobDetails.Builder copy(UpdateScheduledJobDetails model)
-
-