Interface ListRetainedMessagesResponse.Builder

    • Method Detail

      • retainedTopics

        ListRetainedMessagesResponse.Builder retainedTopics​(Collection<RetainedMessageSummary> retainedTopics)

        A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.

        Parameters:
        retainedTopics - A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retainedTopics

        ListRetainedMessagesResponse.Builder retainedTopics​(RetainedMessageSummary... retainedTopics)

        A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.

        Parameters:
        retainedTopics - A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListRetainedMessagesResponse.Builder nextToken​(String nextToken)

        The token for the next set of results, or null if there are no additional results.

        Parameters:
        nextToken - The token for the next set of results, or null if there are no additional results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.