Class DTMFInputEvent

    • Method Detail

      • inputCharacter

        public final String inputCharacter()

        The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.

        Returns:
        The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.
      • eventId

        public final String eventId()

        A unique identifier that your application assigns to the event. You can use this to identify events in logs.

        Returns:
        A unique identifier that your application assigns to the event. You can use this to identify events in logs.
      • clientTimestampMillis

        public final Long clientTimestampMillis()

        A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.

        Returns:
        A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)