Interface ListChannelMembershipsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListChannelMembershipsResponse.Builder,,ListChannelMembershipsResponse> SdkBuilder<ListChannelMembershipsResponse.Builder,,ListChannelMembershipsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelMembershipsResponse
public static interface ListChannelMembershipsResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelMembershipsResponse.Builder,ListChannelMembershipsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel.channelMemberships(Collection<ChannelMembershipSummary> channelMemberships) The information for the requested channel memberships.channelMemberships(Consumer<ChannelMembershipSummary.Builder>... channelMemberships) The information for the requested channel memberships.channelMemberships(ChannelMembershipSummary... channelMemberships) The information for the requested channel memberships.The token passed by previous API calls until all requested channel memberships are returned.Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.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
-
channelArn
The ARN of the channel.
- Parameters:
channelArn- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMemberships
ListChannelMembershipsResponse.Builder channelMemberships(Collection<ChannelMembershipSummary> 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
ListChannelMembershipsResponse.Builder channelMemberships(ChannelMembershipSummary... 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
ListChannelMembershipsResponse.Builder channelMemberships(Consumer<ChannelMembershipSummary.Builder>... channelMemberships) The information for the requested channel memberships.
This is a convenience method that creates an instance of theChannelMembershipSummary.Builderavoiding the need to create one manually viaChannelMembershipSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelMemberships(List<ChannelMembershipSummary>).- Parameters:
channelMemberships- a consumer that will call methods onChannelMembershipSummary.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 channel memberships are returned.
- Parameters:
nextToken- The token passed by previous API calls until all requested channel memberships are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-