@Generated(value="software.amazon.awssdk:codegen") public class TextInputEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>, StartConversationRequestEventStream
The event sent from your client application to Amazon Lex with text input from the user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TextInputEvent.Builder |
protected static class |
TextInputEvent.BuilderImpl |
StartConversationRequestEventStream.EventType| Modifier | Constructor and Description |
|---|---|
protected |
TextInputEvent(TextInputEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
static TextInputEvent.Builder |
builder() |
Long |
clientTimestampMillis()
A timestamp set by the client of the date and time that the event was sent to Amazon Lex.
|
TextInputEvent |
copy(Consumer<? super TextInputEvent.Builder> modifier) |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventId()
A unique identifier that your application assigns to the event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TextInputEvent.Builder> |
serializableBuilderClass() |
String |
text()
The text from the user.
|
TextInputEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaudioInputEventBuilder, configurationEventBuilder, disconnectionEventBuilder, dTMFInputEventBuilder, playbackCompletionEventBuilder, sdkEventType, textInputEventBuilderprotected TextInputEvent(TextInputEvent.BuilderImpl builder)
public final String text()
The text from the user. Amazon Lex processes this as a complete statement.
public final String eventId()
A unique identifier that your application assigns to the event. You can use this to identify events in logs.
public final Long clientTimestampMillis()
A timestamp set by the client of the date and time that the event was sent to Amazon Lex.
public TextInputEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>public static TextInputEvent.Builder builder()
public static Class<? extends TextInputEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final TextInputEvent copy(Consumer<? super TextInputEvent.Builder> modifier)
copy in interface ToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>Copyright © 2021. All rights reserved.