Interface ListChannelsModeratedByAppInstanceUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<ListChannelsModeratedByAppInstanceUserResponse.Builder,,ListChannelsModeratedByAppInstanceUserResponse> SdkBuilder<ListChannelsModeratedByAppInstanceUserResponse.Builder,,ListChannelsModeratedByAppInstanceUserResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelsModeratedByAppInstanceUserResponse
public static interface ListChannelsModeratedByAppInstanceUserResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsModeratedByAppInstanceUserResponse.Builder,ListChannelsModeratedByAppInstanceUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe moderated channels in the request.channels(Consumer<ChannelModeratedByAppInstanceUserSummary.Builder>... channels) The moderated channels in the request.channels(ChannelModeratedByAppInstanceUserSummary... channels) The moderated channels in the request.The token returned from previous API requests until the number of channels moderated by the user is reached.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
-
channels
ListChannelsModeratedByAppInstanceUserResponse.Builder channels(Collection<ChannelModeratedByAppInstanceUserSummary> channels) The moderated channels in the request.
- Parameters:
channels- The moderated channels in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
ListChannelsModeratedByAppInstanceUserResponse.Builder channels(ChannelModeratedByAppInstanceUserSummary... channels) The moderated channels in the request.
- Parameters:
channels- The moderated channels in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
ListChannelsModeratedByAppInstanceUserResponse.Builder channels(Consumer<ChannelModeratedByAppInstanceUserSummary.Builder>... channels) The moderated channels in the request.
This is a convenience method that creates an instance of theChannelModeratedByAppInstanceUserSummary.Builderavoiding the need to create one manually viaChannelModeratedByAppInstanceUserSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannels(List<ChannelModeratedByAppInstanceUserSummary>).- Parameters:
channels- a consumer that will call methods onChannelModeratedByAppInstanceUserSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token returned from previous API requests until the number of channels moderated by the user is reached.
- Parameters:
nextToken- The token returned from previous API requests until the number of channels moderated by the user is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-