public static interface ListChannelsResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListChannelsResponse.Builder |
channels(ChannelSummary... channels)
The information about each channel.
|
ListChannelsResponse.Builder |
channels(Collection<ChannelSummary> channels)
The information about each channel.
|
ListChannelsResponse.Builder |
channels(Consumer<ChannelSummary.Builder>... channels)
The information about each channel.
|
ListChannelsResponse.Builder |
nextToken(String nextToken)
The token returned from previous API requests until the number of channels is reached.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListChannelsResponse.Builder channels(Collection<ChannelSummary> channels)
The information about each channel.
channels - The information about each channel.ListChannelsResponse.Builder channels(ChannelSummary... channels)
The information about each channel.
channels - The information about each channel.ListChannelsResponse.Builder channels(Consumer<ChannelSummary.Builder>... channels)
The information about each channel.
This is a convenience method that creates an instance of theChannelSummary.Builder avoiding the need to
create one manually via
ChannelSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #channels(List.
channels - a consumer that will call methods on
ChannelSummary.Builder#channels(java.util.Collection) ListChannelsResponse.Builder nextToken(String nextToken)
The token returned from previous API requests until the number of channels is reached.
nextToken - The token returned from previous API requests until the number of channels is reached.Copyright © 2023. All rights reserved.