Interface AutoTuneOptionsInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoTuneOptionsInput.Builder,
,AutoTuneOptionsInput> SdkBuilder<AutoTuneOptionsInput.Builder,
,AutoTuneOptionsInput> SdkPojo
- Enclosing class:
AutoTuneOptionsInput
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(String desiredState) Whether Auto-Tune is enabled or disabled.desiredState
(AutoTuneDesiredState desiredState) Whether Auto-Tune is enabled or disabled.maintenanceSchedules
(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules) A list of maintenance schedules during which Auto-Tune can deploy changes.maintenanceSchedules
(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules) A list of maintenance schedules during which Auto-Tune can deploy changes.maintenanceSchedules
(AutoTuneMaintenanceSchedule... maintenanceSchedules) A list of maintenance schedules during which Auto-Tune can deploy changes.useOffPeakWindow
(Boolean useOffPeakWindow) Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.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 Details
-
desiredState
Whether Auto-Tune is enabled or disabled.
- Parameters:
desiredState
- Whether Auto-Tune is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredState
Whether Auto-Tune is enabled or disabled.
- Parameters:
desiredState
- Whether Auto-Tune is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceSchedules
AutoTuneOptionsInput.Builder maintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules) A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
- Parameters:
maintenanceSchedules
- A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedules
AutoTuneOptionsInput.Builder maintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules) A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
- Parameters:
maintenanceSchedules
- A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedules
AutoTuneOptionsInput.Builder maintenanceSchedules(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules) A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
This is a convenience method that creates an instance of theAutoTuneMaintenanceSchedule.Builder
avoiding the need to create one manually viaAutoTuneMaintenanceSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceSchedules(List<AutoTuneMaintenanceSchedule>)
.- Parameters:
maintenanceSchedules
- a consumer that will call methods onAutoTuneMaintenanceSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
useOffPeakWindow
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
- Parameters:
useOffPeakWindow
- Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-