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