This is one of those open-ended questions that are hard (almost impossible) to answer without knowing more.
The first question is, what results are you looking for? If you're looking for reaction forces, that's more of Mechanism Dynamics. If you're looking for stresses, then it's Mechanica... but my guess is, you would run it in Mechanism Dynamics to generate loads, and import the loads into Mechanica as a load case.
And depending on what you are studying, you may have to physically model the mass and it's connection to the shaft, as opposed to using a mass element.
So what are you looking to study?