public static interface StillWaitingResponseSpecification.Builder extends SdkPojo, CopyableBuilder<StillWaitingResponseSpecification.Builder,StillWaitingResponseSpecification>
| Modifier and Type | Method and Description |
|---|---|
StillWaitingResponseSpecification.Builder |
allowInterrupt(Boolean allowInterrupt)
Indicates that the user can interrupt the response by speaking while the message is being played.
|
StillWaitingResponseSpecification.Builder |
frequencyInSeconds(Integer frequencyInSeconds)
How often a message should be sent to the user.
|
StillWaitingResponseSpecification.Builder |
messageGroups(Collection<MessageGroup> messageGroups)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex
sends to the user.
|
StillWaitingResponseSpecification.Builder |
messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex
sends to the user.
|
StillWaitingResponseSpecification.Builder |
messageGroups(MessageGroup... messageGroups)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex
sends to the user.
|
StillWaitingResponseSpecification.Builder |
timeoutInSeconds(Integer timeoutInSeconds)
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStillWaitingResponseSpecification.Builder messageGroups(Collection<MessageGroup> messageGroups)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
messageGroups - One or more message groups, each containing one or more messages, that define the prompts that Amazon
Lex sends to the user.StillWaitingResponseSpecification.Builder messageGroups(MessageGroup... messageGroups)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
messageGroups - One or more message groups, each containing one or more messages, that define the prompts that Amazon
Lex sends to the user.StillWaitingResponseSpecification.Builder messageGroups(Consumer<MessageGroup.Builder>... messageGroups)
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
This is a convenience method that creates an instance of theMessageGroup.Builder avoiding the need to create
one manually via MessageGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #messageGroups(List.
messageGroups - a consumer that will call methods on
MessageGroup.Builder#messageGroups(java.util.Collection) StillWaitingResponseSpecification.Builder frequencyInSeconds(Integer frequencyInSeconds)
How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
frequencyInSeconds - How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.StillWaitingResponseSpecification.Builder timeoutInSeconds(Integer timeoutInSeconds)
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
timeoutInSeconds - If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.StillWaitingResponseSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Indicates that the user can interrupt the response by speaking while the message is being played.
allowInterrupt - Indicates that the user can interrupt the response by speaking while the message is being played.Copyright © 2022. All rights reserved.