Class TextInputEvent.BuilderImpl

    • Constructor Detail

      • BuilderImpl

        protected BuilderImpl()
    • Method Detail

      • getText

        public final String getText()
      • setText

        public final void setText​(String text)
      • text

        public final TextInputEvent.Builder text​(String text)
        Description copied from interface: TextInputEvent.Builder

        The text from the user. Amazon Lex V2 processes this as a complete statement.

        Specified by:
        text in interface TextInputEvent.Builder
        Parameters:
        text - The text from the user. Amazon Lex V2 processes this as a complete statement.
        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 TextInputEvent.Builder eventId​(String eventId)
        Description copied from interface: TextInputEvent.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 TextInputEvent.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 TextInputEvent.Builder clientTimestampMillis​(Long clientTimestampMillis)
        Description copied from interface: TextInputEvent.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 TextInputEvent.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.