@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() |
| Modifier and Type | Method and Description |
|---|---|
CfnBot.PromptSpecificationProperty.Builder |
allowInterrupt(Boolean allowInterrupt)
Sets the value of
CfnBot.PromptSpecificationProperty.getAllowInterrupt() |
CfnBot.PromptSpecificationProperty.Builder |
allowInterrupt(IResolvable allowInterrupt)
Sets the value of
CfnBot.PromptSpecificationProperty.getAllowInterrupt() |
CfnBot.PromptSpecificationProperty |
build()
Builds the configured instance.
|
CfnBot.PromptSpecificationProperty.Builder |
maxRetries(Number maxRetries)
Sets the value of
CfnBot.PromptSpecificationProperty.getMaxRetries() |
CfnBot.PromptSpecificationProperty.Builder |
messageGroupsList(IResolvable messageGroupsList)
Sets the value of
CfnBot.PromptSpecificationProperty.getMessageGroupsList() |
CfnBot.PromptSpecificationProperty.Builder |
messageGroupsList(List<? extends Object> messageGroupsList)
Sets the value of
CfnBot.PromptSpecificationProperty.getMessageGroupsList() |
@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 build()
build in interface software.amazon.jsii.Builder<CfnBot.PromptSpecificationProperty>CfnBot.PromptSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.