Interface PublishResponse.Builder

    • Method Detail

      • messageId

        PublishResponse.Builder messageId​(String messageId)

        Unique identifier assigned to the published message.

        Length Constraint: Maximum 100 characters

        Parameters:
        messageId - Unique identifier assigned to the published message.

        Length Constraint: Maximum 100 characters

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

        PublishResponse.Builder sequenceNumber​(String sequenceNumber)

        This response element applies only to FIFO (first-in-first-out) topics.

        The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.

        Parameters:
        sequenceNumber - This response element applies only to FIFO (first-in-first-out) topics.

        The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber is 128 bits. SequenceNumber continues to increase for each MessageGroupId.

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