@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserTurnIntentOutput extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the intent that is output for the turn by the test execution.
Constructor and Description |
---|
UserTurnIntentOutput() |
Modifier and Type | Method and Description |
---|---|
UserTurnIntentOutput |
addSlotsEntry(String key,
UserTurnSlotOutput value)
Add a single Slots entry
|
UserTurnIntentOutput |
clearSlotsEntries()
Removes all the entries added into Slots.
|
UserTurnIntentOutput |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the intent.
|
Map<String,UserTurnSlotOutput> |
getSlots()
The slots associated with the intent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the intent.
|
void |
setSlots(Map<String,UserTurnSlotOutput> slots)
The slots associated with the intent.
|
String |
toString()
Returns a string representation of this object.
|
UserTurnIntentOutput |
withName(String name)
The name of the intent.
|
UserTurnIntentOutput |
withSlots(Map<String,UserTurnSlotOutput> slots)
The slots associated with the intent.
|
public void setName(String name)
The name of the intent.
name
- The name of the intent.public String getName()
The name of the intent.
public UserTurnIntentOutput withName(String name)
The name of the intent.
name
- The name of the intent.public Map<String,UserTurnSlotOutput> getSlots()
The slots associated with the intent.
public void setSlots(Map<String,UserTurnSlotOutput> slots)
The slots associated with the intent.
slots
- The slots associated with the intent.public UserTurnIntentOutput withSlots(Map<String,UserTurnSlotOutput> slots)
The slots associated with the intent.
slots
- The slots associated with the intent.public UserTurnIntentOutput addSlotsEntry(String key, UserTurnSlotOutput value)
public UserTurnIntentOutput clearSlotsEntries()
public String toString()
toString
in class Object
Object.toString()
public UserTurnIntentOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.