Interface ListChannelModeratorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<ListChannelModeratorsResponse.Builder,,ListChannelModeratorsResponse> SdkBuilder<ListChannelModeratorsResponse.Builder,,ListChannelModeratorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelModeratorsResponse
public static interface ListChannelModeratorsResponse.Builder
extends ChimeResponse.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.chime.model.ChimeResponse.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
-
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.Builderavoiding the need to create one manually viaChannelModeratorSummary.builder().When the
Consumercompletes,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:
-