@Generated(value="software.amazon.awssdk:codegen") public final class UtteranceData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UtteranceData.Builder,UtteranceData>
Provides information about a single utterance that was made to your bot.
Modifier and Type | Class and Description |
---|---|
static interface |
UtteranceData.Builder |
Modifier and Type | Method and Description |
---|---|
static UtteranceData.Builder |
builder() |
Integer |
count()
The number of times that the utterance was processed.
|
Integer |
distinctUsers()
The total number of individuals that used the utterance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
Instant |
firstUtteredDate()
The date that the utterance was first recorded.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUtteredDate()
The date that the utterance was last recorded.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UtteranceData.Builder> |
serializableBuilderClass() |
UtteranceData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
utteranceString()
The text that was entered by the user or the text representation of an audio clip.
|
copy
public final String utteranceString()
The text that was entered by the user or the text representation of an audio clip.
public final Integer count()
The number of times that the utterance was processed.
public final Integer distinctUsers()
The total number of individuals that used the utterance.
public final Instant firstUtteredDate()
The date that the utterance was first recorded.
public final Instant lastUtteredDate()
The date that the utterance was last recorded.
public UtteranceData.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UtteranceData.Builder,UtteranceData>
public static UtteranceData.Builder builder()
public static Class<? extends UtteranceData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()