Interface PlaybackInterruptionEvent.Builder

  • Method Details

    • eventReason

      PlaybackInterruptionEvent.Builder eventReason(String eventReason)

      Indicates the type of user input that Amazon Lex V2 detected.

      Parameters:
      eventReason - Indicates the type of user input that Amazon Lex V2 detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventReason

      Indicates the type of user input that Amazon Lex V2 detected.

      Parameters:
      eventReason - Indicates the type of user input that Amazon Lex V2 detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • causedByEventId

      PlaybackInterruptionEvent.Builder causedByEventId(String causedByEventId)

      The identifier of the event that contained the audio, DTMF, or text that caused the interruption.

      Parameters:
      causedByEventId - The identifier of the event that contained the audio, DTMF, or text that caused the interruption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventId

      A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N , where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

      Parameters:
      eventId - A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.