Answer: a metaphor.
Explanation: In personification, a usually unanimated object gains human qualities. In a metaphor, you are relating yourself or something else to something without using the words “like” or “as”. This is comparing yourself to a dream, even though you are a person, so it would be a metaphor.