pub struct Builder { /* private fields */ }Expand description
A builder for BotRecommendationSummary.
Implementations§
source§impl Builder
impl Builder
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.
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 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.
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 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 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 build(self) -> BotRecommendationSummary
pub fn build(self) -> BotRecommendationSummary
Consumes the builder and constructs a BotRecommendationSummary.