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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeChannelMembershipForAppInstanceUserResponse.BuilderchannelMembership(Consumer<ChannelMembershipForAppInstanceUserSummary.Builder> channelMembership)The channel to which a user belongs.DescribeChannelMembershipForAppInstanceUserResponse.BuilderchannelMembership(ChannelMembershipForAppInstanceUserSummary channelMembership)The channel to which a user belongs.-
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
-
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:
channelMembership(ChannelMembershipForAppInstanceUserSummary)
-
-