public static interface ListChannelsResponse.Builder extends MediaPackageResponse.Builder, 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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListChannelsResponse.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)
.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 #channels(List)
.channels
- a consumer that will call methods on List.Builder
#channels(List)
ListChannelsResponse.Builder nextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.