public static interface IntentResultEvent.Builder extends SdkPojo, CopyableBuilder<IntentResultEvent.Builder,IntentResultEvent>
| Modifier and Type | Method and Description |
|---|---|
IntentResultEvent.Builder |
eventId(String eventId)
A unique identifier of the event sent by Amazon Lex.
|
IntentResultEvent.Builder |
inputMode(InputMode inputMode)
Indicates whether the input to the operation was text or speech.
|
IntentResultEvent.Builder |
inputMode(String inputMode)
Indicates whether the input to the operation was text or speech.
|
IntentResultEvent.Builder |
interpretations(Collection<Interpretation> interpretations)
A list of intents that Amazon Lex determined might satisfy the user's utterance.
|
IntentResultEvent.Builder |
interpretations(Consumer<Interpretation.Builder>... interpretations)
A list of intents that Amazon Lex determined might satisfy the user's utterance.
|
IntentResultEvent.Builder |
interpretations(Interpretation... interpretations)
A list of intents that Amazon Lex determined might satisfy the user's utterance.
|
IntentResultEvent.Builder |
requestAttributes(Map<String,String> requestAttributes)
The attributes sent in the request.
|
IntentResultEvent.Builder |
sessionId(String sessionId)
The identifier of the session in use.
|
default IntentResultEvent.Builder |
sessionState(Consumer<SessionState.Builder> sessionState)
Sets the value of the SessionState property for this object.
|
IntentResultEvent.Builder |
sessionState(SessionState sessionState)
Sets the value of the SessionState property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIntentResultEvent.Builder inputMode(String inputMode)
Indicates whether the input to the operation was text or speech.
IntentResultEvent.Builder inputMode(InputMode inputMode)
Indicates whether the input to the operation was text or speech.
IntentResultEvent.Builder interpretations(Collection<Interpretation> 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.
IntentResultEvent.Builder interpretations(Interpretation... 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.
IntentResultEvent.Builder interpretations(Consumer<Interpretation.Builder>... 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.
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 #interpretations(List) .interpretations - a consumer that will call methods on List.Builder #interpretations(List) IntentResultEvent.Builder sessionState(SessionState sessionState)
sessionState - The new value for the SessionState property for this object.default IntentResultEvent.Builder sessionState(Consumer<SessionState.Builder> sessionState)
SessionState.Builder avoiding the need to
create one manually via SessionState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sessionState(SessionState).sessionState - a consumer that will call methods on SessionState.BuildersessionState(SessionState)IntentResultEvent.Builder requestAttributes(Map<String,String> requestAttributes)
The attributes sent in the request.
requestAttributes - The attributes sent in the request.IntentResultEvent.Builder sessionId(String sessionId)
The identifier of the session in use.
sessionId - The identifier of the session in use.IntentResultEvent.Builder eventId(String eventId)
A unique identifier of the event sent by Amazon Lex. The identifier is in the form RESPONSE-N,
where N is a number starting with one and incremented for each event sent by Amazon Lex in the current
session.
eventId - A unique identifier of the event sent by Amazon Lex. The identifier is in the form
RESPONSE-N, where N is a number starting with one and incremented for each event sent by
Amazon Lex in the current session.Copyright © 2021. All rights reserved.