Struct aws_sdk_scheduler::model::flexible_time_window::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for FlexibleTimeWindow.
Implementations§
source§impl Builder
impl Builder
sourcepub fn mode(self, input: FlexibleTimeWindowMode) -> Self
pub fn mode(self, input: FlexibleTimeWindowMode) -> Self
Determines whether the schedule is invoked within a flexible time window.
sourcepub fn set_mode(self, input: Option<FlexibleTimeWindowMode>) -> Self
pub fn set_mode(self, input: Option<FlexibleTimeWindowMode>) -> Self
Determines whether the schedule is invoked within a flexible time window.
sourcepub fn maximum_window_in_minutes(self, input: i32) -> Self
pub fn maximum_window_in_minutes(self, input: i32) -> Self
The maximum time window during which a schedule can be invoked.
sourcepub fn set_maximum_window_in_minutes(self, input: Option<i32>) -> Self
pub fn set_maximum_window_in_minutes(self, input: Option<i32>) -> Self
The maximum time window during which a schedule can be invoked.
sourcepub fn build(self) -> FlexibleTimeWindow
pub fn build(self) -> FlexibleTimeWindow
Consumes the builder and constructs a FlexibleTimeWindow.