Class DomainAutoTuneOptions


  • public final class DomainAutoTuneOptions
    extends java.lang.Object
    • Method Detail

      • desiredState

        public java.lang.String desiredState()
        Returns:
        Auto-Tune desired state for the domain. Valid values: `ENABLED` or `DISABLED`.
      • maintenanceSchedules

        public java.util.List<DomainAutoTuneOptionsMaintenanceSchedule> maintenanceSchedules()
        Returns:
        Configuration block for Auto-Tune maintenance windows. Can be specified multiple times for each maintenance window. Detailed below. **NOTE:** Maintenance windows are deprecated and have been replaced with [off-peak windows](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html). Consequently, `maintenance_schedule` configuration blocks cannot be specified when `use_off_peak_window` is set to `true`.
      • rollbackOnDisable

        public java.util.Optional<java.lang.String> rollbackOnDisable()
        Returns:
        Whether to roll back to default Auto-Tune settings when disabling Auto-Tune. Valid values: `DEFAULT_ROLLBACK` or `NO_ROLLBACK`.
      • useOffPeakWindow

        public java.util.Optional<java.lang.Boolean> useOffPeakWindow()
        Returns:
        Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window. Defaults to `false`.