Interface SchedulingConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulingConfig.Builder,,SchedulingConfig> SdkBuilder<SchedulingConfig.Builder,,SchedulingConfig> SdkPojo
- Enclosing class:
SchedulingConfig
-
Method Summary
Modifier and TypeMethodDescriptionendBehavior(String endBehavior) Specifies the end behavior for all job executions after a job reaches the selectedendTime.endBehavior(JobEndBehavior endBehavior) Specifies the end behavior for all job executions after a job reaches the selectedendTime.The time a job will stop rollout of the job document to all devices in the target group for a job.maintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows) An optional configuration within theSchedulingConfigto 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(Consumer<MaintenanceWindow.Builder>... maintenanceWindows) An optional configuration within theSchedulingConfigto 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(MaintenanceWindow... maintenanceWindows) An optional configuration within theSchedulingConfigto 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.The time a job will begin rollout of the job document to all devices in the target group for a job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
startTime
The time a job will begin rollout of the job document to all devices in the target group for a job. The
startTimecan 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 thestartTimeis YYYY-MM-DD for the date and HH:MM for the time.For more information on the syntax for
startTimewhen using an API command or the Command Line Interface, see Timestamp.- Parameters:
startTime- The time a job will begin rollout of the job document to all devices in the target group for a job. ThestartTimecan 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 thestartTimeis YYYY-MM-DD for the date and HH:MM for the time.For more information on the syntax for
startTimewhen using an API command or the Command Line Interface, see Timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time a job will stop rollout of the job document to all devices in the target group for a job. The
endTimemust 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 betweenstartTimeandendTimeis thirty minutes. The maximum duration betweenstartTimeandendTimeis two years. The date and time format for theendTimeis YYYY-MM-DD for the date and HH:MM for the time.For more information on the syntax for
endTimewhen using an API command or the Command Line Interface, see Timestamp.- Parameters:
endTime- The time a job will stop rollout of the job document to all devices in the target group for a job. TheendTimemust 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 betweenstartTimeandendTimeis thirty minutes. The maximum duration betweenstartTimeandendTimeis two years. The date and time format for theendTimeis YYYY-MM-DD for the date and HH:MM for the time.For more information on the syntax for
endTimewhen using an API command or the Command Line Interface, see Timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endBehavior
Specifies the end behavior for all job executions after a job reaches the selected
endTime. IfendTimeis not selected when creating the job, thenendBehaviordoes not apply.- Parameters:
endBehavior- Specifies the end behavior for all job executions after a job reaches the selectedendTime. IfendTimeis not selected when creating the job, thenendBehaviordoes not apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endBehavior
Specifies the end behavior for all job executions after a job reaches the selected
endTime. IfendTimeis not selected when creating the job, thenendBehaviordoes not apply.- Parameters:
endBehavior- Specifies the end behavior for all job executions after a job reaches the selectedendTime. IfendTimeis not selected when creating the job, thenendBehaviordoes not apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceWindows
An optional configuration within the
SchedulingConfigto 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.- Parameters:
maintenanceWindows- An optional configuration within theSchedulingConfigto 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
An optional configuration within the
SchedulingConfigto 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.- Parameters:
maintenanceWindows- An optional configuration within theSchedulingConfigto 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
SchedulingConfig.Builder maintenanceWindows(Consumer<MaintenanceWindow.Builder>... maintenanceWindows) An optional configuration within the
This is a convenience method that creates an instance of theSchedulingConfigto 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.Builderavoiding the need to create one manually viaMaintenanceWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaintenanceWindows(List<MaintenanceWindow>).- Parameters:
maintenanceWindows- a consumer that will call methods onMaintenanceWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-