Interface ListChannelsAssociatedWithChannelFlowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListChannelsAssociatedWithChannelFlowResponse.Builder,,ListChannelsAssociatedWithChannelFlowResponse> SdkBuilder<ListChannelsAssociatedWithChannelFlowResponse.Builder,,ListChannelsAssociatedWithChannelFlowResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelsAssociatedWithChannelFlowResponse
public static interface ListChannelsAssociatedWithChannelFlowResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsAssociatedWithChannelFlowResponse.Builder,ListChannelsAssociatedWithChannelFlowResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels(Collection<ChannelAssociatedWithFlowSummary> channels) The information about each channel.channels(Consumer<ChannelAssociatedWithFlowSummary.Builder>... channels) The information about each channel.channels(ChannelAssociatedWithFlowSummary... channels) The information about each channel.The token passed by previous API calls until all requested channels are returned.Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.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
ListChannelsAssociatedWithChannelFlowResponse.Builder channels(Collection<ChannelAssociatedWithFlowSummary> 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
ListChannelsAssociatedWithChannelFlowResponse.Builder channels(ChannelAssociatedWithFlowSummary... 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
ListChannelsAssociatedWithChannelFlowResponse.Builder channels(Consumer<ChannelAssociatedWithFlowSummary.Builder>... channels) The information about each channel.
This is a convenience method that creates an instance of theChannelAssociatedWithFlowSummary.Builderavoiding the need to create one manually viaChannelAssociatedWithFlowSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannels(List<ChannelAssociatedWithFlowSummary>).- Parameters:
channels- a consumer that will call methods onChannelAssociatedWithFlowSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token passed by previous API calls until all requested channels are returned.
- Parameters:
nextToken- The token passed by previous API calls until all requested channels are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-