public PutChannelMembershipPreferencesResult withPreferences(ChannelMembershipPreferences preferences) {
        setPreferences(preferences);
        return this;
    }
<p>
The ARN and metadata of the member being added.
</p>

@param preferences
       The ARN and metadata of the member being added.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/PutChannelMembershipPreferencesResult.java