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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRetainedMessagesResponse.BuildernextToken(String nextToken)The token for the next set of results, or null if there are no additional results.ListRetainedMessagesResponse.BuilderretainedTopics(Collection<RetainedMessageSummary> retainedTopics)A summary list the account's retained messages.ListRetainedMessagesResponse.BuilderretainedTopics(Consumer<RetainedMessageSummary.Builder>... retainedTopics)A summary list the account's retained messages.ListRetainedMessagesResponse.BuilderretainedTopics(RetainedMessageSummary... retainedTopics)A summary list the account's retained messages.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotdataplane.model.IotDataPlaneResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
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.
-
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 to#retainedTopics(List.) - 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:
#retainedTopics(java.util.Collection)
-
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.
-
-