Interface OtaTaskSchedulingConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OtaTaskSchedulingConfig.Builder,
,OtaTaskSchedulingConfig> SdkBuilder<OtaTaskSchedulingConfig.Builder,
,OtaTaskSchedulingConfig> SdkPojo
- Enclosing class:
OtaTaskSchedulingConfig
-
Method Summary
Modifier and TypeMethodDescriptionendBehavior
(String endBehavior) Specifies the end behavior for all task executions after a task reaches the selectedendTime
.endBehavior
(SchedulingConfigEndBehavior endBehavior) Specifies the end behavior for all task executions after a task reaches the selectedendTime
.The time an over-the-air (OTA) task will stop.maintenanceWindows
(Collection<ScheduleMaintenanceWindow> maintenanceWindows) Maintenance window list for over-the-air (OTA) task scheduling config.maintenanceWindows
(Consumer<ScheduleMaintenanceWindow.Builder>... maintenanceWindows) Maintenance window list for over-the-air (OTA) task scheduling config.maintenanceWindows
(ScheduleMaintenanceWindow... maintenanceWindows) Maintenance window list for over-the-air (OTA) task scheduling config.The time an over-the-air (OTA) task will start.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, sdkFieldNameToField, sdkFields
-
Method Details
-
endBehavior
Specifies the end behavior for all task executions after a task reaches the selected
endTime
. IfendTime
is not selected when creating the task, thenendBehavior
does not apply.- Parameters:
endBehavior
- Specifies the end behavior for all task executions after a task reaches the selectedendTime
. IfendTime
is not selected when creating the task, thenendBehavior
does 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 task executions after a task reaches the selected
endTime
. IfendTime
is not selected when creating the task, thenendBehavior
does not apply.- Parameters:
endBehavior
- Specifies the end behavior for all task executions after a task reaches the selectedendTime
. IfendTime
is not selected when creating the task, thenendBehavior
does not apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTime
The time an over-the-air (OTA) task will stop.
- Parameters:
endTime
- The time an over-the-air (OTA) task will stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
OtaTaskSchedulingConfig.Builder maintenanceWindows(Collection<ScheduleMaintenanceWindow> maintenanceWindows) Maintenance window list for over-the-air (OTA) task scheduling config.
- Parameters:
maintenanceWindows
- Maintenance window list for over-the-air (OTA) task scheduling config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
Maintenance window list for over-the-air (OTA) task scheduling config.
- Parameters:
maintenanceWindows
- Maintenance window list for over-the-air (OTA) task scheduling config.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
OtaTaskSchedulingConfig.Builder maintenanceWindows(Consumer<ScheduleMaintenanceWindow.Builder>... maintenanceWindows) Maintenance window list for over-the-air (OTA) task scheduling config.
This is a convenience method that creates an instance of theScheduleMaintenanceWindow.Builder
avoiding the need to create one manually viaScheduleMaintenanceWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceWindows(List<ScheduleMaintenanceWindow>)
.- Parameters:
maintenanceWindows
- a consumer that will call methods onScheduleMaintenanceWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time an over-the-air (OTA) task will start.
- Parameters:
startTime
- The time an over-the-air (OTA) task will start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-