Interface AutoTuneOptions.Builder

    • Method Detail

      • rollbackOnDisable

        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. If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise, OpenSearch Service is unable to perform the rollback.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RollbackOnDisable, RollbackOnDisable
      • rollbackOnDisable

        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. If you specify DEFAULT_ROLLBACK, you must include a MaintenanceSchedule in the request. Otherwise, OpenSearch Service is unable to perform the rollback.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RollbackOnDisable, RollbackOnDisable
      • 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

        AutoTuneOptions.Builder maintenanceSchedules​(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.
      • useOffPeakWindow

        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.

        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.