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) Whether Auto-Tune is enabled or disabled.desiredState(AutoTuneDesiredState desiredState) Whether Auto-Tune is enabled or disabled.maintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules) DEPRECATED.maintenanceSchedules(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules) DEPRECATED.maintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules) DEPRECATED.rollbackOnDisable(String rollbackOnDisable) When disabling Auto-Tune, specifyNO_ROLLBACKto retain all prior Auto-Tune settings orDEFAULT_ROLLBACKto revert to the OpenSearch Service defaults.rollbackOnDisable(RollbackOnDisable rollbackOnDisable) When disabling Auto-Tune, specifyNO_ROLLBACKto retain all prior Auto-Tune settings orDEFAULT_ROLLBACKto revert to the OpenSearch Service defaults.useOffPeakWindow(Boolean useOffPeakWindow) Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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:
-
rollbackOnDisable
When disabling Auto-Tune, specify
NO_ROLLBACKto retain all prior Auto-Tune settings orDEFAULT_ROLLBACKto revert to the OpenSearch Service defaults. If you specifyDEFAULT_ROLLBACK, you must include aMaintenanceSchedulein the request. Otherwise, OpenSearch Service is unable to perform the rollback.- Parameters:
rollbackOnDisable- When disabling Auto-Tune, specifyNO_ROLLBACKto retain all prior Auto-Tune settings orDEFAULT_ROLLBACKto revert to the OpenSearch Service defaults. If you specifyDEFAULT_ROLLBACK, you must include aMaintenanceSchedulein the request. Otherwise, OpenSearch Service is unable to perform the rollback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollbackOnDisable
When disabling Auto-Tune, specify
NO_ROLLBACKto retain all prior Auto-Tune settings orDEFAULT_ROLLBACKto revert to the OpenSearch Service defaults. If you specifyDEFAULT_ROLLBACK, you must include aMaintenanceSchedulein the request. Otherwise, OpenSearch Service is unable to perform the rollback.- Parameters:
rollbackOnDisable- When disabling Auto-Tune, specifyNO_ROLLBACKto retain all prior Auto-Tune settings orDEFAULT_ROLLBACKto revert to the OpenSearch Service defaults. If you specifyDEFAULT_ROLLBACK, you must include aMaintenanceSchedulein the request. Otherwise, OpenSearch Service is unable to perform the 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) DEPRECATED. Use off-peak window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
- Parameters:
maintenanceSchedules- DEPRECATED. Use off-peak window instead.A list of maintenance schedules during which Auto-Tune can deploy changes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedules
DEPRECATED. Use off-peak window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
- Parameters:
maintenanceSchedules- DEPRECATED. Use off-peak window instead.A list of maintenance schedules during which Auto-Tune can deploy changes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceSchedules
AutoTuneOptions.Builder maintenanceSchedules(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules) DEPRECATED. Use off-peak window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
This is a convenience method that creates an instance of theAutoTuneMaintenanceSchedule.Builderavoiding the need to create one manually viaAutoTuneMaintenanceSchedule.builder().When the
Consumercompletes,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 use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.
- Parameters:
useOffPeakWindow- Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-