@Generated(value="software.amazon.awssdk:codegen") public class DTMFInputEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DTMFInputEvent.Builder,DTMFInputEvent>, StartConversationRequestEventStream
A DTMF character sent from the client application. DTMF characters are typically sent from a phone keypad to represent numbers. For example, you can have Amazon Lex V2 process a credit card number input from a phone.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DTMFInputEvent.Builder |
protected static class |
DTMFInputEvent.BuilderImpl |
StartConversationRequestEventStream.EventType| Modifier | Constructor and Description |
|---|---|
protected |
DTMFInputEvent(DTMFInputEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
static DTMFInputEvent.Builder |
builder() |
Long |
clientTimestampMillis()
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
|
DTMFInputEvent |
copy(Consumer<? super DTMFInputEvent.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() |
String |
inputCharacter()
The DTMF character that the user pressed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DTMFInputEvent.Builder> |
serializableBuilderClass() |
DTMFInputEvent.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 DTMFInputEvent(DTMFInputEvent.BuilderImpl builder)
public final String inputCharacter()
The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.
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 V2.
public DTMFInputEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DTMFInputEvent.Builder,DTMFInputEvent>public static DTMFInputEvent.Builder builder()
public static Class<? extends DTMFInputEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final DTMFInputEvent copy(Consumer<? super DTMFInputEvent.Builder> modifier)
copy in interface ToCopyableBuilder<DTMFInputEvent.Builder,DTMFInputEvent>Copyright © 2023. All rights reserved.