public static interface PutSessionResponse.Builder extends LexRuntimeV2Response.Builder, SdkPojo, CopyableBuilder<PutSessionResponse.Builder,PutSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
PutSessionResponse.Builder |
contentType(String contentType)
The type of response.
|
PutSessionResponse.Builder |
messages(String messages)
A list of messages that were last sent to the user.
|
PutSessionResponse.Builder |
requestAttributes(String requestAttributes)
Request-specific information passed between the client application and Amazon Lex.
|
PutSessionResponse.Builder |
sessionId(String sessionId)
The identifier of the session that received the data.
|
PutSessionResponse.Builder |
sessionState(String sessionState)
Represents the current state of the dialog between the user and the bot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutSessionResponse.Builder contentType(String contentType)
The type of response. Same as the type specified in the responseContentType field in the
request.
contentType - The type of response. Same as the type specified in the responseContentType field in the
request.PutSessionResponse.Builder messages(String messages)
A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.
messages - A list of messages that were last sent to the user. The messages are ordered based on how you return
the messages from you Lambda function or the order that the messages are defined in the bot.PutSessionResponse.Builder sessionState(String sessionState)
Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
sessionState - Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
PutSessionResponse.Builder requestAttributes(String requestAttributes)
Request-specific information passed between the client application and Amazon Lex. These are the same as the
requestAttribute parameter in the call to the PutSession operation.
requestAttributes - Request-specific information passed between the client application and Amazon Lex. These are the same
as the requestAttribute parameter in the call to the PutSession operation.PutSessionResponse.Builder sessionId(String sessionId)
The identifier of the session that received the data.
sessionId - The identifier of the session that received the data.Copyright © 2021. All rights reserved.