Struct aws_sdk_lexmodelsv2::types::builders::MessageGroupBuilder
source · #[non_exhaustive]pub struct MessageGroupBuilder { /* private fields */ }Expand description
A builder for MessageGroup.
Implementations§
source§impl MessageGroupBuilder
impl MessageGroupBuilder
sourcepub fn message(self, input: Message) -> Self
pub fn message(self, input: Message) -> Self
The primary message that Amazon Lex should send to the user.
This field is required.sourcepub fn set_message(self, input: Option<Message>) -> Self
pub fn set_message(self, input: Option<Message>) -> Self
The primary message that Amazon Lex should send to the user.
sourcepub fn get_message(&self) -> &Option<Message>
pub fn get_message(&self) -> &Option<Message>
The primary message that Amazon Lex should send to the user.
sourcepub fn variations(self, input: Message) -> Self
pub fn variations(self, input: Message) -> Self
Appends an item to variations.
To override the contents of this collection use set_variations.
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
sourcepub fn set_variations(self, input: Option<Vec<Message>>) -> Self
pub fn set_variations(self, input: Option<Vec<Message>>) -> Self
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
sourcepub fn get_variations(&self) -> &Option<Vec<Message>>
pub fn get_variations(&self) -> &Option<Vec<Message>>
Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
sourcepub fn build(self) -> MessageGroup
pub fn build(self) -> MessageGroup
Consumes the builder and constructs a MessageGroup.
Trait Implementations§
source§impl Clone for MessageGroupBuilder
impl Clone for MessageGroupBuilder
source§fn clone(&self) -> MessageGroupBuilder
fn clone(&self) -> MessageGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MessageGroupBuilder
impl Debug for MessageGroupBuilder
source§impl Default for MessageGroupBuilder
impl Default for MessageGroupBuilder
source§fn default() -> MessageGroupBuilder
fn default() -> MessageGroupBuilder
source§impl PartialEq for MessageGroupBuilder
impl PartialEq for MessageGroupBuilder
impl StructuralPartialEq for MessageGroupBuilder
Auto Trait Implementations§
impl Freeze for MessageGroupBuilder
impl RefUnwindSafe for MessageGroupBuilder
impl Send for MessageGroupBuilder
impl Sync for MessageGroupBuilder
impl Unpin for MessageGroupBuilder
impl UnwindSafe for MessageGroupBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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