Interface OutputContext.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OutputContext.Builder,OutputContext>,SdkBuilder<OutputContext.Builder,OutputContext>,SdkPojo
- Enclosing class:
- OutputContext
public static interface OutputContext.Builder extends SdkPojo, CopyableBuilder<OutputContext.Builder,OutputContext>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputContext.Buildername(String name)The name of the output context.OutputContext.BuildertimeToLiveInSeconds(Integer timeToLiveInSeconds)The amount of time, in seconds, that the output context should remain active.OutputContext.BuilderturnsToLive(Integer turnsToLive)The number of conversation turns that the output context should remain active.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
OutputContext.Builder name(String name)
The name of the output context.
- Parameters:
name- The name of the output context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeToLiveInSeconds
OutputContext.Builder timeToLiveInSeconds(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
turnsToLive
OutputContext.Builder turnsToLive(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-