Class UserTurnResult
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserTurnResult.Builder,UserTurnResult>
Contains the results for the user turn by the test execution.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionContains information about the actual output for the user turn.static UserTurnResult.Builderbuilder()Contains information about the results related to the conversation associated with the user turn.final TestResultMatchStatusSpecifies whether the expected and actual outputs match or not, or if there is an error in execution.final StringSpecifies whether the expected and actual outputs match or not, or if there is an error in execution.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ExecutionErrorDetailsReturns the value of the ErrorDetails property for this object.Contains information about the expected output for the user turn.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()input()Contains information about the user messages in the turn in the input.final TestResultMatchStatusSpecifies whether the expected and actual intents match or not.final StringSpecifies whether the expected and actual intents match or not.static Class<? extends UserTurnResult.Builder> final TestResultMatchStatusSpecifies whether the expected and actual slots match or not.final StringSpecifies whether the expected and actual slots match or not.final TestResultMatchStatusSpecifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.final StringSpecifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
input
Contains information about the user messages in the turn in the input.
- Returns:
- Contains information about the user messages in the turn in the input.
-
expectedOutput
Contains information about the expected output for the user turn.
- Returns:
- Contains information about the expected output for the user turn.
-
actualOutput
Contains information about the actual output for the user turn.
- Returns:
- Contains information about the actual output for the user turn.
-
errorDetails
Returns the value of the ErrorDetails property for this object.- Returns:
- The value of the ErrorDetails property for this object.
-
endToEndResult
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
If the service returns an enum value that is not available in the current SDK version,
endToEndResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendToEndResultAsString().- Returns:
- Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
- See Also:
-
endToEndResultAsString
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
If the service returns an enum value that is not available in the current SDK version,
endToEndResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendToEndResultAsString().- Returns:
- Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
- See Also:
-
intentMatchResult
Specifies whether the expected and actual intents match or not.
If the service returns an enum value that is not available in the current SDK version,
intentMatchResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromintentMatchResultAsString().- Returns:
- Specifies whether the expected and actual intents match or not.
- See Also:
-
intentMatchResultAsString
Specifies whether the expected and actual intents match or not.
If the service returns an enum value that is not available in the current SDK version,
intentMatchResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromintentMatchResultAsString().- Returns:
- Specifies whether the expected and actual intents match or not.
- See Also:
-
slotMatchResult
Specifies whether the expected and actual slots match or not.
If the service returns an enum value that is not available in the current SDK version,
slotMatchResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromslotMatchResultAsString().- Returns:
- Specifies whether the expected and actual slots match or not.
- See Also:
-
slotMatchResultAsString
Specifies whether the expected and actual slots match or not.
If the service returns an enum value that is not available in the current SDK version,
slotMatchResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromslotMatchResultAsString().- Returns:
- Specifies whether the expected and actual slots match or not.
- See Also:
-
speechTranscriptionResult
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
If the service returns an enum value that is not available in the current SDK version,
speechTranscriptionResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspeechTranscriptionResultAsString().- Returns:
- Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
- See Also:
-
speechTranscriptionResultAsString
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
If the service returns an enum value that is not available in the current SDK version,
speechTranscriptionResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromspeechTranscriptionResultAsString().- Returns:
- Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
- See Also:
-
conversationLevelResult
Contains information about the results related to the conversation associated with the user turn.
- Returns:
- Contains information about the results related to the conversation associated with the user turn.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UserTurnResult.Builder,UserTurnResult> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-