@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UtteranceData extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a single utterance that was made to your bot.
Constructor and Description |
---|
UtteranceData() |
Modifier and Type | Method and Description |
---|---|
UtteranceData |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of times that the utterance was processed.
|
Integer |
getDistinctUsers()
The total number of individuals that used the utterance.
|
Date |
getFirstUtteredDate()
The date that the utterance was first recorded.
|
Date |
getLastUtteredDate()
The date that the utterance was last recorded.
|
String |
getUtteranceString()
The text that was entered by the user or the text representation of an audio clip.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
The number of times that the utterance was processed.
|
void |
setDistinctUsers(Integer distinctUsers)
The total number of individuals that used the utterance.
|
void |
setFirstUtteredDate(Date firstUtteredDate)
The date that the utterance was first recorded.
|
void |
setLastUtteredDate(Date lastUtteredDate)
The date that the utterance was last recorded.
|
void |
setUtteranceString(String utteranceString)
The text that was entered by the user or the text representation of an audio clip.
|
String |
toString()
Returns a string representation of this object.
|
UtteranceData |
withCount(Integer count)
The number of times that the utterance was processed.
|
UtteranceData |
withDistinctUsers(Integer distinctUsers)
The total number of individuals that used the utterance.
|
UtteranceData |
withFirstUtteredDate(Date firstUtteredDate)
The date that the utterance was first recorded.
|
UtteranceData |
withLastUtteredDate(Date lastUtteredDate)
The date that the utterance was last recorded.
|
UtteranceData |
withUtteranceString(String utteranceString)
The text that was entered by the user or the text representation of an audio clip.
|
public void setUtteranceString(String utteranceString)
The text that was entered by the user or the text representation of an audio clip.
utteranceString
- The text that was entered by the user or the text representation of an audio clip.public String getUtteranceString()
The text that was entered by the user or the text representation of an audio clip.
public UtteranceData withUtteranceString(String utteranceString)
The text that was entered by the user or the text representation of an audio clip.
utteranceString
- The text that was entered by the user or the text representation of an audio clip.public void setCount(Integer count)
The number of times that the utterance was processed.
count
- The number of times that the utterance was processed.public Integer getCount()
The number of times that the utterance was processed.
public UtteranceData withCount(Integer count)
The number of times that the utterance was processed.
count
- The number of times that the utterance was processed.public void setDistinctUsers(Integer distinctUsers)
The total number of individuals that used the utterance.
distinctUsers
- The total number of individuals that used the utterance.public Integer getDistinctUsers()
The total number of individuals that used the utterance.
public UtteranceData withDistinctUsers(Integer distinctUsers)
The total number of individuals that used the utterance.
distinctUsers
- The total number of individuals that used the utterance.public void setFirstUtteredDate(Date firstUtteredDate)
The date that the utterance was first recorded.
firstUtteredDate
- The date that the utterance was first recorded.public Date getFirstUtteredDate()
The date that the utterance was first recorded.
public UtteranceData withFirstUtteredDate(Date firstUtteredDate)
The date that the utterance was first recorded.
firstUtteredDate
- The date that the utterance was first recorded.public void setLastUtteredDate(Date lastUtteredDate)
The date that the utterance was last recorded.
lastUtteredDate
- The date that the utterance was last recorded.public Date getLastUtteredDate()
The date that the utterance was last recorded.
public UtteranceData withLastUtteredDate(Date lastUtteredDate)
The date that the utterance was last recorded.
lastUtteredDate
- The date that the utterance was last recorded.public String toString()
toString
in class Object
Object.toString()
public UtteranceData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.