Struct aws_sdk_forecast::model::TimeAlignmentBoundary
source · [−]#[non_exhaustive]pub struct TimeAlignmentBoundary { /* private fields */ }Expand description
The time boundary Forecast uses to align and aggregate your data to match your forecast frequency. Provide the unit of time and the time boundary as a key value pair. If you don't provide a time boundary, Forecast uses a set of Default Time Boundaries.
For more information about aggregation, see Data Aggregation for Different Forecast Frequencies. For more information setting a custom time boundary, see Specifying a Time Boundary.
Implementations
sourceimpl TimeAlignmentBoundary
impl TimeAlignmentBoundary
sourcepub fn month(&self) -> Option<&Month>
pub fn month(&self) -> Option<&Month>
The month to use for time alignment during aggregation. The month must be in uppercase.
sourcepub fn day_of_month(&self) -> Option<i32>
pub fn day_of_month(&self) -> Option<i32>
The day of the month to use for time alignment during aggregation.
sourcepub fn day_of_week(&self) -> Option<&DayOfWeek>
pub fn day_of_week(&self) -> Option<&DayOfWeek>
The day of week to use for time alignment during aggregation. The day must be in uppercase.
sourceimpl TimeAlignmentBoundary
impl TimeAlignmentBoundary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TimeAlignmentBoundary.
Trait Implementations
sourceimpl Clone for TimeAlignmentBoundary
impl Clone for TimeAlignmentBoundary
sourcefn clone(&self) -> TimeAlignmentBoundary
fn clone(&self) -> TimeAlignmentBoundary
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more