#[non_exhaustive]pub struct AssociateBotInputBuilder { /* private fields */ }
Expand description
A builder for AssociateBotInput
.
Implementations§
source§impl AssociateBotInputBuilder
impl AssociateBotInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_lex_bot(self, input: Option<LexBot>) -> Self
pub fn set_lex_bot(self, input: Option<LexBot>) -> Self
Configuration information of an Amazon Lex bot.
sourcepub fn get_lex_bot(&self) -> &Option<LexBot>
pub fn get_lex_bot(&self) -> &Option<LexBot>
Configuration information of an Amazon Lex bot.
sourcepub fn lex_v2_bot(self, input: LexV2Bot) -> Self
pub fn lex_v2_bot(self, input: LexV2Bot) -> Self
The Amazon Lex V2 bot to associate with the instance.
sourcepub fn set_lex_v2_bot(self, input: Option<LexV2Bot>) -> Self
pub fn set_lex_v2_bot(self, input: Option<LexV2Bot>) -> Self
The Amazon Lex V2 bot to associate with the instance.
sourcepub fn get_lex_v2_bot(&self) -> &Option<LexV2Bot>
pub fn get_lex_v2_bot(&self) -> &Option<LexV2Bot>
The Amazon Lex V2 bot to associate with the instance.
sourcepub fn build(self) -> Result<AssociateBotInput, BuildError>
pub fn build(self) -> Result<AssociateBotInput, BuildError>
Consumes the builder and constructs a AssociateBotInput
.
source§impl AssociateBotInputBuilder
impl AssociateBotInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateBotOutput, SdkError<AssociateBotError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateBotOutput, SdkError<AssociateBotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateBotInputBuilder
impl Clone for AssociateBotInputBuilder
source§fn clone(&self) -> AssociateBotInputBuilder
fn clone(&self) -> AssociateBotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociateBotInputBuilder
impl Debug for AssociateBotInputBuilder
source§impl Default for AssociateBotInputBuilder
impl Default for AssociateBotInputBuilder
source§fn default() -> AssociateBotInputBuilder
fn default() -> AssociateBotInputBuilder
source§impl PartialEq for AssociateBotInputBuilder
impl PartialEq for AssociateBotInputBuilder
source§fn eq(&self, other: &AssociateBotInputBuilder) -> bool
fn eq(&self, other: &AssociateBotInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.