Struct aws_sdk_elasticsearch::types::AutoTuneOptionsInput
source · #[non_exhaustive]pub struct AutoTuneOptionsInput {
pub desired_state: Option<AutoTuneDesiredState>,
pub maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>,
}
Expand description
Specifies the Auto-Tune options: the Auto-Tune desired state for the domain and list of maintenance schedules.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>
Specifies list of maitenance schedules. See the Developer Guide for more information.
Implementations§
source§impl AutoTuneOptionsInput
impl AutoTuneOptionsInput
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 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 AutoTuneOptionsInput
impl AutoTuneOptionsInput
sourcepub fn builder() -> AutoTuneOptionsInputBuilder
pub fn builder() -> AutoTuneOptionsInputBuilder
Creates a new builder-style object to manufacture AutoTuneOptionsInput
.
Trait Implementations§
source§impl Clone for AutoTuneOptionsInput
impl Clone for AutoTuneOptionsInput
source§fn clone(&self) -> AutoTuneOptionsInput
fn clone(&self) -> AutoTuneOptionsInput
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 AutoTuneOptionsInput
impl Debug for AutoTuneOptionsInput
source§impl PartialEq for AutoTuneOptionsInput
impl PartialEq for AutoTuneOptionsInput
source§fn eq(&self, other: &AutoTuneOptionsInput) -> bool
fn eq(&self, other: &AutoTuneOptionsInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoTuneOptionsInput
Auto Trait Implementations§
impl RefUnwindSafe for AutoTuneOptionsInput
impl Send for AutoTuneOptionsInput
impl Sync for AutoTuneOptionsInput
impl Unpin for AutoTuneOptionsInput
impl UnwindSafe for AutoTuneOptionsInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.