public static interface ListChannelMembershipsForAppInstanceUserResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelMembershipsForAppInstanceUserResponse.Builder,ListChannelMembershipsForAppInstanceUserResponse>
| Modifier and Type | Method and Description |
|---|---|
ListChannelMembershipsForAppInstanceUserResponse.Builder |
channelMemberships(ChannelMembershipForAppInstanceUserSummary... channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsForAppInstanceUserResponse.Builder |
channelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsForAppInstanceUserResponse.Builder |
channelMemberships(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder>... channelMemberships)
The information for the requested channel memberships.
|
ListChannelMembershipsForAppInstanceUserResponse.Builder |
nextToken(String nextToken)
The token passed by previous API calls until all requested users are returned.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListChannelMembershipsForAppInstanceUserResponse.Builder channelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)
The information for the requested channel memberships.
channelMemberships - The information for the requested channel memberships.ListChannelMembershipsForAppInstanceUserResponse.Builder channelMemberships(ChannelMembershipForAppInstanceUserSummary... channelMemberships)
The information for the requested channel memberships.
channelMemberships - The information for the requested channel memberships.ListChannelMembershipsForAppInstanceUserResponse.Builder channelMemberships(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder>... channelMemberships)
The information for the requested channel memberships.
This is a convenience method that creates an instance of theChannelMembershipForAppInstanceUserSummary.Builder
avoiding the need to create one manually via
ChannelMembershipForAppInstanceUserSummary.builder()
.
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #channelMemberships(List.
channelMemberships - a consumer that will call methods on
ChannelMembershipForAppInstanceUserSummary.Builder#channelMemberships(java.util.Collection) ListChannelMembershipsForAppInstanceUserResponse.Builder nextToken(String nextToken)
The token passed by previous API calls until all requested users are returned.
nextToken - The token passed by previous API calls until all requested users are returned.Copyright © 2023. All rights reserved.