public static interface PromptSpecification.Builder extends SdkPojo, CopyableBuilder<PromptSpecification.Builder,PromptSpecification>
| Modifier and Type | Method and Description |
|---|---|
PromptSpecification.Builder |
allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt from the bot.
|
PromptSpecification.Builder |
maxRetries(Integer maxRetries)
The maximum number of times the bot tries to elicit a response from the user using this prompt.
|
PromptSpecification.Builder |
messageGroups(Collection<MessageGroup> messageGroups)
A collection of messages that Amazon Lex can send to the user.
|
PromptSpecification.Builder |
messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
A collection of messages that Amazon Lex can send to the user.
|
PromptSpecification.Builder |
messageGroups(MessageGroup... messageGroups)
A collection of messages that Amazon Lex can send to the user.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPromptSpecification.Builder messageGroups(Collection<MessageGroup> messageGroups)
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
messageGroups - A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message
to send at runtime.PromptSpecification.Builder messageGroups(MessageGroup... messageGroups)
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
messageGroups - A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message
to send at runtime.PromptSpecification.Builder messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #messageGroups(List) .messageGroups - a consumer that will call methods on List.Builder #messageGroups(List) PromptSpecification.Builder maxRetries(Integer maxRetries)
The maximum number of times the bot tries to elicit a response from the user using this prompt.
maxRetries - The maximum number of times the bot tries to elicit a response from the user using this prompt.PromptSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt from the bot.
allowInterrupt - Indicates whether the user can interrupt a speech prompt from the bot.Copyright © 2022. All rights reserved.