Interface IntentLevelSlotResolutionTestResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IntentLevelSlotResolutionTestResultItem.Builder,IntentLevelSlotResolutionTestResultItem>,SdkBuilder<IntentLevelSlotResolutionTestResultItem.Builder,IntentLevelSlotResolutionTestResultItem>,SdkPojo
- Enclosing class:
- IntentLevelSlotResolutionTestResultItem
public static interface IntentLevelSlotResolutionTestResultItem.Builder extends SdkPojo, CopyableBuilder<IntentLevelSlotResolutionTestResultItem.Builder,IntentLevelSlotResolutionTestResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntentLevelSlotResolutionTestResultItem.BuilderintentName(String intentName)The name of the intent that was recognized.IntentLevelSlotResolutionTestResultItem.BuildermultiTurnConversation(Boolean multiTurnConversation)Indicates whether the conversation involves multiple turns or not.IntentLevelSlotResolutionTestResultItem.BuilderslotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)The results for the slot resolution in the test execution result.IntentLevelSlotResolutionTestResultItem.BuilderslotResolutionResults(Consumer<SlotResolutionTestResultItem.Builder>... slotResolutionResults)The results for the slot resolution in the test execution result.IntentLevelSlotResolutionTestResultItem.BuilderslotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults)The results for the slot resolution in the test execution result.-
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
IntentLevelSlotResolutionTestResultItem.Builder intentName(String intentName)
The name of the intent that was recognized.
- Parameters:
intentName- The name of the intent that was recognized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiTurnConversation
IntentLevelSlotResolutionTestResultItem.Builder multiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
- Parameters:
multiTurnConversation- Indicates whether the conversation involves multiple turns or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotResolutionResults
IntentLevelSlotResolutionTestResultItem.Builder slotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
- Parameters:
slotResolutionResults- The results for the slot resolution in the test execution result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotResolutionResults
IntentLevelSlotResolutionTestResultItem.Builder slotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults)
The results for the slot resolution in the test execution result.
- Parameters:
slotResolutionResults- The results for the slot resolution in the test execution result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotResolutionResults
IntentLevelSlotResolutionTestResultItem.Builder slotResolutionResults(Consumer<SlotResolutionTestResultItem.Builder>... slotResolutionResults)
The results for the slot resolution in the test execution result.
This is a convenience method that creates an instance of theSlotResolutionTestResultItem.Builderavoiding the need to create one manually viaSlotResolutionTestResultItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotResolutionResults(List.) - Parameters:
slotResolutionResults- a consumer that will call methods onSlotResolutionTestResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#slotResolutionResults(java.util.Collection)
-
-