public ListChannelMembershipsForAppInstanceUserResult withChannelMemberships(
            java.util.Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships) {
        setChannelMemberships(channelMemberships);
        return this;
    }
<p>
The information for the requested channel memberships.
</p>

@param channelMemberships
       The information for the requested channel memberships.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListChannelMembershipsForAppInstanceUserResult.java