Class Interpretation

    • Method Detail

      • nluConfidence

        public final ConfidenceScore nluConfidence()

        Determines the threshold where Amazon Lex V2 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.

        Returns:
        Determines the threshold where Amazon Lex V2 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.
      • sentimentResponse

        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.

        Returns:
        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.

      • intent

        public final Intent intent()

        A list of intents that might satisfy the user's utterance. The intents are ordered by the confidence score.

        Returns:
        A list of intents that might satisfy the user's utterance. The intents are ordered by the confidence score.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)