Struct aws_sdk_lexmodelsv2::operation::build_bot_locale::builders::BuildBotLocaleOutputBuilder
source · #[non_exhaustive]pub struct BuildBotLocaleOutputBuilder { /* private fields */ }Expand description
A builder for BuildBotLocaleOutput.
Implementations§
source§impl BuildBotLocaleOutputBuilder
impl BuildBotLocaleOutputBuilder
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the specified bot.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the specified bot.
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 was built. This is only the draft version of the bot.
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 was built. This is only the draft version of the bot.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot that was built. This is only the draft version of the bot.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The language and locale specified of where the bot can be used.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The language and locale specified of where the bot can be used.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The language and locale specified of where the bot can be used.
sourcepub fn bot_locale_status(self, input: BotLocaleStatus) -> Self
pub fn bot_locale_status(self, input: BotLocaleStatus) -> Self
The bot's build status. When the status is ReadyExpressTesting you can test the bot using the utterances defined for the intents and slot types. When the status is Built, the bot is ready for use and can be tested using any utterance.
sourcepub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
pub fn set_bot_locale_status(self, input: Option<BotLocaleStatus>) -> Self
The bot's build status. When the status is ReadyExpressTesting you can test the bot using the utterances defined for the intents and slot types. When the status is Built, the bot is ready for use and can be tested using any utterance.
sourcepub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
pub fn get_bot_locale_status(&self) -> &Option<BotLocaleStatus>
The bot's build status. When the status is ReadyExpressTesting you can test the bot using the utterances defined for the intents and slot types. When the status is Built, the bot is ready for use and can be tested using any utterance.
sourcepub fn last_build_submitted_date_time(self, input: DateTime) -> Self
pub fn last_build_submitted_date_time(self, input: DateTime) -> Self
A timestamp indicating the date and time that the bot was last built for this locale.
sourcepub fn set_last_build_submitted_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_build_submitted_date_time(self, input: Option<DateTime>) -> Self
A timestamp indicating the date and time that the bot was last built for this locale.
sourcepub fn get_last_build_submitted_date_time(&self) -> &Option<DateTime>
pub fn get_last_build_submitted_date_time(&self) -> &Option<DateTime>
A timestamp indicating the date and time that the bot was last built for this locale.
sourcepub fn build(self) -> BuildBotLocaleOutput
pub fn build(self) -> BuildBotLocaleOutput
Consumes the builder and constructs a BuildBotLocaleOutput.
Trait Implementations§
source§impl Clone for BuildBotLocaleOutputBuilder
impl Clone for BuildBotLocaleOutputBuilder
source§fn clone(&self) -> BuildBotLocaleOutputBuilder
fn clone(&self) -> BuildBotLocaleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BuildBotLocaleOutputBuilder
impl Debug for BuildBotLocaleOutputBuilder
source§impl Default for BuildBotLocaleOutputBuilder
impl Default for BuildBotLocaleOutputBuilder
source§fn default() -> BuildBotLocaleOutputBuilder
fn default() -> BuildBotLocaleOutputBuilder
source§impl PartialEq for BuildBotLocaleOutputBuilder
impl PartialEq for BuildBotLocaleOutputBuilder
source§fn eq(&self, other: &BuildBotLocaleOutputBuilder) -> bool
fn eq(&self, other: &BuildBotLocaleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BuildBotLocaleOutputBuilder
Auto Trait Implementations§
impl Freeze for BuildBotLocaleOutputBuilder
impl RefUnwindSafe for BuildBotLocaleOutputBuilder
impl Send for BuildBotLocaleOutputBuilder
impl Sync for BuildBotLocaleOutputBuilder
impl Unpin for BuildBotLocaleOutputBuilder
impl UnwindSafe for BuildBotLocaleOutputBuilder
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> 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