Interface DescribeChannelMembershipForAppInstanceUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<DescribeChannelMembershipForAppInstanceUserResponse.Builder,,DescribeChannelMembershipForAppInstanceUserResponse> SdkBuilder<DescribeChannelMembershipForAppInstanceUserResponse.Builder,,DescribeChannelMembershipForAppInstanceUserResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeChannelMembershipForAppInstanceUserResponse
public static interface DescribeChannelMembershipForAppInstanceUserResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<DescribeChannelMembershipForAppInstanceUserResponse.Builder,DescribeChannelMembershipForAppInstanceUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelMembership(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder> channelMembership) The channel to which a user belongs.channelMembership(ChannelMembershipForAppInstanceUserSummary channelMembership) The channel to which a user belongs.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelMembership
DescribeChannelMembershipForAppInstanceUserResponse.Builder channelMembership(ChannelMembershipForAppInstanceUserSummary channelMembership) The channel to which a user belongs.
- Parameters:
channelMembership- The channel to which a user belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMembership
default DescribeChannelMembershipForAppInstanceUserResponse.Builder channelMembership(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder> channelMembership) The channel to which a user belongs.
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 tochannelMembership(ChannelMembershipForAppInstanceUserSummary).- Parameters:
channelMembership- 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:
-