Interface EventPayload.Builder

    • Method Detail

      • contentType

        EventPayload.Builder contentType​(String contentType)

        The type of content in the event payload.

        Parameters:
        contentType - The type of content in the event payload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • data

        EventPayload.Builder data​(String data)

        The data included in the event payload.

        Parameters:
        data - The data included in the event payload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.