@Generated(value="software.amazon.awssdk:codegen") public final class Interpretation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Interpretation.Builder,Interpretation>
An intent that Amazon Lex determined might satisfy the user's utterance. The intents are ordered by the confidence score.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Interpretation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Interpretation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Intent |
intent()
A list of intents that might satisfy the user's utterance.
|
ConfidenceScore |
nluConfidence()
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent,
AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. |
List<SdkField<?>> |
sdkFields() |
SentimentResponse |
sentimentResponse()
The sentiment expressed in an utterance.
|
static Class<? extends Interpretation.Builder> |
serializableBuilderClass() |
Interpretation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConfidenceScore nluConfidence()
Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent,
AMAZON.KendraSearchIntent, or both when returning alternative intents in a response.
AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are
configured for the bot.
AMAZON.FallbackIntent,
AMAZON.KendraSearchIntent, or both when returning alternative intents in a response.
AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they
are configured for the bot.public final SentimentResponse sentimentResponse()
The sentiment expressed in an utterance.
When the bot is configured to send utterances to Amazon Comprehend for sentiment analysis, this field contains the result of the analysis.
When the bot is configured to send utterances to Amazon Comprehend for sentiment analysis, this field contains the result of the analysis.
public final Intent intent()
A list of intents that might satisfy the user's utterance. The intents are ordered by the confidence score.
public Interpretation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Interpretation.Builder,Interpretation>public static Interpretation.Builder builder()
public static Class<? extends Interpretation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.