#[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 ==.