Interface ListChannelModeratorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkMessagingResponse.Builder
,CopyableBuilder<ListChannelModeratorsResponse.Builder,
,ListChannelModeratorsResponse> SdkBuilder<ListChannelModeratorsResponse.Builder,
,ListChannelModeratorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelModeratorsResponse
public static interface ListChannelModeratorsResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelModeratorsResponse.Builder,ListChannelModeratorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel.channelModerators
(Collection<ChannelModeratorSummary> channelModerators) The information about and names of each moderator.channelModerators
(Consumer<ChannelModeratorSummary.Builder>... channelModerators) The information about and names of each moderator.channelModerators
(ChannelModeratorSummary... channelModerators) The information about and names of each moderator.The token passed by previous API calls until all requested moderators are returned.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 Details
-
channelArn
The ARN of the channel.
- Parameters:
channelArn
- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token passed by previous API calls until all requested moderators are returned.
- Parameters:
nextToken
- The token passed by previous API calls until all requested moderators are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelModerators
ListChannelModeratorsResponse.Builder channelModerators(Collection<ChannelModeratorSummary> channelModerators) The information about and names of each moderator.
- Parameters:
channelModerators
- The information about and names of each moderator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelModerators
ListChannelModeratorsResponse.Builder channelModerators(ChannelModeratorSummary... channelModerators) The information about and names of each moderator.
- Parameters:
channelModerators
- The information about and names of each moderator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelModerators
ListChannelModeratorsResponse.Builder channelModerators(Consumer<ChannelModeratorSummary.Builder>... channelModerators) The information about and names of each moderator.
This is a convenience method that creates an instance of theChannelModeratorSummary.Builder
avoiding the need to create one manually viaChannelModeratorSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelModerators(List<ChannelModeratorSummary>)
.- Parameters:
channelModerators
- a consumer that will call methods onChannelModeratorSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-