@Generated(value="software.amazon.awssdk:codegen") public final class WaitAndContinueSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WaitAndContinueSpecification.Builder,WaitAndContinueSpecification>
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WaitAndContinueSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
active()
Specifies whether the bot will wait for a user to respond.
|
static WaitAndContinueSpecification.Builder |
builder() |
ResponseSpecification |
continueResponse()
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends WaitAndContinueSpecification.Builder> |
serializableBuilderClass() |
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.
|
WaitAndContinueSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ResponseSpecification |
waitingResponse()
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResponseSpecification waitingResponse()
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
public final ResponseSpecification continueResponse()
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
public final 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.
public final 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 field isn't specified, the default is true.public WaitAndContinueSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WaitAndContinueSpecification.Builder,WaitAndContinueSpecification>public static WaitAndContinueSpecification.Builder builder()
public static Class<? extends WaitAndContinueSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.