public static class UpdateScheduledJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 desired time of the next execution of this scheduled job (in RFC
3339 format).
|
public UpdateScheduledJobDetails.Builder displayName(String displayName)
User-friendly name for the scheduled job. Avoid entering confidential information.
displayName
- the value to setpublic UpdateScheduledJobDetails.Builder description(String description)
User-specified description for the scheduled job. Avoid entering confidential information.
description
- the value to setpublic UpdateScheduledJobDetails.Builder scheduleType(ScheduleTypes scheduleType)
The type of scheduling frequency for the job.
scheduleType
- the value to setpublic UpdateScheduledJobDetails.Builder timeNextExecution(Date timeNextExecution)
The desired time of the next execution of this scheduled job (in RFC 3339 format).
timeNextExecution
- the value to setpublic UpdateScheduledJobDetails.Builder recurringRule(String recurringRule)
The frequency schedule for a recurring scheduled job.
recurringRule
- the value to setpublic 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
operations
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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.
retryIntervals
- the value to setpublic UpdateScheduledJobDetails build()
public UpdateScheduledJobDetails.Builder copy(UpdateScheduledJobDetails model)
Copyright © 2016–2024. All rights reserved.