Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> IvsResponse.Builder,SdkBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
@Mutable
@NotThreadSafe
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, usenextTokenin the request to get the next set.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaChannelSummary.builder().When the
Consumercompletes,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, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more channels thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-