Interface PredictedIntent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PredictedIntent.Builder,PredictedIntent>, SdkBuilder<PredictedIntent.Builder,PredictedIntent>, SdkPojo
Enclosing class:
PredictedIntent

public static interface PredictedIntent.Builder extends SdkPojo, CopyableBuilder<PredictedIntent.Builder,PredictedIntent>
  • Method Details

    • 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.
    • nluIntentConfidence

      default PredictedIntent.Builder nluIntentConfidence(Consumer<IntentConfidence.Builder> nluIntentConfidence)

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

      This is a convenience method that creates an instance of the IntentConfidence.Builder avoiding the need to create one manually via IntentConfidence.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nluIntentConfidence(IntentConfidence).

      Parameters:
      nluIntentConfidence - a consumer that will call methods on IntentConfidence.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.