Interface Message.Builder

    • Method Detail

      • messageId

        Message.Builder messageId​(String messageId)

        The ID you want to assign to the message. Each messageId must be unique within each batch sent.

        Parameters:
        messageId - The ID you want to assign to the message. Each messageId must be unique within each batch sent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • payload

        Message.Builder payload​(SdkBytes payload)

        The payload of the message. This can be a JSON string or a base64-encoded string representing binary data, in which case you must decode it by means of a pipeline activity.

        Parameters:
        payload - The payload of the message. This can be a JSON string or a base64-encoded string representing binary data, in which case you must decode it by means of a pipeline activity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.