@Generated(value="software.amazon.awssdk:codegen") public final class OutputContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OutputContext.Builder,OutputContext>
The specification of an output context that is set when an intent is fulfilled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OutputContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OutputContext.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the context.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OutputContext.Builder> |
serializableBuilderClass() |
Integer |
timeToLiveInSeconds()
The number of seconds that the context should be active after it is first sent in a
PostContent or
PostText response. |
OutputContext.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
turnsToLive()
The number of conversation turns that the context should be active.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the context.
public final Integer timeToLiveInSeconds()
The number of seconds that the context should be active after it is first sent in a PostContent or
PostText response. You can set the value between 5 and 86,400 seconds (24 hours).
PostContent or PostText response. You can set the value between 5 and 86,400
seconds (24 hours).public final Integer turnsToLive()
The number of conversation turns that the context should be active. A conversation turn is one
PostContent or PostText request and the corresponding response from Amazon Lex.
PostContent or PostText request and the corresponding response from Amazon Lex.public OutputContext.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OutputContext.Builder,OutputContext>public static OutputContext.Builder builder()
public static Class<? extends OutputContext.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.