public static interface ListChannelMessagesResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelMessagesResponse.Builder,ListChannelMessagesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListChannelMessagesResponse.Builder |
channelArn(String channelArn)
The ARN of the channel containing the requested messages.
|
ListChannelMessagesResponse.Builder |
channelMessages(ChannelMessageSummary... channelMessages)
The information about, and content of, each requested message.
|
ListChannelMessagesResponse.Builder |
channelMessages(Collection<ChannelMessageSummary> channelMessages)
The information about, and content of, each requested message.
|
ListChannelMessagesResponse.Builder |
channelMessages(Consumer<ChannelMessageSummary.Builder>... channelMessages)
The information about, and content of, each requested message.
|
ListChannelMessagesResponse.Builder |
nextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListChannelMessagesResponse.Builder channelArn(String channelArn)
The ARN of the channel containing the requested messages.
channelArn - The ARN of the channel containing the requested messages.ListChannelMessagesResponse.Builder nextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
nextToken - The token passed by previous API calls until all requested messages are returned.ListChannelMessagesResponse.Builder channelMessages(Collection<ChannelMessageSummary> channelMessages)
The information about, and content of, each requested message.
channelMessages - The information about, and content of, each requested message.ListChannelMessagesResponse.Builder channelMessages(ChannelMessageSummary... channelMessages)
The information about, and content of, each requested message.
channelMessages - The information about, and content of, each requested message.ListChannelMessagesResponse.Builder channelMessages(Consumer<ChannelMessageSummary.Builder>... channelMessages)
The information about, and content of, each requested message.
This is a convenience 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 #channelMessages(List) .channelMessages - a consumer that will call methods on List.Builder #channelMessages(List) Copyright © 2021. All rights reserved.