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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PredictedIntent.BuilderintentName(String intentName)The name of the intent that Amazon Lex suggests satisfies the user's intent.default PredictedIntent.BuildernluIntentConfidence(Consumer<IntentConfidence.Builder> nluIntentConfidence)Indicates how confident Amazon Lex is that an intent satisfies the user's intent.PredictedIntent.BuildernluIntentConfidence(IntentConfidence nluIntentConfidence)Indicates how confident Amazon Lex is that an intent satisfies the user's intent.PredictedIntent.Builderslots(Map<String,String> slots)The slot and slot values associated with the predicted intent.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
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 theIntentConfidence.Builderavoiding the need to create one manually viaIntentConfidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonluIntentConfidence(IntentConfidence).- Parameters:
nluIntentConfidence- a consumer that will call methods onIntentConfidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
nluIntentConfidence(IntentConfidence)
-
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.
-
-