public static interface ListRetainedMessagesResponse.Builder extends IotDataPlaneResponse.Builder, SdkPojo, CopyableBuilder<ListRetainedMessagesResponse.Builder,ListRetainedMessagesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListRetainedMessagesResponse.Builder |
nextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
ListRetainedMessagesResponse.Builder |
retainedTopics(Collection<RetainedMessageSummary> retainedTopics)
A summary list the account's retained messages.
|
ListRetainedMessagesResponse.Builder |
retainedTopics(Consumer<RetainedMessageSummary.Builder>... retainedTopics)
A summary list the account's retained messages.
|
ListRetainedMessagesResponse.Builder |
retainedTopics(RetainedMessageSummary... retainedTopics)
A summary list the account's retained messages.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListRetainedMessagesResponse.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.
retainedTopics - A summary list the account's retained messages. The information returned doesn't include the message
payloads of the retained messages.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.
retainedTopics - A summary list the account's retained messages. The information returned doesn't include the message
payloads of the retained messages.ListRetainedMessagesResponse.Builder retainedTopics(Consumer<RetainedMessageSummary.Builder>... retainedTopics)
A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #retainedTopics(List) .retainedTopics - a consumer that will call methods on List.Builder #retainedTopics(List) ListRetainedMessagesResponse.Builder nextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken - The token for the next set of results, or null if there are no additional results.Copyright © 2022. All rights reserved.