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.
|
ListChannelMessagesResponse.Builder |
subChannelId(String subChannelId)
The ID of the SubChannel in the response.
|
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 method that creates an instance of theChannelMessageSummary.Builder avoiding the
need to create one manually via
ChannelMessageSummary.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #channelMessages(List.
channelMessages - a consumer that will call methods on
ChannelMessageSummary.Builder#channelMessages(java.util.Collection) ListChannelMessagesResponse.Builder subChannelId(String subChannelId)
The ID of the SubChannel in the response.
subChannelId - The ID of the SubChannel in the response.Copyright © 2022. All rights reserved.