Struct aws_sdk_opensearch::types::OffPeakWindowOptions
source · #[non_exhaustive]pub struct OffPeakWindowOptions { /* private fields */ }Expand description
Options for a domain's off-peak window, during which OpenSearch Service can perform mandatory configuration changes on 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
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 OffPeakWindowOptions
impl Debug for OffPeakWindowOptions
source§impl PartialEq<OffPeakWindowOptions> for OffPeakWindowOptions
impl PartialEq<OffPeakWindowOptions> for OffPeakWindowOptions
source§fn eq(&self, other: &OffPeakWindowOptions) -> bool
fn eq(&self, other: &OffPeakWindowOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OffPeakWindowOptions
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more