Interface ChatEvent.Builder

  • Method Details

    • type

      Type of chat integration event.

      Parameters:
      type - Type of chat integration event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Type of chat integration event.

      Parameters:
      type - Type of chat integration event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentType

      ChatEvent.Builder contentType(String contentType)

      Type of content. This is required when Type is MESSAGE or EVENT.

      • For allowed message content types, see the ContentType parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

      • For allowed event content types, see the ContentType parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

      Parameters:
      contentType - Type of content. This is required when Type is MESSAGE or EVENT .

      • For allowed message content types, see the ContentType parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

      • For allowed event content types, see the ContentType parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      ChatEvent.Builder content(String content)

      Content of the message or event. This is required when Type is MESSAGE and for certain ContentTypes when Type is EVENT.

      • For allowed message content, see the Content parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

      • For allowed event content, see the Content parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

      Parameters:
      content - Content of the message or event. This is required when Type is MESSAGE and for certain ContentTypes when Type is EVENT.

      • For allowed message content, see the Content parameter in the SendMessage topic in the Amazon Connect Participant Service API Reference.

      • For allowed event content, see the Content parameter in the SendEvent topic in the Amazon Connect Participant Service API Reference.

      Returns:
      Returns a reference to this object so that method calls can be chained together.