Struct aws_sdk_opensearch::types::builders::OffPeakWindowBuilder
source · #[non_exhaustive]pub struct OffPeakWindowBuilder { /* private fields */ }
Expand description
A builder for OffPeakWindow
.
Implementations§
source§impl OffPeakWindowBuilder
impl OffPeakWindowBuilder
sourcepub fn window_start_time(self, input: WindowStartTime) -> Self
pub fn window_start_time(self, input: WindowStartTime) -> Self
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
sourcepub fn set_window_start_time(self, input: Option<WindowStartTime>) -> Self
pub fn set_window_start_time(self, input: Option<WindowStartTime>) -> Self
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
sourcepub fn get_window_start_time(&self) -> &Option<WindowStartTime>
pub fn get_window_start_time(&self) -> &Option<WindowStartTime>
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
sourcepub fn build(self) -> OffPeakWindow
pub fn build(self) -> OffPeakWindow
Consumes the builder and constructs a OffPeakWindow
.
Trait Implementations§
source§impl Clone for OffPeakWindowBuilder
impl Clone for OffPeakWindowBuilder
source§fn clone(&self) -> OffPeakWindowBuilder
fn clone(&self) -> OffPeakWindowBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OffPeakWindowBuilder
impl Debug for OffPeakWindowBuilder
source§impl Default for OffPeakWindowBuilder
impl Default for OffPeakWindowBuilder
source§fn default() -> OffPeakWindowBuilder
fn default() -> OffPeakWindowBuilder
source§impl PartialEq for OffPeakWindowBuilder
impl PartialEq for OffPeakWindowBuilder
source§fn eq(&self, other: &OffPeakWindowBuilder) -> bool
fn eq(&self, other: &OffPeakWindowBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OffPeakWindowBuilder
Auto Trait Implementations§
impl Freeze for OffPeakWindowBuilder
impl RefUnwindSafe for OffPeakWindowBuilder
impl Send for OffPeakWindowBuilder
impl Sync for OffPeakWindowBuilder
impl Unpin for OffPeakWindowBuilder
impl UnwindSafe for OffPeakWindowBuilder
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