#[non_exhaustive]pub struct RecommenderUpdateSummaryBuilder { /* private fields */ }Expand description
A builder for RecommenderUpdateSummary.
Implementations§
source§impl RecommenderUpdateSummaryBuilder
impl RecommenderUpdateSummaryBuilder
sourcepub fn recommender_config(self, input: RecommenderConfig) -> Self
pub fn recommender_config(self, input: RecommenderConfig) -> Self
The configuration details of the recommender update.
sourcepub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
pub fn set_recommender_config(self, input: Option<RecommenderConfig>) -> Self
The configuration details of the recommender update.
sourcepub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
pub fn get_recommender_config(&self) -> &Option<RecommenderConfig>
The configuration details of the recommender update.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time (in Unix format) that the recommender update was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix format) that the recommender update was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time (in Unix format) that the recommender update was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time (in Unix time) that the recommender update was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time (in Unix time) that the recommender update was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time (in Unix time) that the recommender update was last updated.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the recommender update.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the recommender update.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the recommender update.
A recommender can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > ACTIVE
-
DELETE PENDING > DELETE IN_PROGRESS
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If a recommender update fails, the reason behind the failure.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If a recommender update fails, the reason behind the failure.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
If a recommender update fails, the reason behind the failure.
sourcepub fn build(self) -> RecommenderUpdateSummary
pub fn build(self) -> RecommenderUpdateSummary
Consumes the builder and constructs a RecommenderUpdateSummary.
Trait Implementations§
source§impl Clone for RecommenderUpdateSummaryBuilder
impl Clone for RecommenderUpdateSummaryBuilder
source§fn clone(&self) -> RecommenderUpdateSummaryBuilder
fn clone(&self) -> RecommenderUpdateSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RecommenderUpdateSummaryBuilder
impl Default for RecommenderUpdateSummaryBuilder
source§fn default() -> RecommenderUpdateSummaryBuilder
fn default() -> RecommenderUpdateSummaryBuilder
source§impl PartialEq for RecommenderUpdateSummaryBuilder
impl PartialEq for RecommenderUpdateSummaryBuilder
source§fn eq(&self, other: &RecommenderUpdateSummaryBuilder) -> bool
fn eq(&self, other: &RecommenderUpdateSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecommenderUpdateSummaryBuilder
Auto Trait Implementations§
impl Freeze for RecommenderUpdateSummaryBuilder
impl RefUnwindSafe for RecommenderUpdateSummaryBuilder
impl Send for RecommenderUpdateSummaryBuilder
impl Sync for RecommenderUpdateSummaryBuilder
impl Unpin for RecommenderUpdateSummaryBuilder
impl UnwindSafe for RecommenderUpdateSummaryBuilder
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