Interface ListRetainedMessagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRetainedMessagesResponse.Builder,,ListRetainedMessagesResponse> IotDataPlaneResponse.Builder,SdkBuilder<ListRetainedMessagesResponse.Builder,,ListRetainedMessagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRetainedMessagesResponse
public static interface ListRetainedMessagesResponse.Builder
extends IotDataPlaneResponse.Builder, SdkPojo, CopyableBuilder<ListRetainedMessagesResponse.Builder,ListRetainedMessagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results, or null if there are no additional results.retainedTopics(Collection<RetainedMessageSummary> retainedTopics) A summary list the account's retained messages.retainedTopics(Consumer<RetainedMessageSummary.Builder>... retainedTopics) A summary list the account's retained messages.retainedTopics(RetainedMessageSummary... retainedTopics) A summary list the account's retained messages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotdataplane.model.IotDataPlaneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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(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.Builderavoiding the need to create one manually viaRetainedMessageSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretainedTopics(List<RetainedMessageSummary>).- Parameters:
retainedTopics- a consumer that will call methods onRetainedMessageSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-