public static interface SessionState.Builder extends SdkPojo, CopyableBuilder<SessionState.Builder,SessionState>
| Modifier and Type | Method and Description |
|---|---|
SessionState.Builder |
activeContexts(ActiveContext... activeContexts)
One or more contexts that indicate to Amazon Lex the context of a request.
|
SessionState.Builder |
activeContexts(Collection<ActiveContext> activeContexts)
One or more contexts that indicate to Amazon Lex the context of a request.
|
SessionState.Builder |
activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
One or more contexts that indicate to Amazon Lex the context of a request.
|
default SessionState.Builder |
dialogAction(Consumer<DialogAction.Builder> dialogAction)
The next step that Amazon Lex should take in the conversation with a user.
|
SessionState.Builder |
dialogAction(DialogAction dialogAction)
The next step that Amazon Lex should take in the conversation with a user.
|
default SessionState.Builder |
intent(Consumer<Intent.Builder> intent)
The active intent that Amazon Lex is processing.
|
SessionState.Builder |
intent(Intent intent)
The active intent that Amazon Lex is processing.
|
SessionState.Builder |
originatingRequestId(String originatingRequestId)
|
SessionState.Builder |
sessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSessionState.Builder dialogAction(DialogAction dialogAction)
The next step that Amazon Lex should take in the conversation with a user.
dialogAction - The next step that Amazon Lex should take in the conversation with a user.default SessionState.Builder dialogAction(Consumer<DialogAction.Builder> dialogAction)
The next step that Amazon Lex should take in the conversation with a user.
This is a convenience that creates an instance of theDialogAction.Builder avoiding the need to
create one manually via DialogAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to dialogAction(DialogAction).dialogAction - a consumer that will call methods on DialogAction.BuilderdialogAction(DialogAction)SessionState.Builder intent(Intent intent)
The active intent that Amazon Lex is processing.
intent - The active intent that Amazon Lex is processing.default SessionState.Builder intent(Consumer<Intent.Builder> intent)
The active intent that Amazon Lex is processing.
This is a convenience that creates an instance of theIntent.Builder avoiding the need to create one
manually via Intent.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to intent(Intent).intent - a consumer that will call methods on Intent.Builderintent(Intent)SessionState.Builder activeContexts(Collection<ActiveContext> activeContexts)
One or more contexts that indicate to Amazon Lex the context of a request. When a context is active, Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.
activeContexts - One or more contexts that indicate to Amazon Lex the context of a request. When a context is active,
Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.SessionState.Builder activeContexts(ActiveContext... activeContexts)
One or more contexts that indicate to Amazon Lex the context of a request. When a context is active, Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.
activeContexts - One or more contexts that indicate to Amazon Lex the context of a request. When a context is active,
Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.SessionState.Builder activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
One or more contexts that indicate to Amazon Lex the context of a request. When a context is active, Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #activeContexts(List) .activeContexts - a consumer that will call methods on List.Builder #activeContexts(List) SessionState.Builder sessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes - Map of key/value pairs representing session-specific context information. It contains application
information passed between Amazon Lex and a client application.SessionState.Builder originatingRequestId(String originatingRequestId)
originatingRequestId - Copyright © 2021. All rights reserved.