public static interface WaitAndContinueSpecification.Builder extends SdkPojo, CopyableBuilder<WaitAndContinueSpecification.Builder,WaitAndContinueSpecification>
| Modifier and Type | Method and Description |
|---|---|
WaitAndContinueSpecification.Builder |
active(Boolean active)
Specifies whether the bot will wait for a user to respond.
|
default WaitAndContinueSpecification.Builder |
continueResponse(Consumer<ResponseSpecification.Builder> continueResponse)
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
|
WaitAndContinueSpecification.Builder |
continueResponse(ResponseSpecification continueResponse)
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
|
default WaitAndContinueSpecification.Builder |
stillWaitingResponse(Consumer<StillWaitingResponseSpecification.Builder> stillWaitingResponse)
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input
from the user.
|
WaitAndContinueSpecification.Builder |
stillWaitingResponse(StillWaitingResponseSpecification stillWaitingResponse)
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input
from the user.
|
default WaitAndContinueSpecification.Builder |
waitingResponse(Consumer<ResponseSpecification.Builder> waitingResponse)
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
|
WaitAndContinueSpecification.Builder |
waitingResponse(ResponseSpecification waitingResponse)
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWaitAndContinueSpecification.Builder waitingResponse(ResponseSpecification waitingResponse)
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
waitingResponse - The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to
continue.default WaitAndContinueSpecification.Builder waitingResponse(Consumer<ResponseSpecification.Builder> waitingResponse)
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
This is a convenience method that creates an instance of theResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to waitingResponse(ResponseSpecification).waitingResponse - a consumer that will call methods on ResponseSpecification.BuilderwaitingResponse(ResponseSpecification)WaitAndContinueSpecification.Builder continueResponse(ResponseSpecification continueResponse)
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
continueResponse - The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.default WaitAndContinueSpecification.Builder continueResponse(Consumer<ResponseSpecification.Builder> continueResponse)
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
This is a convenience method that creates an instance of theResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to continueResponse(ResponseSpecification).continueResponse - a consumer that will call methods on ResponseSpecification.BuildercontinueResponse(ResponseSpecification)WaitAndContinueSpecification.Builder stillWaitingResponse(StillWaitingResponseSpecification stillWaitingResponse)
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
stillWaitingResponse - A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting
for input from the user.default WaitAndContinueSpecification.Builder stillWaitingResponse(Consumer<StillWaitingResponseSpecification.Builder> stillWaitingResponse)
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
This is a convenience method that creates an instance of theStillWaitingResponseSpecification.Builder avoiding the need to create one manually via
StillWaitingResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to stillWaitingResponse(StillWaitingResponseSpecification).stillWaitingResponse - a consumer that will call methods on StillWaitingResponseSpecification.BuilderstillWaitingResponse(StillWaitingResponseSpecification)WaitAndContinueSpecification.Builder active(Boolean active)
Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue
responses for a slot aren't used. If the active field isn't specified, the default is true.
active - Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue
responses for a slot aren't used. If the active field isn't specified, the default is
true.Copyright © 2022. All rights reserved.