Struct aws_sdk_elasticsearch::types::AutoTuneOptions
source · #[non_exhaustive]pub struct AutoTuneOptions {
pub desired_state: Option<AutoTuneDesiredState>,
pub rollback_on_disable: Option<RollbackOnDisable>,
pub maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>,
}
Expand description
Specifies the Auto-Tune options: the Auto-Tune desired state for the domain, rollback state when disabling Auto-Tune options and list of maintenance schedules.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.desired_state: Option<AutoTuneDesiredState>
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
rollback_on_disable: Option<RollbackOnDisable>
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>
Specifies list of maitenance schedules. See the Developer Guide for more information.
Implementations§
source§impl AutoTuneOptions
impl AutoTuneOptions
sourcepub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
pub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
sourcepub fn rollback_on_disable(&self) -> Option<&RollbackOnDisable>
pub fn rollback_on_disable(&self) -> Option<&RollbackOnDisable>
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
sourcepub fn maintenance_schedules(&self) -> &[AutoTuneMaintenanceSchedule]
pub fn maintenance_schedules(&self) -> &[AutoTuneMaintenanceSchedule]
Specifies list of maitenance schedules. See the Developer Guide for more information.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .maintenance_schedules.is_none()
.
source§impl AutoTuneOptions
impl AutoTuneOptions
sourcepub fn builder() -> AutoTuneOptionsBuilder
pub fn builder() -> AutoTuneOptionsBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoTuneOptions
impl Debug for AutoTuneOptions
source§impl PartialEq for AutoTuneOptions
impl PartialEq for AutoTuneOptions
source§fn eq(&self, other: &AutoTuneOptions) -> bool
fn eq(&self, other: &AutoTuneOptions) -> bool
self
and other
values to be equal, and is used
by ==
.