public static interface RecognizeUtteranceResponse.Builder extends LexRuntimeV2Response.Builder, SdkPojo, CopyableBuilder<RecognizeUtteranceResponse.Builder,RecognizeUtteranceResponse>
| Modifier and Type | Method and Description |
|---|---|
RecognizeUtteranceResponse.Builder |
contentType(String contentType)
Content type as specified in the
responseContentType in the request. |
RecognizeUtteranceResponse.Builder |
inputMode(String inputMode)
Indicates whether the input mode to the operation was text or speech.
|
RecognizeUtteranceResponse.Builder |
inputTranscript(String inputTranscript)
The text used to process the request.
|
RecognizeUtteranceResponse.Builder |
interpretations(String interpretations)
A list of intents that Amazon Lex determined might satisfy the user's utterance.
|
RecognizeUtteranceResponse.Builder |
messages(String messages)
A list of messages that were last sent to the user.
|
RecognizeUtteranceResponse.Builder |
requestAttributes(String requestAttributes)
The attributes sent in the request.
|
RecognizeUtteranceResponse.Builder |
sessionId(String sessionId)
The identifier of the session in use.
|
RecognizeUtteranceResponse.Builder |
sessionState(String sessionState)
Represents the current state of the dialog between the user and the bot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildRecognizeUtteranceResponse.Builder inputMode(String inputMode)
Indicates whether the input mode to the operation was text or speech.
inputMode - Indicates whether the input mode to the operation was text or speech.RecognizeUtteranceResponse.Builder contentType(String contentType)
Content type as specified in the responseContentType in the request.
contentType - Content type as specified in the responseContentType in the request.RecognizeUtteranceResponse.Builder messages(String messages)
A list of messages that were last sent to the user. The messages are ordered based on the order that you returned the messages from your 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 the order that
you returned the messages from your Lambda function or the order that the messages are defined in the
bot.RecognizeUtteranceResponse.Builder interpretations(String interpretations)
A list of intents that Amazon Lex determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates how confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
interpretations - A list of intents that Amazon Lex determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates how confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
RecognizeUtteranceResponse.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 might 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 might be.
RecognizeUtteranceResponse.Builder requestAttributes(String requestAttributes)
The attributes sent in the request.
requestAttributes - The attributes sent in the request.RecognizeUtteranceResponse.Builder sessionId(String sessionId)
The identifier of the session in use.
sessionId - The identifier of the session in use.RecognizeUtteranceResponse.Builder inputTranscript(String inputTranscript)
The text used to process the request.
If the input was an audio stream, the inputTranscript field contains the text extracted from the
audio stream. This is the text that is actually processed to recognize intents and slot values. You can use
this information to determine if Amazon Lex is correctly processing the audio that you send.
inputTranscript - The text used to process the request.
If the input was an audio stream, the inputTranscript field contains the text extracted
from the audio stream. This is the text that is actually processed to recognize intents and slot
values. You can use this information to determine if Amazon Lex is correctly processing the audio that
you send.
Copyright © 2021. All rights reserved.