Struct aws_sdk_lexmodelsv2::model::PromptSpecification
source · #[non_exhaustive]pub struct PromptSpecification { /* private fields */ }Expand description
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
Implementations§
source§impl PromptSpecification
impl PromptSpecification
sourcepub fn message_groups(&self) -> Option<&[MessageGroup]>
pub fn message_groups(&self) -> Option<&[MessageGroup]>
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
sourcepub fn max_retries(&self) -> Option<i32>
pub fn max_retries(&self) -> Option<i32>
The maximum number of times the bot tries to elicit a response from the user using this prompt.
sourcepub fn allow_interrupt(&self) -> Option<bool>
pub fn allow_interrupt(&self) -> Option<bool>
Indicates whether the user can interrupt a speech prompt from the bot.
sourcepub fn message_selection_strategy(&self) -> Option<&MessageSelectionStrategy>
pub fn message_selection_strategy(&self) -> Option<&MessageSelectionStrategy>
Indicates how a message is selected from a message group among retries.
sourcepub fn prompt_attempts_specification(
&self
) -> Option<&HashMap<PromptAttempt, PromptAttemptSpecification>>
pub fn prompt_attempts_specification(
&self
) -> Option<&HashMap<PromptAttempt, PromptAttemptSpecification>>
Specifies the advanced settings on each attempt of the prompt.
source§impl PromptSpecification
impl PromptSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PromptSpecification.
Trait Implementations§
source§impl Clone for PromptSpecification
impl Clone for PromptSpecification
source§fn clone(&self) -> PromptSpecification
fn clone(&self) -> PromptSpecification
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 PromptSpecification
impl Debug for PromptSpecification
source§impl PartialEq<PromptSpecification> for PromptSpecification
impl PartialEq<PromptSpecification> for PromptSpecification
source§fn eq(&self, other: &PromptSpecification) -> bool
fn eq(&self, other: &PromptSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.