Interface ListChannelMembershipsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<ListChannelMembershipsResponse.Builder,
,ListChannelMembershipsResponse> SdkBuilder<ListChannelMembershipsResponse.Builder,
,ListChannelMembershipsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelMembershipsResponse
public static interface ListChannelMembershipsResponse.Builder
extends ChimeResponse.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.chime.model.ChimeResponse.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
-
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.Builder
avoiding the need to create one manually viaChannelMembershipSummary.builder()
.When the
Consumer
completes,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.
-