#[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 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.
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 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.
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 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 build(self) -> StillWaitingResponseSpecification
pub fn build(self) -> StillWaitingResponseSpecification
Consumes the builder and constructs a StillWaitingResponseSpecification.
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<StillWaitingResponseSpecificationBuilder> for StillWaitingResponseSpecificationBuilder
impl PartialEq<StillWaitingResponseSpecificationBuilder> 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 ==.