Struct aws_sdk_connect::types::builders::LexBotConfigBuilder
source · #[non_exhaustive]pub struct LexBotConfigBuilder { /* private fields */ }
Expand description
A builder for LexBotConfig
.
Implementations§
source§impl LexBotConfigBuilder
impl LexBotConfigBuilder
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
Configuration information of an Amazon Lex V2 bot.
sourcepub fn set_lex_v2_bot(self, input: Option<LexV2Bot>) -> Self
pub fn set_lex_v2_bot(self, input: Option<LexV2Bot>) -> Self
Configuration information of an Amazon Lex V2 bot.
sourcepub fn get_lex_v2_bot(&self) -> &Option<LexV2Bot>
pub fn get_lex_v2_bot(&self) -> &Option<LexV2Bot>
Configuration information of an Amazon Lex V2 bot.
sourcepub fn build(self) -> LexBotConfig
pub fn build(self) -> LexBotConfig
Consumes the builder and constructs a LexBotConfig
.
Trait Implementations§
source§impl Clone for LexBotConfigBuilder
impl Clone for LexBotConfigBuilder
source§fn clone(&self) -> LexBotConfigBuilder
fn clone(&self) -> LexBotConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LexBotConfigBuilder
impl Debug for LexBotConfigBuilder
source§impl Default for LexBotConfigBuilder
impl Default for LexBotConfigBuilder
source§fn default() -> LexBotConfigBuilder
fn default() -> LexBotConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LexBotConfigBuilder
impl PartialEq for LexBotConfigBuilder
source§fn eq(&self, other: &LexBotConfigBuilder) -> bool
fn eq(&self, other: &LexBotConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LexBotConfigBuilder
Auto Trait Implementations§
impl Freeze for LexBotConfigBuilder
impl RefUnwindSafe for LexBotConfigBuilder
impl Send for LexBotConfigBuilder
impl Sync for LexBotConfigBuilder
impl Unpin for LexBotConfigBuilder
impl UnwindSafe for LexBotConfigBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.