Struct aws_sdk_opensearch::model::AutoTuneOptions
source · #[non_exhaustive]pub struct AutoTuneOptions { /* private fields */ }
Expand description
Auto-Tune settings when updating a domain. For more information, see Auto-Tune for Amazon OpenSearch Service.
Implementations§
source§impl AutoTuneOptions
impl AutoTuneOptions
sourcepub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
pub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
Whether Auto-Tune is enabled or disabled.
sourcepub fn rollback_on_disable(&self) -> Option<&RollbackOnDisable>
pub fn rollback_on_disable(&self) -> Option<&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.
sourcepub fn maintenance_schedules(&self) -> Option<&[AutoTuneMaintenanceSchedule]>
pub fn maintenance_schedules(&self) -> Option<&[AutoTuneMaintenanceSchedule]>
A list of maintenance schedules during which Auto-Tune can deploy changes.
source§impl AutoTuneOptions
impl AutoTuneOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AutoTuneOptions
.
Trait Implementations§
source§impl Clone for AutoTuneOptions
impl Clone for AutoTuneOptions
source§fn clone(&self) -> AutoTuneOptions
fn clone(&self) -> AutoTuneOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoTuneOptions
impl Debug for AutoTuneOptions
source§impl PartialEq<AutoTuneOptions> for AutoTuneOptions
impl PartialEq<AutoTuneOptions> for AutoTuneOptions
source§fn eq(&self, other: &AutoTuneOptions) -> bool
fn eq(&self, other: &AutoTuneOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.