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 theRetainedMessageSummary.Builder avoiding the need
to create one manually via
RetainedMessageSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #retainedTopics(List.
retainedTopics - a consumer that will call methods on
RetainedMessageSummary.Builder#retainedTopics(java.util.Collection) 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 © 2023. All rights reserved.