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<OffPeakWindowBuilder> for OffPeakWindowBuilder
impl PartialEq<OffPeakWindowBuilder> 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 ==
.