Interface SchedulingConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulingConfig.Builder,SchedulingConfig>,SdkBuilder<SchedulingConfig.Builder,SchedulingConfig>,SdkPojo
- Enclosing class:
- SchedulingConfig
public static interface SchedulingConfig.Builder extends SdkPojo, CopyableBuilder<SchedulingConfig.Builder,SchedulingConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchedulingConfig.BuilderendBehavior(String endBehavior)Specifies the end behavior for all job executions after a job reaches the selectedendTime.SchedulingConfig.BuilderendBehavior(JobEndBehavior endBehavior)Specifies the end behavior for all job executions after a job reaches the selectedendTime.SchedulingConfig.BuilderendTime(String endTime)The time a job will stop rollout of the job document to all devices in the target group for a job.SchedulingConfig.BuildermaintenanceWindows(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.SchedulingConfig.BuildermaintenanceWindows(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.SchedulingConfig.BuildermaintenanceWindows(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.SchedulingConfig.BuilderstartTime(String startTime)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
startTime
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. 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
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
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
SchedulingConfig.Builder endBehavior(String 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:
JobEndBehavior,JobEndBehavior
-
endBehavior
SchedulingConfig.Builder endBehavior(JobEndBehavior 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:
JobEndBehavior,JobEndBehavior
-
maintenanceWindows
SchedulingConfig.Builder maintenanceWindows(Collection<MaintenanceWindow> 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(MaintenanceWindow... 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 to#maintenanceWindows(List.) - 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:
#maintenanceWindows(java.util.Collection)
-
-