Interface SessionState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SessionState.Builder,SessionState>,SdkBuilder<SessionState.Builder,SessionState>,SdkPojo
- Enclosing class:
- SessionState
public static interface SessionState.Builder extends SdkPojo, CopyableBuilder<SessionState.Builder,SessionState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionState.BuilderpromptSessionAttributes(Map<String,String> promptSessionAttributes)Contains attributes that persist across a prompt and the values of those attributes.SessionState.BuildersessionAttributes(Map<String,String> sessionAttributes)Contains attributes that persist across a session and the values of those attributes.-
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
-
promptSessionAttributes
SessionState.Builder promptSessionAttributes(Map<String,String> promptSessionAttributes)
Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see Prompt template placeholder variables.
- Parameters:
promptSessionAttributes- Contains attributes that persist across a prompt and the values of those attributes. These attributes replace the $prompt_session_attributes$ placeholder variable in the orchestration prompt template. For more information, see Prompt template placeholder variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionAttributes
SessionState.Builder sessionAttributes(Map<String,String> sessionAttributes)
Contains attributes that persist across a session and the values of those attributes.
- Parameters:
sessionAttributes- Contains attributes that persist across a session and the values of those attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-