pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceEventWindowTimeRangeRequest
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start_week_day(self, input: WeekDay) -> Self
pub fn start_week_day(self, input: WeekDay) -> Self
The day on which the time range begins.
sourcepub fn set_start_week_day(self, input: Option<WeekDay>) -> Self
pub fn set_start_week_day(self, input: Option<WeekDay>) -> Self
The day on which the time range begins.
sourcepub fn start_hour(self, input: i32) -> Self
pub fn start_hour(self, input: i32) -> Self
The hour when the time range begins.
sourcepub fn set_start_hour(self, input: Option<i32>) -> Self
pub fn set_start_hour(self, input: Option<i32>) -> Self
The hour when the time range begins.
sourcepub fn end_week_day(self, input: WeekDay) -> Self
pub fn end_week_day(self, input: WeekDay) -> Self
The day on which the time range ends.
sourcepub fn set_end_week_day(self, input: Option<WeekDay>) -> Self
pub fn set_end_week_day(self, input: Option<WeekDay>) -> Self
The day on which the time range ends.
sourcepub fn set_end_hour(self, input: Option<i32>) -> Self
pub fn set_end_hour(self, input: Option<i32>) -> Self
The hour when the time range ends.
sourcepub fn build(self) -> InstanceEventWindowTimeRangeRequest
pub fn build(self) -> InstanceEventWindowTimeRangeRequest
Consumes the builder and constructs a InstanceEventWindowTimeRangeRequest
.