Class UtteranceData
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelbuilding.model.UtteranceData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UtteranceData.Builder,UtteranceData>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUtteranceData.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UtteranceData.Builderbuilder()Integercount()The number of times that the utterance was processed.IntegerdistinctUsers()The total number of individuals that used the utterance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfirstUtteredDate()The date that the utterance was first recorded.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUtteredDate()The date that the utterance was last recorded.List<SdkField<?>>sdkFields()static Class<? extends UtteranceData.Builder>serializableBuilderClass()UtteranceData.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringutteranceString()The text that was entered by the user or the text representation of an audio clip.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
utteranceString
public final String utteranceString()
The text that was entered by the user or the text representation of an audio clip.
- Returns:
- The text that was entered by the user or the text representation of an audio clip.
-
count
public final Integer count()
The number of times that the utterance was processed.
- Returns:
- The number of times that the utterance was processed.
-
distinctUsers
public final Integer distinctUsers()
The total number of individuals that used the utterance.
- Returns:
- The total number of individuals that used the utterance.
-
firstUtteredDate
public final Instant firstUtteredDate()
The date that the utterance was first recorded.
- Returns:
- The date that the utterance was first recorded.
-
lastUtteredDate
public final Instant lastUtteredDate()
The date that the utterance was last recorded.
- Returns:
- The date that the utterance was last recorded.
-
toBuilder
public UtteranceData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UtteranceData.Builder,UtteranceData>
-
builder
public static UtteranceData.Builder builder()
-
serializableBuilderClass
public static Class<? extends UtteranceData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-