@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UtteranceList extends Object implements Serializable, Cloneable, StructuredPojo
Provides a list of utterances that have been made to a specific version of your bot. The list contains a maximum of 100 utterances.
Constructor and Description |
---|
UtteranceList() |
Modifier and Type | Method and Description |
---|---|
UtteranceList |
clone() |
boolean |
equals(Object obj) |
String |
getBotVersion()
The version of the bot that processed the list.
|
List<UtteranceData> |
getUtterances()
One or more UtteranceData objects that contain information about the utterances that have been made to a
bot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotVersion(String botVersion)
The version of the bot that processed the list.
|
void |
setUtterances(Collection<UtteranceData> utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to a
bot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UtteranceList |
withBotVersion(String botVersion)
The version of the bot that processed the list.
|
UtteranceList |
withUtterances(Collection<UtteranceData> utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to a
bot.
|
UtteranceList |
withUtterances(UtteranceData... utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to a
bot.
|
public void setBotVersion(String botVersion)
The version of the bot that processed the list.
botVersion
- The version of the bot that processed the list.public String getBotVersion()
The version of the bot that processed the list.
public UtteranceList withBotVersion(String botVersion)
The version of the bot that processed the list.
botVersion
- The version of the bot that processed the list.public List<UtteranceData> getUtterances()
One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.
public void setUtterances(Collection<UtteranceData> utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.
utterances
- One or more UtteranceData objects that contain information about the utterances that have been made
to a bot. The maximum number of object is 100.public UtteranceList withUtterances(UtteranceData... utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.
NOTE: This method appends the values to the existing list (if any). Use
setUtterances(java.util.Collection)
or withUtterances(java.util.Collection)
if you want to
override the existing values.
utterances
- One or more UtteranceData objects that contain information about the utterances that have been made
to a bot. The maximum number of object is 100.public UtteranceList withUtterances(Collection<UtteranceData> utterances)
One or more UtteranceData objects that contain information about the utterances that have been made to a bot. The maximum number of object is 100.
utterances
- One or more UtteranceData objects that contain information about the utterances that have been made
to a bot. The maximum number of object is 100.public String toString()
toString
in class Object
Object.toString()
public UtteranceList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.