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
Modifier and TypeMethodDescriptionThe name of the output context.timeToLiveInSeconds
(Integer timeToLiveInSeconds) The amount of time, in seconds, that the output context should remain active.turnsToLive
(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 Details
-
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
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
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.
-