public void setChannelMemberships(java.util.Collection<ChannelMembershipForAppInstanceUserSummary> channelMemberships) {
        if (channelMemberships == null) {
            this.channelMemberships = null;
            return;
        }

        this.channelMemberships = new java.util.ArrayList<ChannelMembershipForAppInstanceUserSummary>(channelMemberships);
    }
<p>
The information for the requested channel memberships.
</p>

@param channelMemberships
       The information for the requested channel memberships.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListChannelMembershipsForAppInstanceUserResult.java