The Edit Class Associations command, accessed on the right-click context menu, enables you to specify the Component that the UMLAssociation contains.
The command opens a target window on the allocated to relation from which you can add or remove components as desired.