How do I set a rod to rotate around the 45 degree x axis?

How do I set a rod to rotate around the 45 degree x axis?only rotations around the x, y, z axes.how to set it?