Class UpdateScheduledJobDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.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)
User-specified description for the scheduled job.UpdateScheduledJobDetails.Builder
displayName(String displayName)
User-friendly name for the scheduled job.UpdateScheduledJobDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateScheduledJobDetails.Builder
operations(List<ScheduledJobOperation> operations)
The list of operations this scheduled job needs to perform.UpdateScheduledJobDetails.Builder
recurringRule(String recurringRule)
The frequency schedule for a recurring scheduled job.UpdateScheduledJobDetails.Builder
retryIntervals(List<Integer> retryIntervals)
The amount of time in minutes to wait until retrying the scheduled job.UpdateScheduledJobDetails.Builder
scheduleType(ScheduleTypes scheduleType)
The type of scheduling frequency for the job.UpdateScheduledJobDetails.Builder
timeNextExecution(Date timeNextExecution)
The time of the next execution of this scheduled job (in RFC 3339 format).
-
-
-
Method Detail
-
displayName
public UpdateScheduledJobDetails.Builder displayName(String displayName)
User-friendly name for the scheduled job.Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateScheduledJobDetails.Builder description(String description)
User-specified description for the scheduled job.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
scheduleType
public UpdateScheduledJobDetails.Builder scheduleType(ScheduleTypes scheduleType)
The type of scheduling frequency for the job.- Parameters:
scheduleType
- the value to set- Returns:
- this builder
-
timeNextExecution
public UpdateScheduledJobDetails.Builder timeNextExecution(Date timeNextExecution)
The time of the next execution of this scheduled job (in RFC 3339 format).- Parameters:
timeNextExecution
- the value to set- Returns:
- this builder
-
recurringRule
public UpdateScheduledJobDetails.Builder recurringRule(String recurringRule)
The frequency schedule for a recurring scheduled job.- Parameters:
recurringRule
- the value to set- Returns:
- this builder
-
operations
public UpdateScheduledJobDetails.Builder operations(List<ScheduledJobOperation> operations)
The list of operations this scheduled job needs to perform.A scheduled job supports only one operation type, unless it is one of the following: * UPDATE_PACKAGES * UPDATE_ALL * UPDATE_SECURITY * UPDATE_BUGFIX * UPDATE_ENHANCEMENT * UPDATE_OTHER * UPDATE_KSPLICE_USERSPACE * UPDATE_KSPLICE_KERNEL
- Parameters:
operations
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateScheduledJobDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- 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. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
retryIntervals
public UpdateScheduledJobDetails.Builder retryIntervals(List<Integer> retryIntervals)
The amount of time in minutes to wait until retrying the scheduled job.If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
- Parameters:
retryIntervals
- the value to set- Returns:
- this builder
-
build
public UpdateScheduledJobDetails build()
-
copy
public UpdateScheduledJobDetails.Builder copy(UpdateScheduledJobDetails model)
-
-