Struct aws_sdk_forecast::types::builders::WindowSummaryBuilder
source · #[non_exhaustive]pub struct WindowSummaryBuilder { /* private fields */ }
Expand description
A builder for WindowSummary
.
Implementations§
source§impl WindowSummaryBuilder
impl WindowSummaryBuilder
sourcepub fn test_window_start(self, input: DateTime) -> Self
pub fn test_window_start(self, input: DateTime) -> Self
The timestamp that defines the start of the window.
sourcepub fn set_test_window_start(self, input: Option<DateTime>) -> Self
pub fn set_test_window_start(self, input: Option<DateTime>) -> Self
The timestamp that defines the start of the window.
sourcepub fn get_test_window_start(&self) -> &Option<DateTime>
pub fn get_test_window_start(&self) -> &Option<DateTime>
The timestamp that defines the start of the window.
sourcepub fn test_window_end(self, input: DateTime) -> Self
pub fn test_window_end(self, input: DateTime) -> Self
The timestamp that defines the end of the window.
sourcepub fn set_test_window_end(self, input: Option<DateTime>) -> Self
pub fn set_test_window_end(self, input: Option<DateTime>) -> Self
The timestamp that defines the end of the window.
sourcepub fn get_test_window_end(&self) -> &Option<DateTime>
pub fn get_test_window_end(&self) -> &Option<DateTime>
The timestamp that defines the end of the window.
sourcepub fn item_count(self, input: i32) -> Self
pub fn item_count(self, input: i32) -> Self
The number of data points within the window.
sourcepub fn set_item_count(self, input: Option<i32>) -> Self
pub fn set_item_count(self, input: Option<i32>) -> Self
The number of data points within the window.
sourcepub fn get_item_count(&self) -> &Option<i32>
pub fn get_item_count(&self) -> &Option<i32>
The number of data points within the window.
sourcepub fn evaluation_type(self, input: EvaluationType) -> Self
pub fn evaluation_type(self, input: EvaluationType) -> Self
The type of evaluation.
-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
sourcepub fn set_evaluation_type(self, input: Option<EvaluationType>) -> Self
pub fn set_evaluation_type(self, input: Option<EvaluationType>) -> Self
The type of evaluation.
-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
sourcepub fn get_evaluation_type(&self) -> &Option<EvaluationType>
pub fn get_evaluation_type(&self) -> &Option<EvaluationType>
The type of evaluation.
-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
sourcepub fn metrics(self, input: Metrics) -> Self
pub fn metrics(self, input: Metrics) -> Self
Provides metrics used to evaluate the performance of a predictor.
sourcepub fn set_metrics(self, input: Option<Metrics>) -> Self
pub fn set_metrics(self, input: Option<Metrics>) -> Self
Provides metrics used to evaluate the performance of a predictor.
sourcepub fn get_metrics(&self) -> &Option<Metrics>
pub fn get_metrics(&self) -> &Option<Metrics>
Provides metrics used to evaluate the performance of a predictor.
sourcepub fn build(self) -> WindowSummary
pub fn build(self) -> WindowSummary
Consumes the builder and constructs a WindowSummary
.
Trait Implementations§
source§impl Clone for WindowSummaryBuilder
impl Clone for WindowSummaryBuilder
source§fn clone(&self) -> WindowSummaryBuilder
fn clone(&self) -> WindowSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WindowSummaryBuilder
impl Debug for WindowSummaryBuilder
source§impl Default for WindowSummaryBuilder
impl Default for WindowSummaryBuilder
source§fn default() -> WindowSummaryBuilder
fn default() -> WindowSummaryBuilder
source§impl PartialEq for WindowSummaryBuilder
impl PartialEq for WindowSummaryBuilder
source§fn eq(&self, other: &WindowSummaryBuilder) -> bool
fn eq(&self, other: &WindowSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WindowSummaryBuilder
Auto Trait Implementations§
impl Freeze for WindowSummaryBuilder
impl RefUnwindSafe for WindowSummaryBuilder
impl Send for WindowSummaryBuilder
impl Sync for WindowSummaryBuilder
impl Unpin for WindowSummaryBuilder
impl UnwindSafe for WindowSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more