public static interface PredictedIntent.Builder extends SdkPojo, CopyableBuilder<PredictedIntent.Builder,PredictedIntent>
| Modifier and Type | Method and Description |
|---|---|
PredictedIntent.Builder |
intentName(String intentName)
The name of the intent that Amazon Lex suggests satisfies the user's intent.
|
default PredictedIntent.Builder |
nluIntentConfidence(Consumer<IntentConfidence.Builder> nluIntentConfidence)
Indicates how confident Amazon Lex is that an intent satisfies the user's intent.
|
PredictedIntent.Builder |
nluIntentConfidence(IntentConfidence nluIntentConfidence)
Indicates how confident Amazon Lex is that an intent satisfies the user's intent.
|
PredictedIntent.Builder |
slots(Map<String,String> slots)
The slot and slot values associated with the predicted intent.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPredictedIntent.Builder intentName(String intentName)
The name of the intent that Amazon Lex suggests satisfies the user's intent.
intentName - The name of the intent that Amazon Lex suggests satisfies the user's intent.PredictedIntent.Builder nluIntentConfidence(IntentConfidence nluIntentConfidence)
Indicates how confident Amazon Lex is that an intent satisfies the user's intent.
nluIntentConfidence - Indicates how confident Amazon Lex is that an intent satisfies the user's intent.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 theIntentConfidence.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).
nluIntentConfidence - a consumer that will call methods on IntentConfidence.BuildernluIntentConfidence(IntentConfidence)PredictedIntent.Builder slots(Map<String,String> slots)
The slot and slot values associated with the predicted intent.
slots - The slot and slot values associated with the predicted intent.Copyright © 2023. All rights reserved.