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
impl StructuralPartialEq for AutoTuneOptions
Auto Trait Implementations§
impl Freeze for AutoTuneOptions
impl RefUnwindSafe for AutoTuneOptions
impl Send for AutoTuneOptions
impl Sync for AutoTuneOptions
impl Unpin for AutoTuneOptions
impl UnwindSafe for AutoTuneOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more