public static interface GetSessionResponse.Builder extends LexRuntimeResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetSessionResponse.Builder |
activeContexts(ActiveContext... activeContexts)
A list of active contexts for the session.
|
GetSessionResponse.Builder |
activeContexts(Collection<ActiveContext> activeContexts)
A list of active contexts for the session.
|
GetSessionResponse.Builder |
activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
A list of active contexts for the session.
|
default GetSessionResponse.Builder |
dialogAction(Consumer<DialogAction.Builder> dialogAction)
Describes the current state of the bot.
|
GetSessionResponse.Builder |
dialogAction(DialogAction dialogAction)
Describes the current state of the bot.
|
GetSessionResponse.Builder |
recentIntentSummaryView(Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session.
|
GetSessionResponse.Builder |
recentIntentSummaryView(Consumer<IntentSummary.Builder>... recentIntentSummaryView)
An array of information about the intents used in the session.
|
GetSessionResponse.Builder |
recentIntentSummaryView(IntentSummary... recentIntentSummaryView)
An array of information about the intents used in the session.
|
GetSessionResponse.Builder |
sessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing the session-specific context information.
|
GetSessionResponse.Builder |
sessionId(String sessionId)
A unique identifier for the session.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSessionResponse.Builder recentIntentSummaryView(Collection<IntentSummary> recentIntentSummaryView)
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter parameter in the request, the array contains only the
intents with the specified label.
recentIntentSummaryView - An array of information about the intents used in the session. The array can contain a maximum of
three summaries. If more than three intents are used in the session, the
recentIntentSummaryView operation contains information about the last three intents
used.
If you set the checkpointLabelFilter parameter in the request, the array contains only
the intents with the specified label.
GetSessionResponse.Builder recentIntentSummaryView(IntentSummary... recentIntentSummaryView)
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter parameter in the request, the array contains only the
intents with the specified label.
recentIntentSummaryView - An array of information about the intents used in the session. The array can contain a maximum of
three summaries. If more than three intents are used in the session, the
recentIntentSummaryView operation contains information about the last three intents
used.
If you set the checkpointLabelFilter parameter in the request, the array contains only
the intents with the specified label.
GetSessionResponse.Builder recentIntentSummaryView(Consumer<IntentSummary.Builder>... recentIntentSummaryView)
An array of information about the intents used in the session. The array can contain a maximum of three
summaries. If more than three intents are used in the session, the recentIntentSummaryView
operation contains information about the last three intents used.
If you set the checkpointLabelFilter parameter in the request, the array contains only the
intents with the specified label.
IntentSummary.Builder avoiding the need to create
one manually via IntentSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #recentIntentSummaryView(List.
recentIntentSummaryView - a consumer that will call methods on
IntentSummary.Builder#recentIntentSummaryView(java.util.Collection) GetSessionResponse.Builder sessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing the session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes - Map of key/value pairs representing the session-specific context information. It contains application
information passed between Amazon Lex and a client application.GetSessionResponse.Builder sessionId(String sessionId)
A unique identifier for the session.
sessionId - A unique identifier for the session.GetSessionResponse.Builder dialogAction(DialogAction dialogAction)
Describes the current state of the bot.
dialogAction - Describes the current state of the bot.default GetSessionResponse.Builder dialogAction(Consumer<DialogAction.Builder> dialogAction)
Describes the current state of the bot.
This is a convenience method 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)GetSessionResponse.Builder activeContexts(Collection<ActiveContext> activeContexts)
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent, PostText, or PutSession operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
activeContexts - A list of active contexts for the session. A context can be set when an intent is fulfilled or by
calling the PostContent, PostText, or PutSession operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
GetSessionResponse.Builder activeContexts(ActiveContext... activeContexts)
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent, PostText, or PutSession operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
activeContexts - A list of active contexts for the session. A context can be set when an intent is fulfilled or by
calling the PostContent, PostText, or PutSession operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
GetSessionResponse.Builder activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
A list of active contexts for the session. A context can be set when an intent is fulfilled or by calling the
PostContent, PostText, or PutSession operation.
You can use a context to control the intents that can follow up an intent, or to modify the operation of your application.
This is a convenience method that creates an instance of theActiveContext.Builder avoiding the need to create
one manually via ActiveContext.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #activeContexts(List.
activeContexts - a consumer that will call methods on
ActiveContext.Builder#activeContexts(java.util.Collection) Copyright © 2023. All rights reserved.