Interface AutoTuneOptionsInput.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoTuneOptionsInput.Builder,AutoTuneOptionsInput>
,SdkBuilder<AutoTuneOptionsInput.Builder,AutoTuneOptionsInput>
,SdkPojo
- Enclosing class:
- AutoTuneOptionsInput
public static interface AutoTuneOptionsInput.Builder extends SdkPojo, CopyableBuilder<AutoTuneOptionsInput.Builder,AutoTuneOptionsInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoTuneOptionsInput.Builder
desiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.AutoTuneOptionsInput.Builder
desiredState(AutoTuneDesiredState desiredState)
Whether Auto-Tune is enabled or disabled.AutoTuneOptionsInput.Builder
maintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes.AutoTuneOptionsInput.Builder
maintenanceSchedules(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes.AutoTuneOptionsInput.Builder
maintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
A list of maintenance schedules during which Auto-Tune can deploy changes.AutoTuneOptionsInput.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
desiredState
AutoTuneOptionsInput.Builder desiredState(String 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:
AutoTuneDesiredState
,AutoTuneDesiredState
-
desiredState
AutoTuneOptionsInput.Builder desiredState(AutoTuneDesiredState 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:
AutoTuneDesiredState
,AutoTuneDesiredState
-
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 to#maintenanceSchedules(List
.) - 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:
#maintenanceSchedules(java.util.Collection
)
-
useOffPeakWindow
AutoTuneOptionsInput.Builder useOffPeakWindow(Boolean 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.
-
-