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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelMembershipsForAppInstanceUserResponse.BuilderchannelMemberships(Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships)The information for the requested channel memberships.ListChannelMembershipsForAppInstanceUserResponse.BuilderchannelMemberships(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder>... channelMemberships)The information for the requested channel memberships.ListChannelMembershipsForAppInstanceUserResponse.BuilderchannelMemberships(ChannelMembershipForAppInstanceUserSummary... channelMemberships)The information for the requested channel memberships.ListChannelMembershipsForAppInstanceUserResponse.BuildernextToken(String nextToken)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 Detail
-
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 to#channelMemberships(List.) - 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:
#channelMemberships(java.util.Collection)
-
nextToken
ListChannelMembershipsForAppInstanceUserResponse.Builder nextToken(String 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.
-
-