Interface AutoTuneOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoTuneOptions.Builder,
,AutoTuneOptions> SdkBuilder<AutoTuneOptions.Builder,
,AutoTuneOptions> SdkPojo
- Enclosing class:
AutoTuneOptions
-
Method Summary
Modifier and TypeMethodDescriptiondesiredState
(String desiredState) Specifies the Auto-Tune desired state.desiredState
(AutoTuneDesiredState desiredState) Specifies the Auto-Tune desired state.maintenanceSchedules
(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules) Specifies list of maitenance schedules.maintenanceSchedules
(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules) Specifies list of maitenance schedules.maintenanceSchedules
(AutoTuneMaintenanceSchedule... maintenanceSchedules) Specifies list of maitenance schedules.rollbackOnDisable
(String rollbackOnDisable) Specifies the rollback state while disabling Auto-Tune for the domain.rollbackOnDisable
(RollbackOnDisable rollbackOnDisable) Specifies the rollback state while disabling Auto-Tune for the domain.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
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
- Parameters:
desiredState
- Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredState
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
- Parameters:
desiredState
- Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollbackOnDisable
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
- Parameters:
rollbackOnDisable
- Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollbackOnDisable
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
- Parameters:
rollbackOnDisable
- Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceSchedules
AutoTuneOptions.Builder maintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules) Specifies list of maitenance schedules. See the Developer Guide for more information.
- Parameters:
maintenanceSchedules
- Specifies list of maitenance schedules. See the Developer Guide for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedules
Specifies list of maitenance schedules. See the Developer Guide for more information.
- Parameters:
maintenanceSchedules
- Specifies list of maitenance schedules. See the Developer Guide for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedules
AutoTuneOptions.Builder maintenanceSchedules(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules) Specifies list of maitenance schedules. See the Developer Guide for more information.
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:
-