#[non_exhaustive]pub struct CreateBotOutputBuilder { /* private fields */ }
Expand description
A builder for CreateBotOutput
.
Implementations§
source§impl CreateBotOutputBuilder
impl CreateBotOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
sourcepub fn set_bot_name(self, input: Option<String>) -> Self
pub fn set_bot_name(self, input: Option<String>) -> Self
The name specified for the bot.
sourcepub fn get_bot_name(&self) -> &Option<String>
pub fn get_bot_name(&self) -> &Option<String>
The name specified for the bot.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description specified for the bot.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description specified for the bot.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description specified for the bot.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role specified for the bot.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The IAM role specified for the bot.
sourcepub fn data_privacy(self, input: DataPrivacy) -> Self
pub fn data_privacy(self, input: DataPrivacy) -> Self
The data privacy settings specified for the bot.
sourcepub fn set_data_privacy(self, input: Option<DataPrivacy>) -> Self
pub fn set_data_privacy(self, input: Option<DataPrivacy>) -> Self
The data privacy settings specified for the bot.
sourcepub fn get_data_privacy(&self) -> &Option<DataPrivacy>
pub fn get_data_privacy(&self) -> &Option<DataPrivacy>
The data privacy settings specified for the bot.
sourcepub fn idle_session_ttl_in_seconds(self, input: i32) -> Self
pub fn idle_session_ttl_in_seconds(self, input: i32) -> Self
The session idle time specified for the bot.
sourcepub fn set_idle_session_ttl_in_seconds(self, input: Option<i32>) -> Self
pub fn set_idle_session_ttl_in_seconds(self, input: Option<i32>) -> Self
The session idle time specified for the bot.
sourcepub fn get_idle_session_ttl_in_seconds(&self) -> &Option<i32>
pub fn get_idle_session_ttl_in_seconds(&self) -> &Option<i32>
The session idle time specified for the bot.
sourcepub fn bot_status(self, input: BotStatus) -> Self
pub fn bot_status(self, input: BotStatus) -> Self
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read for use, it changes to the Available
status. After the bot is created, you can use the DRAFT
version of the bot.
sourcepub fn set_bot_status(self, input: Option<BotStatus>) -> Self
pub fn set_bot_status(self, input: Option<BotStatus>) -> Self
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read for use, it changes to the Available
status. After the bot is created, you can use the DRAFT
version of the bot.
sourcepub fn get_bot_status(&self) -> &Option<BotStatus>
pub fn get_bot_status(&self) -> &Option<BotStatus>
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read for use, it changes to the Available
status. After the bot is created, you can use the DRAFT
version of the bot.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
A timestamp indicating 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 indicating 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 indicating the date and time that the bot was created.
Adds a key-value pair to bot_tags
.
To override the contents of this collection use set_bot_tags
.
A list of tags associated with the bot.
A list of tags associated with the bot.
A list of tags associated with the bot.
Adds a key-value pair to test_bot_alias_tags
.
To override the contents of this collection use set_test_bot_alias_tags
.
A list of tags associated with the test alias for the bot.
A list of tags associated with the test alias for the bot.
A list of tags associated with the test alias for the bot.
sourcepub fn set_bot_type(self, input: Option<BotType>) -> Self
pub fn set_bot_type(self, input: Option<BotType>) -> Self
The type of a bot that was created.
sourcepub fn get_bot_type(&self) -> &Option<BotType>
pub fn get_bot_type(&self) -> &Option<BotType>
The type of a bot that was created.
sourcepub fn bot_members(self, input: BotMember) -> Self
pub fn bot_members(self, input: BotMember) -> Self
Appends an item to bot_members
.
To override the contents of this collection use set_bot_members
.
The list of bots in a network that was created.
sourcepub fn set_bot_members(self, input: Option<Vec<BotMember>>) -> Self
pub fn set_bot_members(self, input: Option<Vec<BotMember>>) -> Self
The list of bots in a network that was created.
sourcepub fn get_bot_members(&self) -> &Option<Vec<BotMember>>
pub fn get_bot_members(&self) -> &Option<Vec<BotMember>>
The list of bots in a network that was created.
sourcepub fn build(self) -> CreateBotOutput
pub fn build(self) -> CreateBotOutput
Consumes the builder and constructs a CreateBotOutput
.
Trait Implementations§
source§impl Clone for CreateBotOutputBuilder
impl Clone for CreateBotOutputBuilder
source§fn clone(&self) -> CreateBotOutputBuilder
fn clone(&self) -> CreateBotOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBotOutputBuilder
impl Debug for CreateBotOutputBuilder
source§impl Default for CreateBotOutputBuilder
impl Default for CreateBotOutputBuilder
source§fn default() -> CreateBotOutputBuilder
fn default() -> CreateBotOutputBuilder
source§impl PartialEq for CreateBotOutputBuilder
impl PartialEq for CreateBotOutputBuilder
source§fn eq(&self, other: &CreateBotOutputBuilder) -> bool
fn eq(&self, other: &CreateBotOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.