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 ==
.