Class OutputContext
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.OutputContext
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OutputContext.Builder,OutputContext>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOutputContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputContext.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the output context.List<SdkField<?>>sdkFields()static Class<? extends OutputContext.Builder>serializableBuilderClass()IntegertimeToLiveInSeconds()The amount of time, in seconds, that the output context should remain active.OutputContext.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerturnsToLive()The number of conversation turns that the output context should remain active.-
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
-
name
public final String name()
The name of the output context.
- Returns:
- The name of the output context.
-
timeToLiveInSeconds
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.
- Returns:
- 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.
-
turnsToLive
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.
- Returns:
- 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.
-
toBuilder
public OutputContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OutputContext.Builder,OutputContext>
-
builder
public static OutputContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends OutputContext.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.
-
-