Struct aws_sdk_lexmodelsv2::operation::update_bot_locale::builders::UpdateBotLocaleOutputBuilder
source · #[non_exhaustive]pub struct UpdateBotLocaleOutputBuilder { /* private fields */ }Expand description
A builder for UpdateBotLocaleOutput.
Implementations§
source§impl UpdateBotLocaleOutputBuilder
impl UpdateBotLocaleOutputBuilder
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 that contains the updated locale.
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 that contains the updated locale.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot that contains the updated locale.
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 that contains the updated locale.
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 that contains the updated locale.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot that contains the updated locale.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The language and locale of the updated bot locale.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The language and locale of the updated bot locale.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The language and locale of the updated bot locale.
sourcepub fn locale_name(self, input: impl Into<String>) -> Self
pub fn locale_name(self, input: impl Into<String>) -> Self
The updated locale name for the locale.
sourcepub fn set_locale_name(self, input: Option<String>) -> Self
pub fn set_locale_name(self, input: Option<String>) -> Self
The updated locale name for the locale.
sourcepub fn get_locale_name(&self) -> &Option<String>
pub fn get_locale_name(&self) -> &Option<String>
The updated locale name for the locale.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The updated description of the locale.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The updated description of the locale.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The updated description of the locale.
sourcepub fn nlu_intent_confidence_threshold(self, input: f64) -> Self
pub fn nlu_intent_confidence_threshold(self, input: f64) -> Self
The updated confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
sourcepub fn set_nlu_intent_confidence_threshold(self, input: Option<f64>) -> Self
pub fn set_nlu_intent_confidence_threshold(self, input: Option<f64>) -> Self
The updated confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
sourcepub fn get_nlu_intent_confidence_threshold(&self) -> &Option<f64>
pub fn get_nlu_intent_confidence_threshold(&self) -> &Option<f64>
The updated confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.
sourcepub fn voice_settings(self, input: VoiceSettings) -> Self
pub fn voice_settings(self, input: VoiceSettings) -> Self
The updated Amazon Polly voice to use for voice interaction with the user.
sourcepub fn set_voice_settings(self, input: Option<VoiceSettings>) -> Self
pub fn set_voice_settings(self, input: Option<VoiceSettings>) -> Self
The updated Amazon Polly voice to use for voice interaction with the user.
sourcepub fn get_voice_settings(&self) -> &Option<VoiceSettings>
pub fn get_voice_settings(&self) -> &Option<VoiceSettings>
The updated Amazon Polly voice to use for voice interaction with the user.
sourcepub fn bot_locale_status(self, input: BotLocaleStatus) -> Self
pub fn bot_locale_status(self, input: BotLocaleStatus) -> Self
The current status of the locale. When the bot status is Built the locale is ready for use.
sourcepub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
pub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
The current status of the locale. When the bot status is Built the locale is ready for use.
sourcepub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
pub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
The current status of the locale. When the bot status is Built the locale is ready for use.
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 the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.
sourcepub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
pub fn set_failure_reasons(self, input: Option<Vec<String>>) -> Self
If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.
sourcepub fn get_failure_reasons(&self) -> &Option<Vec<String>>
pub fn get_failure_reasons(&self) -> &Option<Vec<String>>
If the botLocaleStatus is Failed, the failureReasons field lists the errors that occurred while building the bot.
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 locale 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 locale 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 locale 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 locale 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 locale 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 locale was last updated.
sourcepub fn recommended_actions(self, input: impl Into<String>) -> Self
pub fn recommended_actions(self, input: impl Into<String>) -> Self
Appends an item to recommended_actions.
To override the contents of this collection use set_recommended_actions.
Recommended actions to take to resolve an error in the failureReasons field.
sourcepub fn set_recommended_actions(self, input: Option<Vec<String>>) -> Self
pub fn set_recommended_actions(self, input: Option<Vec<String>>) -> Self
Recommended actions to take to resolve an error in the failureReasons field.
sourcepub fn get_recommended_actions(&self) -> &Option<Vec<String>>
pub fn get_recommended_actions(&self) -> &Option<Vec<String>>
Recommended actions to take to resolve an error in the failureReasons field.
sourcepub fn generative_ai_settings(self, input: GenerativeAiSettings) -> Self
pub fn generative_ai_settings(self, input: GenerativeAiSettings) -> Self
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
sourcepub fn set_generative_ai_settings(
self,
input: Option<GenerativeAiSettings>
) -> Self
pub fn set_generative_ai_settings( self, input: Option<GenerativeAiSettings> ) -> Self
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
sourcepub fn get_generative_ai_settings(&self) -> &Option<GenerativeAiSettings>
pub fn get_generative_ai_settings(&self) -> &Option<GenerativeAiSettings>
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
sourcepub fn build(self) -> UpdateBotLocaleOutput
pub fn build(self) -> UpdateBotLocaleOutput
Consumes the builder and constructs a UpdateBotLocaleOutput.
Trait Implementations§
source§impl Clone for UpdateBotLocaleOutputBuilder
impl Clone for UpdateBotLocaleOutputBuilder
source§fn clone(&self) -> UpdateBotLocaleOutputBuilder
fn clone(&self) -> UpdateBotLocaleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateBotLocaleOutputBuilder
impl Debug for UpdateBotLocaleOutputBuilder
source§impl Default for UpdateBotLocaleOutputBuilder
impl Default for UpdateBotLocaleOutputBuilder
source§fn default() -> UpdateBotLocaleOutputBuilder
fn default() -> UpdateBotLocaleOutputBuilder
source§impl PartialEq for UpdateBotLocaleOutputBuilder
impl PartialEq for UpdateBotLocaleOutputBuilder
source§fn eq(&self, other: &UpdateBotLocaleOutputBuilder) -> bool
fn eq(&self, other: &UpdateBotLocaleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.