Interface ListChannelMembershipsForAppInstanceUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<ListChannelMembershipsForAppInstanceUserResponse.Builder,,ListChannelMembershipsForAppInstanceUserResponse> SdkBuilder<ListChannelMembershipsForAppInstanceUserResponse.Builder,,ListChannelMembershipsForAppInstanceUserResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelMembershipsForAppInstanceUserResponse
public static interface ListChannelMembershipsForAppInstanceUserResponse.Builder
extends ChimeResponse.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.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, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaChannelMembershipForAppInstanceUserSummary.builder().When the
Consumercompletes,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.
-