Struct aws_sdk_forecast::model::time_alignment_boundary::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for TimeAlignmentBoundary.
Implementations
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more