@Stability(value=Stable) public static final class CfnBot.PromptSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBot.PromptSpecificationProperty>
CfnBot.PromptSpecificationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBot.PromptSpecificationProperty.Builder maxRetries(Number maxRetries)
CfnBot.PromptSpecificationProperty.getMaxRetries()maxRetries - The maximum number of times the bot tries to elicit a response from the user using this prompt. This parameter is required.this@Stability(value=Stable) public CfnBot.PromptSpecificationProperty.Builder messageGroupsList(IResolvable messageGroupsList)
CfnBot.PromptSpecificationProperty.getMessageGroupsList()messageGroupsList - A collection of responses that Amazon Lex can send to the user. This parameter is required.
Amazon Lex chooses the actual response to send at runtime.this@Stability(value=Stable) public CfnBot.PromptSpecificationProperty.Builder messageGroupsList(List<? extends Object> messageGroupsList)
CfnBot.PromptSpecificationProperty.getMessageGroupsList()messageGroupsList - A collection of responses that Amazon Lex can send to the user. This parameter is required.
Amazon Lex chooses the actual response to send at runtime.this@Stability(value=Stable) public CfnBot.PromptSpecificationProperty.Builder allowInterrupt(Boolean allowInterrupt)
CfnBot.PromptSpecificationProperty.getAllowInterrupt()allowInterrupt - Indicates whether the user can interrupt a speech prompt from the bot.this@Stability(value=Stable) public CfnBot.PromptSpecificationProperty.Builder allowInterrupt(IResolvable allowInterrupt)
CfnBot.PromptSpecificationProperty.getAllowInterrupt()allowInterrupt - Indicates whether the user can interrupt a speech prompt from the bot.this@Stability(value=Stable) public CfnBot.PromptSpecificationProperty.Builder messageSelectionStrategy(String messageSelectionStrategy)
CfnBot.PromptSpecificationProperty.getMessageSelectionStrategy()messageSelectionStrategy - `CfnBot.PromptSpecificationProperty.MessageSelectionStrategy`.this@Stability(value=Stable) public CfnBot.PromptSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnBot.PromptSpecificationProperty>CfnBot.PromptSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.