public CreateRoomMembershipResult withRoomMembership(RoomMembership roomMembership) {
        setRoomMembership(roomMembership);
        return this;
    }
<p>
The room membership details.
</p>

@param roomMembership
       The room membership details.
@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/CreateRoomMembershipResult.java