Interface ConversationLevelTestResultItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConversationLevelTestResultItem.Builder,,ConversationLevelTestResultItem> SdkBuilder<ConversationLevelTestResultItem.Builder,,ConversationLevelTestResultItem> SdkPojo
- Enclosing class:
ConversationLevelTestResultItem
-
Method Summary
Modifier and TypeMethodDescriptionconversationId(String conversationId) The conversation Id of the test result evaluation item.endToEndResult(String endToEndResult) The end-to-end success or failure of the test result evaluation item.endToEndResult(TestResultMatchStatus endToEndResult) The end-to-end success or failure of the test result evaluation item.intentClassificationResults(Collection<ConversationLevelIntentClassificationResultItem> intentClassificationResults) The intent classification of the test result evaluation item.intentClassificationResults(Consumer<ConversationLevelIntentClassificationResultItem.Builder>... intentClassificationResults) The intent classification of the test result evaluation item.intentClassificationResults(ConversationLevelIntentClassificationResultItem... intentClassificationResults) The intent classification of the test result evaluation item.slotResolutionResults(Collection<ConversationLevelSlotResolutionResultItem> slotResolutionResults) The slot success or failure of the test result evaluation item.slotResolutionResults(Consumer<ConversationLevelSlotResolutionResultItem.Builder>... slotResolutionResults) The slot success or failure of the test result evaluation item.slotResolutionResults(ConversationLevelSlotResolutionResultItem... slotResolutionResults) The slot success or failure of the test result evaluation item.speechTranscriptionResult(String speechTranscriptionResult) The speech transcription success or failure of the test result evaluation item.speechTranscriptionResult(TestResultMatchStatus speechTranscriptionResult) The speech transcription success or failure of the test result evaluation item.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
-
conversationId
The conversation Id of the test result evaluation item.
- Parameters:
conversationId- The conversation Id of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endToEndResult
The end-to-end success or failure of the test result evaluation item.
- Parameters:
endToEndResult- The end-to-end success or failure of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endToEndResult
The end-to-end success or failure of the test result evaluation item.
- Parameters:
endToEndResult- The end-to-end success or failure of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speechTranscriptionResult
The speech transcription success or failure of the test result evaluation item.
- Parameters:
speechTranscriptionResult- The speech transcription success or failure of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
speechTranscriptionResult
ConversationLevelTestResultItem.Builder speechTranscriptionResult(TestResultMatchStatus speechTranscriptionResult) The speech transcription success or failure of the test result evaluation item.
- Parameters:
speechTranscriptionResult- The speech transcription success or failure of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentClassificationResults
ConversationLevelTestResultItem.Builder intentClassificationResults(Collection<ConversationLevelIntentClassificationResultItem> intentClassificationResults) The intent classification of the test result evaluation item.
- Parameters:
intentClassificationResults- The intent classification of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentClassificationResults
ConversationLevelTestResultItem.Builder intentClassificationResults(ConversationLevelIntentClassificationResultItem... intentClassificationResults) The intent classification of the test result evaluation item.
- Parameters:
intentClassificationResults- The intent classification of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentClassificationResults
ConversationLevelTestResultItem.Builder intentClassificationResults(Consumer<ConversationLevelIntentClassificationResultItem.Builder>... intentClassificationResults) The intent classification of the test result evaluation item.
This is a convenience method that creates an instance of theConversationLevelIntentClassificationResultItem.Builderavoiding the need to create one manually viaConversationLevelIntentClassificationResultItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointentClassificationResults(List<ConversationLevelIntentClassificationResultItem>).- Parameters:
intentClassificationResults- a consumer that will call methods onConversationLevelIntentClassificationResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slotResolutionResults
ConversationLevelTestResultItem.Builder slotResolutionResults(Collection<ConversationLevelSlotResolutionResultItem> slotResolutionResults) The slot success or failure of the test result evaluation item.
- Parameters:
slotResolutionResults- The slot success or failure of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotResolutionResults
ConversationLevelTestResultItem.Builder slotResolutionResults(ConversationLevelSlotResolutionResultItem... slotResolutionResults) The slot success or failure of the test result evaluation item.
- Parameters:
slotResolutionResults- The slot success or failure of the test result evaluation item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotResolutionResults
ConversationLevelTestResultItem.Builder slotResolutionResults(Consumer<ConversationLevelSlotResolutionResultItem.Builder>... slotResolutionResults) The slot success or failure of the test result evaluation item.
This is a convenience method that creates an instance of theConversationLevelSlotResolutionResultItem.Builderavoiding the need to create one manually viaConversationLevelSlotResolutionResultItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslotResolutionResults(List<ConversationLevelSlotResolutionResultItem>).- Parameters:
slotResolutionResults- a consumer that will call methods onConversationLevelSlotResolutionResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-