Struct aws_sdk_forecast::types::builders::EvaluationResultBuilder
source · #[non_exhaustive]pub struct EvaluationResultBuilder { /* private fields */ }
Expand description
A builder for EvaluationResult
.
Implementations§
source§impl EvaluationResultBuilder
impl EvaluationResultBuilder
sourcepub fn algorithm_arn(self, input: impl Into<String>) -> Self
pub fn algorithm_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
sourcepub fn set_algorithm_arn(self, input: Option<String>) -> Self
pub fn set_algorithm_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
sourcepub fn get_algorithm_arn(&self) -> &Option<String>
pub fn get_algorithm_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
sourcepub fn test_windows(self, input: WindowSummary) -> Self
pub fn test_windows(self, input: WindowSummary) -> Self
Appends an item to test_windows
.
To override the contents of this collection use set_test_windows
.
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the EvaluationParameters
object determines the number of windows in the array.
sourcepub fn set_test_windows(self, input: Option<Vec<WindowSummary>>) -> Self
pub fn set_test_windows(self, input: Option<Vec<WindowSummary>>) -> Self
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the EvaluationParameters
object determines the number of windows in the array.
sourcepub fn get_test_windows(&self) -> &Option<Vec<WindowSummary>>
pub fn get_test_windows(&self) -> &Option<Vec<WindowSummary>>
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the EvaluationParameters
object determines the number of windows in the array.
sourcepub fn build(self) -> EvaluationResult
pub fn build(self) -> EvaluationResult
Consumes the builder and constructs a EvaluationResult
.
Trait Implementations§
source§impl Clone for EvaluationResultBuilder
impl Clone for EvaluationResultBuilder
source§fn clone(&self) -> EvaluationResultBuilder
fn clone(&self) -> EvaluationResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EvaluationResultBuilder
impl Debug for EvaluationResultBuilder
source§impl Default for EvaluationResultBuilder
impl Default for EvaluationResultBuilder
source§fn default() -> EvaluationResultBuilder
fn default() -> EvaluationResultBuilder
source§impl PartialEq for EvaluationResultBuilder
impl PartialEq for EvaluationResultBuilder
source§fn eq(&self, other: &EvaluationResultBuilder) -> bool
fn eq(&self, other: &EvaluationResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluationResultBuilder
Auto Trait Implementations§
impl Freeze for EvaluationResultBuilder
impl RefUnwindSafe for EvaluationResultBuilder
impl Send for EvaluationResultBuilder
impl Sync for EvaluationResultBuilder
impl Unpin for EvaluationResultBuilder
impl UnwindSafe for EvaluationResultBuilder
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