Interface ListQueuedMessagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListQueuedMessagesResponse.Builder,,ListQueuedMessagesResponse> IotWirelessResponse.Builder,SdkBuilder<ListQueuedMessagesResponse.Builder,,ListQueuedMessagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListQueuedMessagesResponse
@Mutable
@NotThreadSafe
public static interface ListQueuedMessagesResponse.Builder
extends IotWirelessResponse.Builder, SdkPojo, CopyableBuilder<ListQueuedMessagesResponse.Builder,ListQueuedMessagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondownlinkQueueMessagesList(Collection<DownlinkQueueMessage> downlinkQueueMessagesList) The messages in the downlink queue.downlinkQueueMessagesList(Consumer<DownlinkQueueMessage.Builder>... downlinkQueueMessagesList) The messages in the downlink queue.downlinkQueueMessagesList(DownlinkQueueMessage... downlinkQueueMessagesList) The messages in the downlink queue.To retrieve the next set of results, thenextTokenvalue from a previous response; otherwise null to receive the first set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwise null to receive the first set of results.- Parameters:
nextToken- To retrieve the next set of results, thenextTokenvalue from a previous response; otherwise null to receive the first set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downlinkQueueMessagesList
ListQueuedMessagesResponse.Builder downlinkQueueMessagesList(Collection<DownlinkQueueMessage> downlinkQueueMessagesList) The messages in the downlink queue.
- Parameters:
downlinkQueueMessagesList- The messages in the downlink queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downlinkQueueMessagesList
ListQueuedMessagesResponse.Builder downlinkQueueMessagesList(DownlinkQueueMessage... downlinkQueueMessagesList) The messages in the downlink queue.
- Parameters:
downlinkQueueMessagesList- The messages in the downlink queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downlinkQueueMessagesList
ListQueuedMessagesResponse.Builder downlinkQueueMessagesList(Consumer<DownlinkQueueMessage.Builder>... downlinkQueueMessagesList) The messages in the downlink queue.
This is a convenience method that creates an instance of theDownlinkQueueMessage.Builderavoiding the need to create one manually viaDownlinkQueueMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todownlinkQueueMessagesList(List<DownlinkQueueMessage>).- Parameters:
downlinkQueueMessagesList- a consumer that will call methods onDownlinkQueueMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-