Struct aws_sdk_lexmodelsv2::operation::describe_bot_recommendation::builders::DescribeBotRecommendationOutputBuilder
source · #[non_exhaustive]pub struct DescribeBotRecommendationOutputBuilder { /* private fields */ }Expand description
A builder for DescribeBotRecommendationOutput.
Implementations§
source§impl DescribeBotRecommendationOutputBuilder
impl DescribeBotRecommendationOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot associated with the bot recommendation.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot associated with the bot recommendation.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot associated with the bot recommendation.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot associated with the bot recommendation.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot associated with the bot recommendation.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot associated with the bot recommendation.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The identifier of the language and locale of the bot recommendation to describe.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The identifier of the language and locale of the bot recommendation to describe.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The identifier of the language and locale of the bot recommendation to describe.
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 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 identifier of the bot recommendation being described.
sourcepub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
pub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
The identifier of the bot recommendation being described.
sourcepub fn get_bot_recommendation_id(&self) -> &Option<String>
pub fn get_bot_recommendation_id(&self) -> &Option<String>
The identifier of the bot recommendation being described.
sourcepub fn failure_reasons(self, input: impl Into<String>) -> Self
pub fn failure_reasons(self, input: impl Into<String>) -> Self
Appends an item to failure_reasons.
To override the contents of this collection use set_failure_reasons.
If botRecommendationStatus is Failed, Amazon Lex explains why.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
If botRecommendationStatus is Failed, Amazon Lex explains why.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
If botRecommendationStatus is Failed, Amazon Lex explains why.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
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
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>
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
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
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>
The date and time that the bot recommendation was last updated.
sourcepub fn transcript_source_setting(self, input: TranscriptSourceSetting) -> Self
pub fn transcript_source_setting(self, input: TranscriptSourceSetting) -> Self
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
sourcepub fn set_transcript_source_setting(
self,
input: Option<TranscriptSourceSetting>
) -> Self
pub fn set_transcript_source_setting( self, input: Option<TranscriptSourceSetting> ) -> Self
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
sourcepub fn get_transcript_source_setting(&self) -> &Option<TranscriptSourceSetting>
pub fn get_transcript_source_setting(&self) -> &Option<TranscriptSourceSetting>
The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
sourcepub fn encryption_setting(self, input: EncryptionSetting) -> Self
pub fn encryption_setting(self, input: EncryptionSetting) -> Self
The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
sourcepub fn set_encryption_setting(self, input: Option<EncryptionSetting>) -> Self
pub fn set_encryption_setting(self, input: Option<EncryptionSetting>) -> Self
The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
sourcepub fn get_encryption_setting(&self) -> &Option<EncryptionSetting>
pub fn get_encryption_setting(&self) -> &Option<EncryptionSetting>
The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
sourcepub fn bot_recommendation_results(self, input: BotRecommendationResults) -> Self
pub fn bot_recommendation_results(self, input: BotRecommendationResults) -> Self
The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.
sourcepub fn set_bot_recommendation_results(
self,
input: Option<BotRecommendationResults>
) -> Self
pub fn set_bot_recommendation_results( self, input: Option<BotRecommendationResults> ) -> Self
The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.
sourcepub fn get_bot_recommendation_results(
&self
) -> &Option<BotRecommendationResults>
pub fn get_bot_recommendation_results( &self ) -> &Option<BotRecommendationResults>
The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.
sourcepub fn build(self) -> DescribeBotRecommendationOutput
pub fn build(self) -> DescribeBotRecommendationOutput
Consumes the builder and constructs a DescribeBotRecommendationOutput.
Trait Implementations§
source§impl Clone for DescribeBotRecommendationOutputBuilder
impl Clone for DescribeBotRecommendationOutputBuilder
source§fn clone(&self) -> DescribeBotRecommendationOutputBuilder
fn clone(&self) -> DescribeBotRecommendationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeBotRecommendationOutputBuilder
impl Default for DescribeBotRecommendationOutputBuilder
source§fn default() -> DescribeBotRecommendationOutputBuilder
fn default() -> DescribeBotRecommendationOutputBuilder
source§impl PartialEq for DescribeBotRecommendationOutputBuilder
impl PartialEq for DescribeBotRecommendationOutputBuilder
source§fn eq(&self, other: &DescribeBotRecommendationOutputBuilder) -> bool
fn eq(&self, other: &DescribeBotRecommendationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.