@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IntentLevelSlotResolutionTestResultItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about intent-level slot resolution in a test result.
Constructor and Description |
---|
IntentLevelSlotResolutionTestResultItem() |
Modifier and Type | Method and Description |
---|---|
IntentLevelSlotResolutionTestResultItem |
clone() |
boolean |
equals(Object obj) |
String |
getIntentName()
The name of the intent that was recognized.
|
Boolean |
getMultiTurnConversation()
Indicates whether the conversation involves multiple turns or not.
|
List<SlotResolutionTestResultItem> |
getSlotResolutionResults()
The results for the slot resolution in the test execution result.
|
int |
hashCode() |
Boolean |
isMultiTurnConversation()
Indicates whether the conversation involves multiple turns or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIntentName(String intentName)
The name of the intent that was recognized.
|
void |
setMultiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
|
void |
setSlotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
|
String |
toString()
Returns a string representation of this object.
|
IntentLevelSlotResolutionTestResultItem |
withIntentName(String intentName)
The name of the intent that was recognized.
|
IntentLevelSlotResolutionTestResultItem |
withMultiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
|
IntentLevelSlotResolutionTestResultItem |
withSlotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
|
IntentLevelSlotResolutionTestResultItem |
withSlotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults)
The results for the slot resolution in the test execution result.
|
public IntentLevelSlotResolutionTestResultItem()
public void setIntentName(String intentName)
The name of the intent that was recognized.
intentName
- The name of the intent that was recognized.public String getIntentName()
The name of the intent that was recognized.
public IntentLevelSlotResolutionTestResultItem withIntentName(String intentName)
The name of the intent that was recognized.
intentName
- The name of the intent that was recognized.public void setMultiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
multiTurnConversation
- Indicates whether the conversation involves multiple turns or not.public Boolean getMultiTurnConversation()
Indicates whether the conversation involves multiple turns or not.
public IntentLevelSlotResolutionTestResultItem withMultiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
multiTurnConversation
- Indicates whether the conversation involves multiple turns or not.public Boolean isMultiTurnConversation()
Indicates whether the conversation involves multiple turns or not.
public List<SlotResolutionTestResultItem> getSlotResolutionResults()
The results for the slot resolution in the test execution result.
public void setSlotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
slotResolutionResults
- The results for the slot resolution in the test execution result.public IntentLevelSlotResolutionTestResultItem withSlotResolutionResults(SlotResolutionTestResultItem... slotResolutionResults)
The results for the slot resolution in the test execution result.
NOTE: This method appends the values to the existing list (if any). Use
setSlotResolutionResults(java.util.Collection)
or
withSlotResolutionResults(java.util.Collection)
if you want to override the existing values.
slotResolutionResults
- The results for the slot resolution in the test execution result.public IntentLevelSlotResolutionTestResultItem withSlotResolutionResults(Collection<SlotResolutionTestResultItem> slotResolutionResults)
The results for the slot resolution in the test execution result.
slotResolutionResults
- The results for the slot resolution in the test execution result.public String toString()
toString
in class Object
Object.toString()
public IntentLevelSlotResolutionTestResultItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.