Struct aws_sdk_forecast::types::builders::PredictorEventBuilder
source · #[non_exhaustive]pub struct PredictorEventBuilder { /* private fields */ }
Expand description
A builder for PredictorEvent
.
Implementations§
source§impl PredictorEventBuilder
impl PredictorEventBuilder
sourcepub fn detail(self, input: impl Into<String>) -> Self
pub fn detail(self, input: impl Into<String>) -> Self
The type of event. For example, Retrain
. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime
are from the previous predictor. Any new metrics are for the newly retrained predictor.
sourcepub fn set_detail(self, input: Option<String>) -> Self
pub fn set_detail(self, input: Option<String>) -> Self
The type of event. For example, Retrain
. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime
are from the previous predictor. Any new metrics are for the newly retrained predictor.
sourcepub fn get_detail(&self) -> &Option<String>
pub fn get_detail(&self) -> &Option<String>
The type of event. For example, Retrain
. A retraining event denotes the timepoint when a predictor was retrained. Any monitor results from before the Datetime
are from the previous predictor. Any new metrics are for the newly retrained predictor.
sourcepub fn set_datetime(self, input: Option<DateTime>) -> Self
pub fn set_datetime(self, input: Option<DateTime>) -> Self
The timestamp for when the event occurred.
sourcepub fn get_datetime(&self) -> &Option<DateTime>
pub fn get_datetime(&self) -> &Option<DateTime>
The timestamp for when the event occurred.
sourcepub fn build(self) -> PredictorEvent
pub fn build(self) -> PredictorEvent
Consumes the builder and constructs a PredictorEvent
.
Trait Implementations§
source§impl Clone for PredictorEventBuilder
impl Clone for PredictorEventBuilder
source§fn clone(&self) -> PredictorEventBuilder
fn clone(&self) -> PredictorEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PredictorEventBuilder
impl Debug for PredictorEventBuilder
source§impl Default for PredictorEventBuilder
impl Default for PredictorEventBuilder
source§fn default() -> PredictorEventBuilder
fn default() -> PredictorEventBuilder
source§impl PartialEq for PredictorEventBuilder
impl PartialEq for PredictorEventBuilder
source§fn eq(&self, other: &PredictorEventBuilder) -> bool
fn eq(&self, other: &PredictorEventBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PredictorEventBuilder
Auto Trait Implementations§
impl Freeze for PredictorEventBuilder
impl RefUnwindSafe for PredictorEventBuilder
impl Send for PredictorEventBuilder
impl Sync for PredictorEventBuilder
impl Unpin for PredictorEventBuilder
impl UnwindSafe for PredictorEventBuilder
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