#[non_exhaustive]pub struct StillWaitingResponseSpecificationBuilder { /* private fields */ }Expand description
A builder for StillWaitingResponseSpecification.
Implementations§
source§impl StillWaitingResponseSpecificationBuilder
impl StillWaitingResponseSpecificationBuilder
sourcepub fn message_groups(self, input: MessageGroup) -> Self
pub fn message_groups(self, input: MessageGroup) -> Self
Appends an item to message_groups.
To override the contents of this collection use set_message_groups.
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
sourcepub fn set_message_groups(self, input: Option<Vec<MessageGroup>>) -> Self
pub fn set_message_groups(self, input: Option<Vec<MessageGroup>>) -> Self
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
sourcepub fn get_message_groups(&self) -> &Option<Vec<MessageGroup>>
pub fn get_message_groups(&self) -> &Option<Vec<MessageGroup>>
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
sourcepub fn frequency_in_seconds(self, input: i32) -> Self
pub fn frequency_in_seconds(self, input: i32) -> Self
How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
This field is required.sourcepub fn set_frequency_in_seconds(self, input: Option<i32>) -> Self
pub fn set_frequency_in_seconds(self, input: Option<i32>) -> Self
How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
sourcepub fn get_frequency_in_seconds(&self) -> &Option<i32>
pub fn get_frequency_in_seconds(&self) -> &Option<i32>
How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
sourcepub fn timeout_in_seconds(self, input: i32) -> Self
pub fn timeout_in_seconds(self, input: i32) -> Self
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
This field is required.sourcepub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
pub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
sourcepub fn get_timeout_in_seconds(&self) -> &Option<i32>
pub fn get_timeout_in_seconds(&self) -> &Option<i32>
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
sourcepub fn allow_interrupt(self, input: bool) -> Self
pub fn allow_interrupt(self, input: bool) -> Self
Indicates that the user can interrupt the response by speaking while the message is being played.
sourcepub fn set_allow_interrupt(self, input: Option<bool>) -> Self
pub fn set_allow_interrupt(self, input: Option<bool>) -> Self
Indicates that the user can interrupt the response by speaking while the message is being played.
sourcepub fn get_allow_interrupt(&self) -> &Option<bool>
pub fn get_allow_interrupt(&self) -> &Option<bool>
Indicates that the user can interrupt the response by speaking while the message is being played.
sourcepub fn build(self) -> Result<StillWaitingResponseSpecification, BuildError>
pub fn build(self) -> Result<StillWaitingResponseSpecification, BuildError>
Consumes the builder and constructs a StillWaitingResponseSpecification.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StillWaitingResponseSpecificationBuilder
impl Clone for StillWaitingResponseSpecificationBuilder
source§fn clone(&self) -> StillWaitingResponseSpecificationBuilder
fn clone(&self) -> StillWaitingResponseSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StillWaitingResponseSpecificationBuilder
impl Default for StillWaitingResponseSpecificationBuilder
source§fn default() -> StillWaitingResponseSpecificationBuilder
fn default() -> StillWaitingResponseSpecificationBuilder
source§impl PartialEq for StillWaitingResponseSpecificationBuilder
impl PartialEq for StillWaitingResponseSpecificationBuilder
source§fn eq(&self, other: &StillWaitingResponseSpecificationBuilder) -> bool
fn eq(&self, other: &StillWaitingResponseSpecificationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StillWaitingResponseSpecificationBuilder
Auto Trait Implementations§
impl Freeze for StillWaitingResponseSpecificationBuilder
impl RefUnwindSafe for StillWaitingResponseSpecificationBuilder
impl Send for StillWaitingResponseSpecificationBuilder
impl Sync for StillWaitingResponseSpecificationBuilder
impl Unpin for StillWaitingResponseSpecificationBuilder
impl UnwindSafe for StillWaitingResponseSpecificationBuilder
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