public static interface ListChannelsResponse.Builder extends MediaPackageResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListChannelsResponse.Builder |
channels(Channel... channels)
A list of Channel records.
|
ListChannelsResponse.Builder |
channels(Collection<Channel> channels)
A list of Channel records.
|
ListChannelsResponse.Builder |
channels(Consumer<Channel.Builder>... channels)
A list of Channel records.
|
ListChannelsResponse.Builder |
nextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListChannelsResponse.Builder channels(Collection<Channel> channels)
channels - A list of Channel records.ListChannelsResponse.Builder channels(Channel... channels)
channels - A list of Channel records.ListChannelsResponse.Builder channels(Consumer<Channel.Builder>... channels)
Channel.Builder avoiding the need to create one
manually via Channel.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
Channel.Builder#channels(java.util.Collection) ListChannelsResponse.Builder nextToken(String nextToken)
nextToken - A token that can be used to resume pagination from the end of the collection.Copyright © 2023. All rights reserved.