Interface ListChannelFlowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListChannelFlowsResponse.Builder,,ListChannelFlowsResponse> SdkBuilder<ListChannelFlowsResponse.Builder,,ListChannelFlowsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelFlowsResponse
@Mutable
@NotThreadSafe
public static interface ListChannelFlowsResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelFlowsResponse.Builder,ListChannelFlowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelFlows(Collection<ChannelFlowSummary> channelFlows) The information about each channel flow.channelFlows(Consumer<ChannelFlowSummary.Builder>... channelFlows) The information about each channel flow.channelFlows(ChannelFlowSummary... channelFlows) The information about each channel flow.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelFlows
The information about each channel flow.
- Parameters:
channelFlows- The information about each channel flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelFlows
The information about each channel flow.
- Parameters:
channelFlows- The information about each channel flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelFlows
The information about each channel flow.
This is a convenience method that creates an instance of theChannelFlowSummary.Builderavoiding the need to create one manually viaChannelFlowSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelFlows(List<ChannelFlowSummary>).- Parameters:
channelFlows- a consumer that will call methods onChannelFlowSummary.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.
-