Struct aws_sdk_lexmodelsv2::operation::create_bot_alias::builders::CreateBotAliasOutputBuilder
source · #[non_exhaustive]pub struct CreateBotAliasOutputBuilder { /* private fields */ }
Expand description
A builder for CreateBotAliasOutput
.
Implementations§
source§impl CreateBotAliasOutputBuilder
impl CreateBotAliasOutputBuilder
sourcepub fn bot_alias_id(self, input: impl Into<String>) -> Self
pub fn bot_alias_id(self, input: impl Into<String>) -> Self
The unique identifier of the 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 unique identifier of the bot alias.
sourcepub fn get_bot_alias_id(&self) -> &Option<String>
pub fn get_bot_alias_id(&self) -> &Option<String>
The unique identifier of the 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 name specified for 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 name specified for the bot alias.
sourcepub fn get_bot_alias_name(&self) -> &Option<String>
pub fn get_bot_alias_name(&self) -> &Option<String>
The name specified for the bot alias.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description specified for the bot alias.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description specified for the bot alias.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description specified for the bot alias.
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 associated with this alias.
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 associated with this alias.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The version of the bot associated with this alias.
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
.
Configuration information for a specific locale.
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
Configuration information for a specific locale.
sourcepub fn get_bot_alias_locale_settings(
&self
) -> &Option<HashMap<String, BotAliasLocaleSettings>>
pub fn get_bot_alias_locale_settings( &self ) -> &Option<HashMap<String, BotAliasLocaleSettings>>
Configuration information for a specific locale.
sourcepub fn conversation_log_settings(self, input: ConversationLogSettings) -> Self
pub fn conversation_log_settings(self, input: ConversationLogSettings) -> Self
The conversation log settings specified for the alias.
sourcepub fn set_conversation_log_settings(
self,
input: Option<ConversationLogSettings>
) -> Self
pub fn set_conversation_log_settings( self, input: Option<ConversationLogSettings> ) -> Self
The conversation log settings specified for the alias.
sourcepub fn get_conversation_log_settings(&self) -> &Option<ConversationLogSettings>
pub fn get_conversation_log_settings(&self) -> &Option<ConversationLogSettings>
The conversation log settings specified for the alias.
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 alias. The alias is first put into the Creating
state. When the alias is ready to be used, it is put into the Available
state. You can use the DescribeBotAlias
operation to get the current state of an alias.
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 alias. The alias is first put into the Creating
state. When the alias is ready to be used, it is put into the Available
state. You can use the DescribeBotAlias
operation to get the current state of an alias.
sourcepub fn get_bot_alias_status(&self) -> &Option<BotAliasStatus>
pub fn get_bot_alias_status(&self) -> &Option<BotAliasStatus>
The current status of the alias. The alias is first put into the Creating
state. When the alias is ready to be used, it is put into the Available
state. You can use the DescribeBotAlias
operation to get the current state of an alias.
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot that this alias applies to.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique identifier of the bot that this alias applies to.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The unique identifier of the bot that this alias applies to.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
A Unix timestamp indicating the date and time that the bot alias 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 Unix timestamp indicating the date and time that the bot alias was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
A Unix timestamp indicating the date and time that the bot alias was created.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of tags associated with the bot alias.
A list of tags associated with the bot alias.
A list of tags associated with the bot alias.
sourcepub fn build(self) -> CreateBotAliasOutput
pub fn build(self) -> CreateBotAliasOutput
Consumes the builder and constructs a CreateBotAliasOutput
.
Trait Implementations§
source§impl Clone for CreateBotAliasOutputBuilder
impl Clone for CreateBotAliasOutputBuilder
source§fn clone(&self) -> CreateBotAliasOutputBuilder
fn clone(&self) -> CreateBotAliasOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBotAliasOutputBuilder
impl Debug for CreateBotAliasOutputBuilder
source§impl Default for CreateBotAliasOutputBuilder
impl Default for CreateBotAliasOutputBuilder
source§fn default() -> CreateBotAliasOutputBuilder
fn default() -> CreateBotAliasOutputBuilder
source§impl PartialEq for CreateBotAliasOutputBuilder
impl PartialEq for CreateBotAliasOutputBuilder
source§fn eq(&self, other: &CreateBotAliasOutputBuilder) -> bool
fn eq(&self, other: &CreateBotAliasOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.