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