Struct aws_sdk_config::model::time_window::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for TimeWindow.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of an execution.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of an execution.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end time of an execution. The end time must be after the start date.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of an execution. The end time must be after the start date.
sourcepub fn build(self) -> TimeWindow
pub fn build(self) -> TimeWindow
Consumes the builder and constructs a TimeWindow.