Interface ListChannelsModeratedByAppInstanceUserResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListChannelsModeratedByAppInstanceUserResponse.Builder,ListChannelsModeratedByAppInstanceUserResponse>,SdkBuilder<ListChannelsModeratedByAppInstanceUserResponse.Builder,ListChannelsModeratedByAppInstanceUserResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListChannelsModeratedByAppInstanceUserResponse
public static interface ListChannelsModeratedByAppInstanceUserResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsModeratedByAppInstanceUserResponse.Builder,ListChannelsModeratedByAppInstanceUserResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelsModeratedByAppInstanceUserResponse.Builderchannels(Collection<ChannelModeratedByAppInstanceUserSummary> channels)The moderated channels in the request.ListChannelsModeratedByAppInstanceUserResponse.Builderchannels(Consumer<ChannelModeratedByAppInstanceUserSummary.Builder>... channels)The moderated channels in the request.ListChannelsModeratedByAppInstanceUserResponse.Builderchannels(ChannelModeratedByAppInstanceUserSummary... channels)The moderated channels in the request.ListChannelsModeratedByAppInstanceUserResponse.BuildernextToken(String nextToken)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.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
-
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 to#channels(List.) - 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:
#channels(java.util.Collection)
-
nextToken
ListChannelsModeratedByAppInstanceUserResponse.Builder nextToken(String 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.
-
-