Interface ListSubChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkMessagingResponse.Builder
,CopyableBuilder<ListSubChannelsResponse.Builder,
,ListSubChannelsResponse> SdkBuilder<ListSubChannelsResponse.Builder,
,ListSubChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSubChannelsResponse
@Mutable
@NotThreadSafe
public static interface ListSubChannelsResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListSubChannelsResponse.Builder,ListSubChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of elastic channel.The token passed by previous API calls until all requested sub-channels are returned.subChannels
(Collection<SubChannelSummary> subChannels) The information about each sub-channel.subChannels
(Consumer<SubChannelSummary.Builder>... subChannels) The information about each sub-channel.subChannels
(SubChannelSummary... subChannels) The information about each sub-channel.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelArn
The ARN of elastic channel.
- Parameters:
channelArn
- The ARN of elastic channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subChannels
The information about each sub-channel.
- Parameters:
subChannels
- The information about each sub-channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subChannels
The information about each sub-channel.
- Parameters:
subChannels
- The information about each sub-channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subChannels
The information about each sub-channel.
This is a convenience method that creates an instance of theSubChannelSummary.Builder
avoiding the need to create one manually viaSubChannelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubChannels(List<SubChannelSummary>)
.- Parameters:
subChannels
- a consumer that will call methods onSubChannelSummary.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 sub-channels are returned.
- Parameters:
nextToken
- The token passed by previous API calls until all requested sub-channels are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-