Class WaitAndContinueSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.WaitAndContinueSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WaitAndContinueSpecification.Builder,WaitAndContinueSpecification>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWaitAndContinueSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanactive()Specifies whether the bot will wait for a user to respond.static WaitAndContinueSpecification.Builderbuilder()ResponseSpecificationcontinueResponse()The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends WaitAndContinueSpecification.Builder>serializableBuilderClass()StillWaitingResponseSpecificationstillWaitingResponse()A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.WaitAndContinueSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.ResponseSpecificationwaitingResponse()The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
waitingResponse
public final ResponseSpecification waitingResponse()
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
- Returns:
- The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
-
continueResponse
public final ResponseSpecification continueResponse()
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
- Returns:
- The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
-
stillWaitingResponse
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.
- Returns:
- A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
-
active
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
activefield isn't specified, the default is true.- Returns:
- 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
activefield isn't specified, the default is true.
-
toBuilder
public WaitAndContinueSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WaitAndContinueSpecification.Builder,WaitAndContinueSpecification>
-
builder
public static WaitAndContinueSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends WaitAndContinueSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-