Struct aws_sdk_lexmodelsv2::operation::create_bot_locale::builders::CreateBotLocaleOutputBuilder
source · #[non_exhaustive]pub struct CreateBotLocaleOutputBuilder { /* private fields */ }Expand description
A builder for CreateBotLocaleOutput.
Implementations§
source§impl CreateBotLocaleOutputBuilder
impl CreateBotLocaleOutputBuilder
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The specified bot identifier.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The specified bot identifier.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The specified bot version.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The specified bot version.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The specified bot version.
sourcepub fn locale_name(self, input: impl Into<String>) -> Self
pub fn locale_name(self, input: impl Into<String>) -> Self
The specified locale name.
sourcepub fn set_locale_name(self, input: Option<String>) -> Self
pub fn set_locale_name(self, input: Option<String>) -> Self
The specified locale name.
sourcepub fn get_locale_name(&self) -> &Option<String>
pub fn get_locale_name(&self) -> &Option<String>
The specified locale name.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The specified locale identifier.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The specified locale identifier.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The specified description of the bot locale.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The specified description of the bot locale.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The specified description of the bot locale.
sourcepub fn nlu_intent_confidence_threshold(self, input: f64) -> Self
pub fn nlu_intent_confidence_threshold(self, input: f64) -> Self
The specified confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents.
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 specified confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents.
sourcepub fn get_nlu_intent_confidence_threshold(&self) -> &Option<f64>
pub fn get_nlu_intent_confidence_threshold(&self) -> &Option<f64>
The specified confidence threshold for inserting the AMAZON.FallbackIntent and AMAZON.KendraSearchIntent intents.
sourcepub fn voice_settings(self, input: VoiceSettings) -> Self
pub fn voice_settings(self, input: VoiceSettings) -> Self
The Amazon Polly voice ID that Amazon Lex uses 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 Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
sourcepub fn get_voice_settings(&self) -> &Option<VoiceSettings>
pub fn get_voice_settings(&self) -> &Option<VoiceSettings>
The Amazon Polly voice ID that Amazon Lex uses 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 status of the bot.
When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.
If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.
If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.
sourcepub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
pub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
The status of the bot.
When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.
If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.
If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.
sourcepub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
pub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
The status of the bot.
When the status is Creating the bot locale is being configured. When the status is Building Amazon Lex is building the bot for testing and use.
If the status of the bot is ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is Built.
If there was a problem with building the bot, the status is Failed. If the bot was saved but not built, the status is NotBuilt.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
A timestamp specifying the date and time that the bot 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 specifying the date and time that the bot locale was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
A timestamp specifying the date and time that the bot locale was created.
sourcepub fn generative_ai_settings(self, input: GenerativeAiSettings) -> Self
pub fn generative_ai_settings(self, input: GenerativeAiSettings) -> Self
Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn set_generative_ai_settings(
self,
input: Option<GenerativeAiSettings>,
) -> Self
pub fn set_generative_ai_settings( self, input: Option<GenerativeAiSettings>, ) -> Self
Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn get_generative_ai_settings(&self) -> &Option<GenerativeAiSettings>
pub fn get_generative_ai_settings(&self) -> &Option<GenerativeAiSettings>
Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
sourcepub fn build(self) -> CreateBotLocaleOutput
pub fn build(self) -> CreateBotLocaleOutput
Consumes the builder and constructs a CreateBotLocaleOutput.
Trait Implementations§
source§impl Clone for CreateBotLocaleOutputBuilder
impl Clone for CreateBotLocaleOutputBuilder
source§fn clone(&self) -> CreateBotLocaleOutputBuilder
fn clone(&self) -> CreateBotLocaleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateBotLocaleOutputBuilder
impl Debug for CreateBotLocaleOutputBuilder
source§impl Default for CreateBotLocaleOutputBuilder
impl Default for CreateBotLocaleOutputBuilder
source§fn default() -> CreateBotLocaleOutputBuilder
fn default() -> CreateBotLocaleOutputBuilder
source§impl PartialEq for CreateBotLocaleOutputBuilder
impl PartialEq for CreateBotLocaleOutputBuilder
source§fn eq(&self, other: &CreateBotLocaleOutputBuilder) -> bool
fn eq(&self, other: &CreateBotLocaleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateBotLocaleOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateBotLocaleOutputBuilder
impl RefUnwindSafe for CreateBotLocaleOutputBuilder
impl Send for CreateBotLocaleOutputBuilder
impl Sync for CreateBotLocaleOutputBuilder
impl Unpin for CreateBotLocaleOutputBuilder
impl UnwindSafe for CreateBotLocaleOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more