Class DTMFInputEvent.BuilderImpl

    • Constructor Detail

      • BuilderImpl

        protected BuilderImpl()
    • Method Detail

      • getInputCharacter

        public final String getInputCharacter()
      • setInputCharacter

        public final void setInputCharacter​(String inputCharacter)
      • inputCharacter

        public final DTMFInputEvent.Builder inputCharacter​(String inputCharacter)
        Description copied from interface: DTMFInputEvent.Builder

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

        Specified by:
        inputCharacter in interface DTMFInputEvent.Builder
        Parameters:
        inputCharacter - The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEventId

        public final String getEventId()
      • setEventId

        public final void setEventId​(String eventId)
      • eventId

        public final DTMFInputEvent.Builder eventId​(String eventId)
        Description copied from interface: DTMFInputEvent.Builder

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

        Specified by:
        eventId in interface DTMFInputEvent.Builder
        Parameters:
        eventId - A unique identifier that your application assigns to the event. You can use this to identify events in logs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getClientTimestampMillis

        public final Long getClientTimestampMillis()
      • setClientTimestampMillis

        public final void setClientTimestampMillis​(Long clientTimestampMillis)
      • clientTimestampMillis

        public final DTMFInputEvent.Builder clientTimestampMillis​(Long clientTimestampMillis)
        Description copied from interface: DTMFInputEvent.Builder

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

        Specified by:
        clientTimestampMillis in interface DTMFInputEvent.Builder
        Parameters:
        clientTimestampMillis - A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.