Interface ListSubChannelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListSubChannelsResponse.Builder,ListSubChannelsResponse>,SdkBuilder<ListSubChannelsResponse.Builder,ListSubChannelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSubChannelsResponse
public static interface ListSubChannelsResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListSubChannelsResponse.Builder,ListSubChannelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSubChannelsResponse.BuilderchannelArn(String channelArn)The ARN of elastic channel.ListSubChannelsResponse.BuildernextToken(String nextToken)The token passed by previous API calls until all requested sub-channels are returned.ListSubChannelsResponse.BuildersubChannels(Collection<SubChannelSummary> subChannels)The information about each sub-channel.ListSubChannelsResponse.BuildersubChannels(Consumer<SubChannelSummary.Builder>... subChannels)The information about each sub-channel.ListSubChannelsResponse.BuildersubChannels(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
channelArn
ListSubChannelsResponse.Builder channelArn(String 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
ListSubChannelsResponse.Builder subChannels(Collection<SubChannelSummary> 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
ListSubChannelsResponse.Builder subChannels(SubChannelSummary... 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
ListSubChannelsResponse.Builder subChannels(Consumer<SubChannelSummary.Builder>... subChannels)
The information about each sub-channel.
This is a convenience method that creates an instance of theSubChannelSummary.Builderavoiding the need to create one manually viaSubChannelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subChannels(List.) - 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:
#subChannels(java.util.Collection)
-
nextToken
ListSubChannelsResponse.Builder nextToken(String 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.
-
-