public static interface SchedulingConfig.Builder extends SdkPojo, CopyableBuilder<SchedulingConfig.Builder,SchedulingConfig>
| Modifier and Type | Method and Description |
|---|---|
SchedulingConfig.Builder |
endBehavior(JobEndBehavior endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected
endTime. |
SchedulingConfig.Builder |
endBehavior(String endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected
endTime. |
SchedulingConfig.Builder |
endTime(String endTime)
The time a job will stop rollout of the job document to all devices in the target group for a job.
|
SchedulingConfig.Builder |
maintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job. |
SchedulingConfig.Builder |
maintenanceWindows(Consumer<MaintenanceWindow.Builder>... maintenanceWindows)
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job. |
SchedulingConfig.Builder |
maintenanceWindows(MaintenanceWindow... maintenanceWindows)
An optional configuration within the
SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job. |
SchedulingConfig.Builder |
startTime(String startTime)
The time a job will begin rollout of the job document to all devices in the target group for a job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSchedulingConfig.Builder startTime(String startTime)
The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty
minutes from the current time. The date and time format for the startTime is YYYY-MM-DD for the
date and HH:MM for the time.
startTime - The time a job will begin rollout of the job document to all devices in the target group for a job.
The startTime can be scheduled up to a year in advance and must be scheduled a minimum of
thirty minutes from the current time. The date and time format for the startTime is
YYYY-MM-DD for the date and HH:MM for the time.SchedulingConfig.Builder endTime(String endTime)
The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a minimum
of thirty minutes from the current time. The minimum duration between startTime and
endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD for
the date and HH:MM for the time.
endTime - The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTime must take place no later than two years from the current time and be scheduled a
minimum of thirty minutes from the current time. The minimum duration between startTime
and endTime is thirty minutes. The maximum duration between startTime and
endTime is two years. The date and time format for the endTime is YYYY-MM-DD
for the date and HH:MM for the time.SchedulingConfig.Builder endBehavior(String endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected endTime. If
endTime is not selected when creating the job, then endBehavior does not apply.
endBehavior - Specifies the end behavior for all job executions after a job reaches the selected
endTime. If endTime is not selected when creating the job, then
endBehavior does not apply.JobEndBehavior,
JobEndBehaviorSchedulingConfig.Builder endBehavior(JobEndBehavior endBehavior)
Specifies the end behavior for all job executions after a job reaches the selected endTime. If
endTime is not selected when creating the job, then endBehavior does not apply.
endBehavior - Specifies the end behavior for all job executions after a job reaches the selected
endTime. If endTime is not selected when creating the job, then
endBehavior does not apply.JobEndBehavior,
JobEndBehaviorSchedulingConfig.Builder maintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows)
An optional configuration within the SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job.
maintenanceWindows - An optional configuration within the SchedulingConfig to setup a recurring maintenance
window with a predetermined start time and duration for the rollout of a job document to all devices
in a target group for a job.SchedulingConfig.Builder maintenanceWindows(MaintenanceWindow... maintenanceWindows)
An optional configuration within the SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job.
maintenanceWindows - An optional configuration within the SchedulingConfig to setup a recurring maintenance
window with a predetermined start time and duration for the rollout of a job document to all devices
in a target group for a job.SchedulingConfig.Builder maintenanceWindows(Consumer<MaintenanceWindow.Builder>... maintenanceWindows)
An optional configuration within the SchedulingConfig to setup a recurring maintenance window
with a predetermined start time and duration for the rollout of a job document to all devices in a target
group for a job.
MaintenanceWindow.Builder avoiding the need to create one
manually via MaintenanceWindow.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #maintenanceWindows(List.
maintenanceWindows - a consumer that will call methods on
MaintenanceWindow.Builder#maintenanceWindows(java.util.Collection) Copyright © 2023. All rights reserved.