Interface IntentLevelSlotResolutionTestResultItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntentLevelSlotResolutionTestResultItem.Builder,,IntentLevelSlotResolutionTestResultItem> SdkBuilder<IntentLevelSlotResolutionTestResultItem.Builder,,IntentLevelSlotResolutionTestResultItem> SdkPojo
- Enclosing class:
IntentLevelSlotResolutionTestResultItem
@Mutable
@NotThreadSafe
public static interface IntentLevelSlotResolutionTestResultItem.Builder
extends SdkPojo, CopyableBuilder<IntentLevelSlotResolutionTestResultItem.Builder,IntentLevelSlotResolutionTestResultItem>
-
Method Summary
Modifier and TypeMethodDescriptionintentName(String intentName) The name of the intent that was recognized.multiTurnConversation(Boolean multiTurnConversation) Indicates whether the conversation involves multiple turns or not.slotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults) The results for the slot resolution in the test execution result.slotResolutionResults(Consumer<SlotResolutionTestResultItem.Builder>... slotResolutionResults) The results for the slot resolution in the test execution result.slotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults) The results for the slot resolution in the test execution result.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 toslotResolutionResults(List<SlotResolutionTestResultItem>).- 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:
-