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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelModeratorsResponse.BuilderchannelArn(String channelArn)The ARN of the channel.ListChannelModeratorsResponse.BuilderchannelModerators(Collection<ChannelModeratorSummary> channelModerators)The information about and names of each moderator.ListChannelModeratorsResponse.BuilderchannelModerators(Consumer<ChannelModeratorSummary.Builder>... channelModerators)The information about and names of each moderator.ListChannelModeratorsResponse.BuilderchannelModerators(ChannelModeratorSummary... channelModerators)The information about and names of each moderator.ListChannelModeratorsResponse.BuildernextToken(String nextToken)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 Detail
-
channelArn
ListChannelModeratorsResponse.Builder channelArn(String 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
ListChannelModeratorsResponse.Builder nextToken(String 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 to#channelModerators(List.) - 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:
#channelModerators(java.util.Collection)
-
-