@Generated(value="software.amazon.awssdk:codegen") public final class UtteranceData extends Object implements StructuredPojo, 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) |
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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() |
String |
utteranceString()
The text that was entered by the user or the text representation of an audio clip.
|
copy
public String utteranceString()
The text that was entered by the user or the text representation of an audio clip.
public Integer count()
The number of times that the utterance was processed.
public Integer distinctUsers()
The total number of individuals that used the utterance.
public Instant firstUtteredDate()
The date that the utterance was first recorded.
public 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.