V2modelsIntentConfirmationSettingPromptSpecification constructor

const V2modelsIntentConfirmationSettingPromptSpecification({
  1. Input<bool?>? allowInterrupt,
  2. required Input<int> maxRetries,
  3. Input<List<V2modelsIntentConfirmationSettingPromptSpecificationMessageGroup>?>? messageGroups,
  4. Input<String?>? messageSelectionStrategy,
  5. Input<List<V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecification>?>? promptAttemptsSpecifications,
})

Creates a new V2modelsIntentConfirmationSettingPromptSpecification. allowInterrupt Whether the user can interrupt a speech prompt from the bot. maxRetries Maximum number of times the bot tries to elicit a response from the user using this prompt. messageGroups Configuration block for messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime. See messageGroup. messageSelectionStrategy How a message is selected from a message group among retries. Valid values are Random and Ordered. promptAttemptsSpecifications Configuration block for advanced settings on each attempt of the prompt. See promptAttemptsSpecification.

Implementation

const V2modelsIntentConfirmationSettingPromptSpecification({
  this.allowInterrupt,
  required this.maxRetries,
  this.messageGroups,
  this.messageSelectionStrategy,
  this.promptAttemptsSpecifications,
});