Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> SdkBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
public static interface ListChannelsResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels(Collection<ChannelSummary> channels) The information about each channel.channels(Consumer<ChannelSummary.Builder>... channels) The information about each channel.channels(ChannelSummary... channels) The information about each channel.The token returned from previous API requests until the number of channels is reached.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channels
The information about each channel.
- Parameters:
channels- The information about each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
The information about each channel.
- Parameters:
channels- The information about each channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
The information about each channel.
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
The token returned from previous API requests until the number of channels is reached.
- Parameters:
nextToken- The token returned from previous API requests until the number of channels is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-