Interface ActiveContextTimeToLive.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActiveContextTimeToLive.Builder,ActiveContextTimeToLive>,SdkBuilder<ActiveContextTimeToLive.Builder,ActiveContextTimeToLive>,SdkPojo
- Enclosing class:
- ActiveContextTimeToLive
public static interface ActiveContextTimeToLive.Builder extends SdkPojo, CopyableBuilder<ActiveContextTimeToLive.Builder,ActiveContextTimeToLive>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveContextTimeToLive.BuildertimeToLiveInSeconds(Integer timeToLiveInSeconds)The number of seconds that the context is active.ActiveContextTimeToLive.BuilderturnsToLive(Integer turnsToLive)The number of turns that the context is 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
timeToLiveInSeconds
ActiveContextTimeToLive.Builder timeToLiveInSeconds(Integer timeToLiveInSeconds)
The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).
- Parameters:
timeToLiveInSeconds- The number of seconds that the context is active. You can specify between 5 and 86400 seconds (24 hours).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnsToLive
ActiveContextTimeToLive.Builder turnsToLive(Integer turnsToLive)
The number of turns that the context is active. You can specify up to 20 turns. Each request and response from the bot is a turn.
- Parameters:
turnsToLive- The number of turns that the context is active. You can specify up to 20 turns. Each request and response from the bot is a turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-