#[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 ==.impl StructuralPartialEq for AssociateBotInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateBotInputBuilder
impl RefUnwindSafe for AssociateBotInputBuilder
impl Send for AssociateBotInputBuilder
impl Sync for AssociateBotInputBuilder
impl Unpin for AssociateBotInputBuilder
impl UnwindSafe for AssociateBotInputBuilder
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