Struct aws_sdk_lexmodelsv2::operation::create_bot_version::builders::CreateBotVersionOutputBuilder
source · #[non_exhaustive]pub struct CreateBotVersionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateBotVersionOutput
.
Implementations§
source§impl CreateBotVersionOutputBuilder
impl CreateBotVersionOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The bot identifier specified in the request.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The bot identifier specified in the request.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The bot identifier specified in the request.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the version specified in the request.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the version specified in the request.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the version specified in the request.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version number assigned to the version.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version number assigned to the version.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version number assigned to the version.
sourcepub 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
.
The source versions used for each locale in the new version.
sourcepub 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
The source versions used for each locale in the new version.
sourcepub fn get_bot_version_locale_specification(
&self
) -> &Option<HashMap<String, BotVersionLocaleDetails>>
pub fn get_bot_version_locale_specification( &self ) -> &Option<HashMap<String, BotVersionLocaleDetails>>
The source versions used for each locale in the new version.
sourcepub fn bot_status(self, input: BotStatus) -> Self
pub fn bot_status(self, input: BotStatus) -> Self
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
sourcepub fn set_bot_status(self, input: Option<BotStatus>) -> Self
pub fn set_bot_status(self, input: Option<BotStatus>) -> Self
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
sourcepub fn get_bot_status(&self) -> &Option<BotStatus>
pub fn get_bot_status(&self) -> &Option<BotStatus>
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
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 version 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 version 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 version was created.
sourcepub fn build(self) -> CreateBotVersionOutput
pub fn build(self) -> CreateBotVersionOutput
Consumes the builder and constructs a CreateBotVersionOutput
.
Trait Implementations§
source§impl Clone for CreateBotVersionOutputBuilder
impl Clone for CreateBotVersionOutputBuilder
source§fn clone(&self) -> CreateBotVersionOutputBuilder
fn clone(&self) -> CreateBotVersionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateBotVersionOutputBuilder
impl Default for CreateBotVersionOutputBuilder
source§fn default() -> CreateBotVersionOutputBuilder
fn default() -> CreateBotVersionOutputBuilder
source§impl PartialEq for CreateBotVersionOutputBuilder
impl PartialEq for CreateBotVersionOutputBuilder
source§fn eq(&self, other: &CreateBotVersionOutputBuilder) -> bool
fn eq(&self, other: &CreateBotVersionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateBotVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateBotVersionOutputBuilder
impl RefUnwindSafe for CreateBotVersionOutputBuilder
impl Send for CreateBotVersionOutputBuilder
impl Sync for CreateBotVersionOutputBuilder
impl Unpin for CreateBotVersionOutputBuilder
impl UnwindSafe for CreateBotVersionOutputBuilder
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