Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> IvsResponse.Builder
,SdkBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
public static interface ListChannelsResponse.Builder
extends IvsResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels
(Collection<ChannelSummary> channels) List of the matching channels.channels
(Consumer<ChannelSummary.Builder>... channels) List of the matching channels.channels
(ChannelSummary... channels) List of the matching channels.If there are more channels thanmaxResults
, usenextToken
in the request to get the next set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channels
List of the matching channels.
- Parameters:
channels
- List of the matching channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
List of the matching channels.
- Parameters:
channels
- List of the matching channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
List of the matching channels.
This is a convenience method that creates an instance of theChannelSummary.Builder
avoiding the need to create one manually viaChannelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannels(List<ChannelSummary>)
.- Parameters:
channels
- a consumer that will call methods onChannelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more channels than
maxResults
, usenextToken
in the request to get the next set.- Parameters:
nextToken
- If there are more channels thanmaxResults
, usenextToken
in the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-