Struct aws_sdk_opensearch::types::OffPeakWindowOptions
source · #[non_exhaustive]pub struct OffPeakWindowOptions {
pub enabled: Option<bool>,
pub off_peak_window: Option<OffPeakWindow>,
}
Expand description
Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on the domain.
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.enabled: Option<bool>
Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
off_peak_window: Option<OffPeakWindow>
Off-peak window settings for the domain.
Implementations§
source§impl OffPeakWindowOptions
impl OffPeakWindowOptions
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
sourcepub fn off_peak_window(&self) -> Option<&OffPeakWindow>
pub fn off_peak_window(&self) -> Option<&OffPeakWindow>
Off-peak window settings for the domain.
source§impl OffPeakWindowOptions
impl OffPeakWindowOptions
sourcepub fn builder() -> OffPeakWindowOptionsBuilder
pub fn builder() -> OffPeakWindowOptionsBuilder
Creates a new builder-style object to manufacture OffPeakWindowOptions
.
Trait Implementations§
source§impl Clone for OffPeakWindowOptions
impl Clone for OffPeakWindowOptions
source§fn clone(&self) -> OffPeakWindowOptions
fn clone(&self) -> OffPeakWindowOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OffPeakWindowOptions
impl Debug for OffPeakWindowOptions
source§impl PartialEq for OffPeakWindowOptions
impl PartialEq for OffPeakWindowOptions
source§fn eq(&self, other: &OffPeakWindowOptions) -> bool
fn eq(&self, other: &OffPeakWindowOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OffPeakWindowOptions
Auto Trait Implementations§
impl Freeze for OffPeakWindowOptions
impl RefUnwindSafe for OffPeakWindowOptions
impl Send for OffPeakWindowOptions
impl Sync for OffPeakWindowOptions
impl Unpin for OffPeakWindowOptions
impl UnwindSafe for OffPeakWindowOptions
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