Struct aws_sdk_forecast::model::time_alignment_boundary::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for TimeAlignmentBoundary.
Implementations§
source§impl Builder
impl Builder
sourcepub fn month(self, input: Month) -> Self
pub fn month(self, input: Month) -> Self
The month to use for time alignment during aggregation. The month must be in uppercase.
sourcepub fn set_month(self, input: Option<Month>) -> Self
pub fn set_month(self, input: Option<Month>) -> Self
The month to use for time alignment during aggregation. The month must be in uppercase.
sourcepub fn day_of_month(self, input: i32) -> Self
pub fn day_of_month(self, input: i32) -> Self
The day of the month to use for time alignment during aggregation.
sourcepub fn set_day_of_month(self, input: Option<i32>) -> Self
pub fn set_day_of_month(self, input: Option<i32>) -> Self
The day of the month to use for time alignment during aggregation.
sourcepub fn day_of_week(self, input: DayOfWeek) -> Self
pub fn day_of_week(self, input: DayOfWeek) -> Self
The day of week to use for time alignment during aggregation. The day must be in uppercase.
sourcepub fn set_day_of_week(self, input: Option<DayOfWeek>) -> Self
pub fn set_day_of_week(self, input: Option<DayOfWeek>) -> Self
The day of week to use for time alignment during aggregation. The day must be in uppercase.
sourcepub fn hour(self, input: i32) -> Self
pub fn hour(self, input: i32) -> Self
The hour of day to use for time alignment during aggregation.
sourcepub fn set_hour(self, input: Option<i32>) -> Self
pub fn set_hour(self, input: Option<i32>) -> Self
The hour of day to use for time alignment during aggregation.
sourcepub fn build(self) -> TimeAlignmentBoundary
pub fn build(self) -> TimeAlignmentBoundary
Consumes the builder and constructs a TimeAlignmentBoundary.