public static interface AutoTuneOptions.Builder extends SdkPojo, CopyableBuilder<AutoTuneOptions.Builder,AutoTuneOptions>
| Modifier and Type | Method and Description |
|---|---|
AutoTuneOptions.Builder |
desiredState(AutoTuneDesiredState desiredState)
Whether Auto-Tune is enabled or disabled.
|
AutoTuneOptions.Builder |
desiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.
|
AutoTuneOptions.Builder |
maintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
DEPRECATED.
|
AutoTuneOptions.Builder |
maintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
DEPRECATED.
|
AutoTuneOptions.Builder |
maintenanceSchedules(Consumer<AutoTuneMaintenanceSchedule.Builder>... maintenanceSchedules)
DEPRECATED.
|
AutoTuneOptions.Builder |
rollbackOnDisable(RollbackOnDisable rollbackOnDisable)
When disabling Auto-Tune, specify
NO_ROLLBACK to retain all prior Auto-Tune settings or
DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. |
AutoTuneOptions.Builder |
rollbackOnDisable(String rollbackOnDisable)
When disabling Auto-Tune, specify
NO_ROLLBACK to retain all prior Auto-Tune settings or
DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. |
AutoTuneOptions.Builder |
useOffPeakWindow(Boolean useOffPeakWindow)
Whether to use the domain's off-peak
window to deploy configuration changes on the domain rather than a maintenance schedule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoTuneOptions.Builder desiredState(String desiredState)
Whether Auto-Tune is enabled or disabled.
desiredState - Whether Auto-Tune is enabled or disabled.AutoTuneDesiredState,
AutoTuneDesiredStateAutoTuneOptions.Builder desiredState(AutoTuneDesiredState desiredState)
Whether Auto-Tune is enabled or disabled.
desiredState - Whether Auto-Tune is enabled or disabled.AutoTuneDesiredState,
AutoTuneDesiredStateAutoTuneOptions.Builder rollbackOnDisable(String rollbackOnDisable)
When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or
DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify
DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise,
OpenSearch Service is unable to perform the rollback.
rollbackOnDisable - When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or
DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify
DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request.
Otherwise, OpenSearch Service is unable to perform the rollback.RollbackOnDisable,
RollbackOnDisableAutoTuneOptions.Builder rollbackOnDisable(RollbackOnDisable rollbackOnDisable)
When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or
DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify
DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise,
OpenSearch Service is unable to perform the rollback.
rollbackOnDisable - When disabling Auto-Tune, specify NO_ROLLBACK to retain all prior Auto-Tune settings or
DEFAULT_ROLLBACK to revert to the OpenSearch Service defaults. If you specify
DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request.
Otherwise, OpenSearch Service is unable to perform the rollback.RollbackOnDisable,
RollbackOnDisableAutoTuneOptions.Builder maintenanceSchedules(Collection<AutoTuneMaintenanceSchedule> maintenanceSchedules)
DEPRECATED. Use off-peak window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
maintenanceSchedules - DEPRECATED. Use off-peak
window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
AutoTuneOptions.Builder maintenanceSchedules(AutoTuneMaintenanceSchedule... maintenanceSchedules)
DEPRECATED. Use off-peak window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
maintenanceSchedules - DEPRECATED. Use off-peak
window instead.
A list of maintenance schedules during which Auto-Tune can deploy changes.
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.Builder avoiding the
need to create one manually via
AutoTuneMaintenanceSchedule.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #maintenanceSchedules(List.
maintenanceSchedules - a consumer that will call methods on
AutoTuneMaintenanceSchedule.Builder#maintenanceSchedules(java.util.Collection) AutoTuneOptions.Builder useOffPeakWindow(Boolean useOffPeakWindow)
Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.
useOffPeakWindow - Whether to use the domain's off-peak window to deploy configuration changes on the domain rather than a maintenance schedule.Copyright © 2023. All rights reserved.