Interface SearchChannelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<SearchChannelsResponse.Builder,SearchChannelsResponse>,SdkBuilder<SearchChannelsResponse.Builder,SearchChannelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchChannelsResponse
public static interface SearchChannelsResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<SearchChannelsResponse.Builder,SearchChannelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchChannelsResponse.Builderchannels(Collection<ChannelSummary> channels)A list of the channels in the request.SearchChannelsResponse.Builderchannels(Consumer<ChannelSummary.Builder>... channels)A list of the channels in the request.SearchChannelsResponse.Builderchannels(ChannelSummary... channels)A list of the channels in the request.SearchChannelsResponse.BuildernextToken(String nextToken)The token returned from previous API responses until the number of channels is reached.-
Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
SearchChannelsResponse.Builder channels(Collection<ChannelSummary> channels)
A list of the channels in the request.
- Parameters:
channels- A list of the channels in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
SearchChannelsResponse.Builder channels(ChannelSummary... channels)
A list of the channels in the request.
- Parameters:
channels- A list of the channels in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
SearchChannelsResponse.Builder channels(Consumer<ChannelSummary.Builder>... channels)
A list of the channels in the request.
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
SearchChannelsResponse.Builder nextToken(String nextToken)
The token returned from previous API responses until the number of channels is reached.
- Parameters:
nextToken- The token returned from previous API responses until the number of channels is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-