Struct aws_sdk_lexmodelsv2::operation::update_bot_alias::builders::UpdateBotAliasOutputBuilder
source · #[non_exhaustive]pub struct UpdateBotAliasOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateBotAliasOutput
.
Implementations§
source§impl UpdateBotAliasOutputBuilder
impl UpdateBotAliasOutputBuilder
sourcepub fn bot_alias_id(self, input: impl Into<String>) -> Self
pub fn bot_alias_id(self, input: impl Into<String>) -> Self
The identifier of the updated bot alias.
sourcepub fn set_bot_alias_id(self, input: Option<String>) -> Self
pub fn set_bot_alias_id(self, input: Option<String>) -> Self
The identifier of the updated bot alias.
sourcepub fn get_bot_alias_id(&self) -> &Option<String>
pub fn get_bot_alias_id(&self) -> &Option<String>
The identifier of the updated bot alias.
sourcepub fn bot_alias_name(self, input: impl Into<String>) -> Self
pub fn bot_alias_name(self, input: impl Into<String>) -> Self
The updated name of the bot alias.
sourcepub fn set_bot_alias_name(self, input: Option<String>) -> Self
pub fn set_bot_alias_name(self, input: Option<String>) -> Self
The updated name of the bot alias.
sourcepub fn get_bot_alias_name(&self) -> &Option<String>
pub fn get_bot_alias_name(&self) -> &Option<String>
The updated name of the bot alias.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The updated description of the bot alias.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The updated description of the bot alias.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The updated description of the bot alias.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The updated version of the bot that the alias points to.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The updated version of the bot that the alias points to.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The updated version of the bot that the alias points to.
sourcepub fn bot_alias_locale_settings(
self,
k: impl Into<String>,
v: BotAliasLocaleSettings
) -> Self
pub fn bot_alias_locale_settings( self, k: impl Into<String>, v: BotAliasLocaleSettings ) -> Self
Adds a key-value pair to bot_alias_locale_settings
.
To override the contents of this collection use set_bot_alias_locale_settings
.
The updated Lambda functions to use in each locale for the bot alias.
sourcepub fn set_bot_alias_locale_settings(
self,
input: Option<HashMap<String, BotAliasLocaleSettings>>
) -> Self
pub fn set_bot_alias_locale_settings( self, input: Option<HashMap<String, BotAliasLocaleSettings>> ) -> Self
The updated Lambda functions to use in each locale for the bot alias.
sourcepub fn get_bot_alias_locale_settings(
&self
) -> &Option<HashMap<String, BotAliasLocaleSettings>>
pub fn get_bot_alias_locale_settings( &self ) -> &Option<HashMap<String, BotAliasLocaleSettings>>
The updated Lambda functions to use in each locale for the bot alias.
sourcepub fn conversation_log_settings(self, input: ConversationLogSettings) -> Self
pub fn conversation_log_settings(self, input: ConversationLogSettings) -> Self
The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
sourcepub fn set_conversation_log_settings(
self,
input: Option<ConversationLogSettings>
) -> Self
pub fn set_conversation_log_settings( self, input: Option<ConversationLogSettings> ) -> Self
The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
sourcepub fn get_conversation_log_settings(&self) -> &Option<ConversationLogSettings>
pub fn get_conversation_log_settings(&self) -> &Option<ConversationLogSettings>
The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
sourcepub fn sentiment_analysis_settings(
self,
input: SentimentAnalysisSettings
) -> Self
pub fn sentiment_analysis_settings( self, input: SentimentAnalysisSettings ) -> Self
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
sourcepub fn set_sentiment_analysis_settings(
self,
input: Option<SentimentAnalysisSettings>
) -> Self
pub fn set_sentiment_analysis_settings( self, input: Option<SentimentAnalysisSettings> ) -> Self
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
sourcepub fn get_sentiment_analysis_settings(
&self
) -> &Option<SentimentAnalysisSettings>
pub fn get_sentiment_analysis_settings( &self ) -> &Option<SentimentAnalysisSettings>
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
sourcepub fn bot_alias_status(self, input: BotAliasStatus) -> Self
pub fn bot_alias_status(self, input: BotAliasStatus) -> Self
The current status of the bot alias. When the status is Available
the alias is ready for use.
sourcepub fn set_bot_alias_status(self, input: Option<BotAliasStatus>) -> Self
pub fn set_bot_alias_status(self, input: Option<BotAliasStatus>) -> Self
The current status of the bot alias. When the status is Available
the alias is ready for use.
sourcepub fn get_bot_alias_status(&self) -> &Option<BotAliasStatus>
pub fn get_bot_alias_status(&self) -> &Option<BotAliasStatus>
The current status of the bot alias. When the status is Available
the alias is ready for use.
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 with the updated alias.
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 with the updated alias.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot with the updated alias.
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 bot 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 bot 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 bot 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 bot 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 bot 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 bot was last updated.
sourcepub fn build(self) -> UpdateBotAliasOutput
pub fn build(self) -> UpdateBotAliasOutput
Consumes the builder and constructs a UpdateBotAliasOutput
.
Trait Implementations§
source§impl Clone for UpdateBotAliasOutputBuilder
impl Clone for UpdateBotAliasOutputBuilder
source§fn clone(&self) -> UpdateBotAliasOutputBuilder
fn clone(&self) -> UpdateBotAliasOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateBotAliasOutputBuilder
impl Debug for UpdateBotAliasOutputBuilder
source§impl Default for UpdateBotAliasOutputBuilder
impl Default for UpdateBotAliasOutputBuilder
source§fn default() -> UpdateBotAliasOutputBuilder
fn default() -> UpdateBotAliasOutputBuilder
source§impl PartialEq for UpdateBotAliasOutputBuilder
impl PartialEq for UpdateBotAliasOutputBuilder
source§fn eq(&self, other: &UpdateBotAliasOutputBuilder) -> bool
fn eq(&self, other: &UpdateBotAliasOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateBotAliasOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateBotAliasOutputBuilder
impl RefUnwindSafe for UpdateBotAliasOutputBuilder
impl Send for UpdateBotAliasOutputBuilder
impl Sync for UpdateBotAliasOutputBuilder
impl Unpin for UpdateBotAliasOutputBuilder
impl UnwindSafe for UpdateBotAliasOutputBuilder
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