@Generated(value="software.amazon.awssdk:codegen") public final class OutputContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OutputContext.Builder,OutputContext>
Describes a session context that is activated 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 output context.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OutputContext.Builder> |
serializableBuilderClass() |
Integer |
timeToLiveInSeconds()
The amount of time, in seconds, that the output context should remain active.
|
OutputContext.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
turnsToLive()
The number of conversation turns that the output context should remain active.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the output context.
public final Integer timeToLiveInSeconds()
The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.
public final Integer turnsToLive()
The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
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 © 2021. All rights reserved.