Struct aws_sdk_opensearch::types::AutoTuneOptionsInput
source · #[non_exhaustive]pub struct AutoTuneOptionsInput {
pub desired_state: Option<AutoTuneDesiredState>,
pub maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>,
pub use_off_peak_window: Option<bool>,
}
Expand description
Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch Service
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>
Whether Auto-Tune is enabled or disabled.
maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
use_off_peak_window: Option<bool>
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
Implementations§
source§impl AutoTuneOptionsInput
impl AutoTuneOptionsInput
sourcepub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
pub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
Whether Auto-Tune is enabled or disabled.
sourcepub fn maintenance_schedules(&self) -> &[AutoTuneMaintenanceSchedule]
pub fn maintenance_schedules(&self) -> &[AutoTuneMaintenanceSchedule]
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
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()
.
sourcepub fn use_off_peak_window(&self) -> Option<bool>
pub fn use_off_peak_window(&self) -> Option<bool>
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoTuneOptionsInput
Auto Trait Implementations§
impl Freeze for AutoTuneOptionsInput
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
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