Interface ConversationLevelTestResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConversationLevelTestResultItem.Builder,ConversationLevelTestResultItem>,SdkBuilder<ConversationLevelTestResultItem.Builder,ConversationLevelTestResultItem>,SdkPojo
- Enclosing class:
- ConversationLevelTestResultItem
public static interface ConversationLevelTestResultItem.Builder extends SdkPojo, CopyableBuilder<ConversationLevelTestResultItem.Builder,ConversationLevelTestResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationLevelTestResultItem.BuilderconversationId(String conversationId)The conversation Id of the test result evaluation item.ConversationLevelTestResultItem.BuilderendToEndResult(String endToEndResult)The end-to-end success or failure of the test result evaluation item.ConversationLevelTestResultItem.BuilderendToEndResult(TestResultMatchStatus endToEndResult)The end-to-end success or failure of the test result evaluation item.ConversationLevelTestResultItem.BuilderintentClassificationResults(Collection<ConversationLevelIntentClassificationResultItem> intentClassificationResults)The intent classification of the test result evaluation item.ConversationLevelTestResultItem.BuilderintentClassificationResults(Consumer<ConversationLevelIntentClassificationResultItem.Builder>... intentClassificationResults)The intent classification of the test result evaluation item.ConversationLevelTestResultItem.BuilderintentClassificationResults(ConversationLevelIntentClassificationResultItem... intentClassificationResults)The intent classification of the test result evaluation item.ConversationLevelTestResultItem.BuilderslotResolutionResults(Collection<ConversationLevelSlotResolutionResultItem> slotResolutionResults)The slot success or failure of the test result evaluation item.ConversationLevelTestResultItem.BuilderslotResolutionResults(Consumer<ConversationLevelSlotResolutionResultItem.Builder>... slotResolutionResults)The slot success or failure of the test result evaluation item.ConversationLevelTestResultItem.BuilderslotResolutionResults(ConversationLevelSlotResolutionResultItem... slotResolutionResults)The slot success or failure of the test result evaluation item.ConversationLevelTestResultItem.BuilderspeechTranscriptionResult(String speechTranscriptionResult)The speech transcription success or failure of the test result evaluation item.ConversationLevelTestResultItem.BuilderspeechTranscriptionResult(TestResultMatchStatus speechTranscriptionResult)The speech transcription success or failure of the test result evaluation item.-
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
-
conversationId
ConversationLevelTestResultItem.Builder conversationId(String 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
ConversationLevelTestResultItem.Builder endToEndResult(String 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:
TestResultMatchStatus,TestResultMatchStatus
-
endToEndResult
ConversationLevelTestResultItem.Builder endToEndResult(TestResultMatchStatus 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:
TestResultMatchStatus,TestResultMatchStatus
-
speechTranscriptionResult
ConversationLevelTestResultItem.Builder speechTranscriptionResult(String 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:
TestResultMatchStatus,TestResultMatchStatus
-
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:
TestResultMatchStatus,TestResultMatchStatus
-
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 to#intentClassificationResults(List.) - 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:
#intentClassificationResults(java.util.Collection)
-
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 to#slotResolutionResults(List.) - 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:
#slotResolutionResults(java.util.Collection)
-
-