public static interface IntentLevelSlotResolutionTestResultItem.Builder extends SdkPojo, CopyableBuilder<IntentLevelSlotResolutionTestResultItem.Builder,IntentLevelSlotResolutionTestResultItem>
| Modifier and Type | Method and Description |
|---|---|
IntentLevelSlotResolutionTestResultItem.Builder |
intentName(String intentName)
The name of the intent that was recognized.
|
IntentLevelSlotResolutionTestResultItem.Builder |
multiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
|
IntentLevelSlotResolutionTestResultItem.Builder |
slotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
|
IntentLevelSlotResolutionTestResultItem.Builder |
slotResolutionResults(Consumer<SlotResolutionTestResultItem.Builder>... slotResolutionResults)
The results for the slot resolution in the test execution result.
|
IntentLevelSlotResolutionTestResultItem.Builder |
slotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults)
The results for the slot resolution in the test execution result.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIntentLevelSlotResolutionTestResultItem.Builder intentName(String intentName)
The name of the intent that was recognized.
intentName - The name of the intent that was recognized.IntentLevelSlotResolutionTestResultItem.Builder multiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
multiTurnConversation - Indicates whether the conversation involves multiple turns or not.IntentLevelSlotResolutionTestResultItem.Builder slotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
slotResolutionResults - The results for the slot resolution in the test execution result.IntentLevelSlotResolutionTestResultItem.Builder slotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults)
The results for the slot resolution in the test execution result.
slotResolutionResults - The results for the slot resolution in the test execution result.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.Builder avoiding the
need to create one manually via
SlotResolutionTestResultItem.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #slotResolutionResults(List.
slotResolutionResults - a consumer that will call methods on
SlotResolutionTestResultItem.Builder#slotResolutionResults(java.util.Collection) Copyright © 2023. All rights reserved.