#[non_exhaustive]pub struct BotRecommendationSummaryBuilder { /* private fields */ }Expand description
A builder for BotRecommendationSummary.
Implementations§
source§impl BotRecommendationSummaryBuilder
impl BotRecommendationSummaryBuilder
sourcepub fn bot_recommendation_status(self, input: BotRecommendationStatus) -> Self
pub fn bot_recommendation_status(self, input: BotRecommendationStatus) -> Self
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
This field is required.sourcepub fn set_bot_recommendation_status(
self,
input: Option<BotRecommendationStatus>
) -> Self
pub fn set_bot_recommendation_status( self, input: Option<BotRecommendationStatus> ) -> Self
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
sourcepub fn get_bot_recommendation_status(&self) -> &Option<BotRecommendationStatus>
pub fn get_bot_recommendation_status(&self) -> &Option<BotRecommendationStatus>
The status of the bot recommendation.
If the status is Failed, then the reasons for the failure are listed in the failureReasons field.
sourcepub fn bot_recommendation_id(self, input: impl Into<String>) -> Self
pub fn bot_recommendation_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot recommendation to be updated.
This field is required.sourcepub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
pub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
The unique identifier of the bot recommendation to be updated.
sourcepub fn get_bot_recommendation_id(&self) -> &Option<String>
pub fn get_bot_recommendation_id(&self) -> &Option<String>
The unique identifier of the bot recommendation to be updated.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the bot recommendation was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
A timestamp of the date and time that the bot recommendation was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the bot recommendation was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
A timestamp of the date and time that the bot recommendation 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
A timestamp of the date and time that the bot recommendation was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
A timestamp of the date and time that the bot recommendation was last updated.
sourcepub fn build(self) -> Result<BotRecommendationSummary, BuildError>
pub fn build(self) -> Result<BotRecommendationSummary, BuildError>
Consumes the builder and constructs a BotRecommendationSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BotRecommendationSummaryBuilder
impl Clone for BotRecommendationSummaryBuilder
source§fn clone(&self) -> BotRecommendationSummaryBuilder
fn clone(&self) -> BotRecommendationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BotRecommendationSummaryBuilder
impl Default for BotRecommendationSummaryBuilder
source§fn default() -> BotRecommendationSummaryBuilder
fn default() -> BotRecommendationSummaryBuilder
source§impl PartialEq for BotRecommendationSummaryBuilder
impl PartialEq for BotRecommendationSummaryBuilder
source§fn eq(&self, other: &BotRecommendationSummaryBuilder) -> bool
fn eq(&self, other: &BotRecommendationSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.