Struct aws_sdk_lexmodelsv2::input::create_bot_version_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for CreateBotVersionInput
Implementations
The identifier of the bot to create the version for.
The identifier of the bot to create the version for.
A description of the version. Use the description to help identify the version in lists.
A description of the version. Use the description to help identify the version in lists.
pub fn bot_version_locale_specification(
self,
k: impl Into<String>,
v: BotVersionLocaleDetails
) -> Self
pub fn bot_version_locale_specification(
self,
k: impl Into<String>,
v: BotVersionLocaleDetails
) -> Self
Adds a key-value pair to bot_version_locale_specification.
To override the contents of this collection use set_bot_version_locale_specification.
Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
pub fn set_bot_version_locale_specification(
self,
input: Option<HashMap<String, BotVersionLocaleDetails>>
) -> Self
pub fn set_bot_version_locale_specification(
self,
input: Option<HashMap<String, BotVersionLocaleDetails>>
) -> Self
Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
Consumes the builder and constructs a CreateBotVersionInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more