@Generated(value="software.amazon.awssdk:codegen") public final class ActiveContextTimeToLive extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActiveContextTimeToLive.Builder,ActiveContextTimeToLive>
The length of time or number of turns that a context remains active.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ActiveContextTimeToLive.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ActiveContextTimeToLive.Builder |
builder() |
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 ActiveContextTimeToLive.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. |
ActiveContextTimeToLive.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 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 ActiveContextTimeToLive.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ActiveContextTimeToLive.Builder,ActiveContextTimeToLive>public static ActiveContextTimeToLive.Builder builder()
public static Class<? extends ActiveContextTimeToLive.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.