Interface ListChannelMembershipsForAppInstanceUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkMessagingResponse.Builder
,CopyableBuilder<ListChannelMembershipsForAppInstanceUserResponse.Builder,
,ListChannelMembershipsForAppInstanceUserResponse> SdkBuilder<ListChannelMembershipsForAppInstanceUserResponse.Builder,
,ListChannelMembershipsForAppInstanceUserResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelMembershipsForAppInstanceUserResponse
public static interface ListChannelMembershipsForAppInstanceUserResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelMembershipsForAppInstanceUserResponse.Builder,ListChannelMembershipsForAppInstanceUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelMemberships
(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships) The information for the requested channel memberships.channelMemberships
(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder>... channelMemberships) The information for the requested channel memberships.channelMemberships
(ChannelMembershipForAppInstanceUserSummary... channelMemberships) The information for the requested channel memberships.The token passed by previous API calls until all requested users 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 Details
-
channelMemberships
ListChannelMembershipsForAppInstanceUserResponse.Builder channelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships) The information for the requested channel memberships.
- Parameters:
channelMemberships
- The information for the requested channel memberships.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMemberships
ListChannelMembershipsForAppInstanceUserResponse.Builder channelMemberships(ChannelMembershipForAppInstanceUserSummary... channelMemberships) The information for the requested channel memberships.
- Parameters:
channelMemberships
- The information for the requested channel memberships.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMemberships
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 viaChannelMembershipForAppInstanceUserSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelMemberships(List<ChannelMembershipForAppInstanceUserSummary>)
.- Parameters:
channelMemberships
- a consumer that will call methods onChannelMembershipForAppInstanceUserSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token passed by previous API calls until all requested users are returned.
- Parameters:
nextToken
- The token passed by previous API calls until all requested users are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-