Interface PredictedIntent.Builder

    • Method Detail

      • intentName

        PredictedIntent.Builder intentName​(String intentName)

        The name of the intent that Amazon Lex suggests satisfies the user's intent.

        Parameters:
        intentName - The name of the intent that Amazon Lex suggests satisfies the user's intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nluIntentConfidence

        PredictedIntent.Builder nluIntentConfidence​(IntentConfidence nluIntentConfidence)

        Indicates how confident Amazon Lex is that an intent satisfies the user's intent.

        Parameters:
        nluIntentConfidence - Indicates how confident Amazon Lex is that an intent satisfies the user's intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slots

        PredictedIntent.Builder slots​(Map<String,​String> slots)

        The slot and slot values associated with the predicted intent.

        Parameters:
        slots - The slot and slot values associated with the predicted intent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.