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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelsResponse.Builderchannels(Collection<ChannelSummary> channels)List of the matching channels.ListChannelsResponse.Builderchannels(Consumer<ChannelSummary.Builder>... channels)List of the matching channels.ListChannelsResponse.Builderchannels(ChannelSummary... channels)List of the matching channels.ListChannelsResponse.BuildernextToken(String nextToken)If there are more channels thanmaxResults, usenextTokenin 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 Detail
-
channels
ListChannelsResponse.Builder channels(Collection<ChannelSummary> 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
ListChannelsResponse.Builder channels(ChannelSummary... 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
ListChannelsResponse.Builder channels(Consumer<ChannelSummary.Builder>... 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 to#channels(List.) - 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:
#channels(java.util.Collection)
-
nextToken
ListChannelsResponse.Builder nextToken(String 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.
-
-