@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserTurnResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains the results for the user turn by the test execution.
| Constructor and Description |
|---|
UserTurnResult() |
| Modifier and Type | Method and Description |
|---|---|
UserTurnResult |
clone() |
boolean |
equals(Object obj) |
UserTurnOutputSpecification |
getActualOutput()
Contains information about the actual output for the user turn.
|
ConversationLevelResultDetail |
getConversationLevelResult()
Contains information about the results related to the conversation associated with the user turn.
|
String |
getEndToEndResult()
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
|
ExecutionErrorDetails |
getErrorDetails() |
UserTurnOutputSpecification |
getExpectedOutput()
Contains information about the expected output for the user turn.
|
UserTurnInputSpecification |
getInput()
Contains information about the user messages in the turn in the input.
|
String |
getIntentMatchResult()
Specifies whether the expected and actual intents match or not.
|
String |
getSlotMatchResult()
Specifies whether the expected and actual slots match or not.
|
String |
getSpeechTranscriptionResult()
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActualOutput(UserTurnOutputSpecification actualOutput)
Contains information about the actual output for the user turn.
|
void |
setConversationLevelResult(ConversationLevelResultDetail conversationLevelResult)
Contains information about the results related to the conversation associated with the user turn.
|
void |
setEndToEndResult(String endToEndResult)
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
|
void |
setErrorDetails(ExecutionErrorDetails errorDetails) |
void |
setExpectedOutput(UserTurnOutputSpecification expectedOutput)
Contains information about the expected output for the user turn.
|
void |
setInput(UserTurnInputSpecification input)
Contains information about the user messages in the turn in the input.
|
void |
setIntentMatchResult(String intentMatchResult)
Specifies whether the expected and actual intents match or not.
|
void |
setSlotMatchResult(String slotMatchResult)
Specifies whether the expected and actual slots match or not.
|
void |
setSpeechTranscriptionResult(String speechTranscriptionResult)
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.
|
String |
toString()
Returns a string representation of this object.
|
UserTurnResult |
withActualOutput(UserTurnOutputSpecification actualOutput)
Contains information about the actual output for the user turn.
|
UserTurnResult |
withConversationLevelResult(ConversationLevelResultDetail conversationLevelResult)
Contains information about the results related to the conversation associated with the user turn.
|
UserTurnResult |
withEndToEndResult(String endToEndResult)
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
|
UserTurnResult |
withEndToEndResult(TestResultMatchStatus endToEndResult)
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
|
UserTurnResult |
withErrorDetails(ExecutionErrorDetails errorDetails) |
UserTurnResult |
withExpectedOutput(UserTurnOutputSpecification expectedOutput)
Contains information about the expected output for the user turn.
|
UserTurnResult |
withInput(UserTurnInputSpecification input)
Contains information about the user messages in the turn in the input.
|
UserTurnResult |
withIntentMatchResult(String intentMatchResult)
Specifies whether the expected and actual intents match or not.
|
UserTurnResult |
withIntentMatchResult(TestResultMatchStatus intentMatchResult)
Specifies whether the expected and actual intents match or not.
|
UserTurnResult |
withSlotMatchResult(String slotMatchResult)
Specifies whether the expected and actual slots match or not.
|
UserTurnResult |
withSlotMatchResult(TestResultMatchStatus slotMatchResult)
Specifies whether the expected and actual slots match or not.
|
UserTurnResult |
withSpeechTranscriptionResult(String speechTranscriptionResult)
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.
|
UserTurnResult |
withSpeechTranscriptionResult(TestResultMatchStatus speechTranscriptionResult)
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.
|
public void setInput(UserTurnInputSpecification input)
Contains information about the user messages in the turn in the input.
input - Contains information about the user messages in the turn in the input.public UserTurnInputSpecification getInput()
Contains information about the user messages in the turn in the input.
public UserTurnResult withInput(UserTurnInputSpecification input)
Contains information about the user messages in the turn in the input.
input - Contains information about the user messages in the turn in the input.public void setExpectedOutput(UserTurnOutputSpecification expectedOutput)
Contains information about the expected output for the user turn.
expectedOutput - Contains information about the expected output for the user turn.public UserTurnOutputSpecification getExpectedOutput()
Contains information about the expected output for the user turn.
public UserTurnResult withExpectedOutput(UserTurnOutputSpecification expectedOutput)
Contains information about the expected output for the user turn.
expectedOutput - Contains information about the expected output for the user turn.public void setActualOutput(UserTurnOutputSpecification actualOutput)
Contains information about the actual output for the user turn.
actualOutput - Contains information about the actual output for the user turn.public UserTurnOutputSpecification getActualOutput()
Contains information about the actual output for the user turn.
public UserTurnResult withActualOutput(UserTurnOutputSpecification actualOutput)
Contains information about the actual output for the user turn.
actualOutput - Contains information about the actual output for the user turn.public void setErrorDetails(ExecutionErrorDetails errorDetails)
errorDetails - public ExecutionErrorDetails getErrorDetails()
public UserTurnResult withErrorDetails(ExecutionErrorDetails errorDetails)
errorDetails - public void setEndToEndResult(String endToEndResult)
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
endToEndResult - Specifies whether the expected and actual outputs match or not, or if there is an error in execution.TestResultMatchStatuspublic String getEndToEndResult()
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
TestResultMatchStatuspublic UserTurnResult withEndToEndResult(String endToEndResult)
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
endToEndResult - Specifies whether the expected and actual outputs match or not, or if there is an error in execution.TestResultMatchStatuspublic UserTurnResult withEndToEndResult(TestResultMatchStatus endToEndResult)
Specifies whether the expected and actual outputs match or not, or if there is an error in execution.
endToEndResult - Specifies whether the expected and actual outputs match or not, or if there is an error in execution.TestResultMatchStatuspublic void setIntentMatchResult(String intentMatchResult)
Specifies whether the expected and actual intents match or not.
intentMatchResult - Specifies whether the expected and actual intents match or not.TestResultMatchStatuspublic String getIntentMatchResult()
Specifies whether the expected and actual intents match or not.
TestResultMatchStatuspublic UserTurnResult withIntentMatchResult(String intentMatchResult)
Specifies whether the expected and actual intents match or not.
intentMatchResult - Specifies whether the expected and actual intents match or not.TestResultMatchStatuspublic UserTurnResult withIntentMatchResult(TestResultMatchStatus intentMatchResult)
Specifies whether the expected and actual intents match or not.
intentMatchResult - Specifies whether the expected and actual intents match or not.TestResultMatchStatuspublic void setSlotMatchResult(String slotMatchResult)
Specifies whether the expected and actual slots match or not.
slotMatchResult - Specifies whether the expected and actual slots match or not.TestResultMatchStatuspublic String getSlotMatchResult()
Specifies whether the expected and actual slots match or not.
TestResultMatchStatuspublic UserTurnResult withSlotMatchResult(String slotMatchResult)
Specifies whether the expected and actual slots match or not.
slotMatchResult - Specifies whether the expected and actual slots match or not.TestResultMatchStatuspublic UserTurnResult withSlotMatchResult(TestResultMatchStatus slotMatchResult)
Specifies whether the expected and actual slots match or not.
slotMatchResult - Specifies whether the expected and actual slots match or not.TestResultMatchStatuspublic void setSpeechTranscriptionResult(String speechTranscriptionResult)
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
speechTranscriptionResult - Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.TestResultMatchStatuspublic String getSpeechTranscriptionResult()
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
TestResultMatchStatuspublic UserTurnResult withSpeechTranscriptionResult(String speechTranscriptionResult)
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
speechTranscriptionResult - Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.TestResultMatchStatuspublic UserTurnResult withSpeechTranscriptionResult(TestResultMatchStatus speechTranscriptionResult)
Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.
speechTranscriptionResult - Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in
execution.TestResultMatchStatuspublic void setConversationLevelResult(ConversationLevelResultDetail conversationLevelResult)
Contains information about the results related to the conversation associated with the user turn.
conversationLevelResult - Contains information about the results related to the conversation associated with the user turn.public ConversationLevelResultDetail getConversationLevelResult()
Contains information about the results related to the conversation associated with the user turn.
public UserTurnResult withConversationLevelResult(ConversationLevelResultDetail conversationLevelResult)
Contains information about the results related to the conversation associated with the user turn.
conversationLevelResult - Contains information about the results related to the conversation associated with the user turn.public String toString()
toString in class ObjectObject.toString()public UserTurnResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.