Having a hold on a programming language like java along with frameworks like spring would definitely give you an edge while trying to learn any cloud platform...
For instance, Cloud platforms like AWS, Azure, etc support hosting of applications that are written in languages like java, python etc.
You need to just conquer the cloud concepts. I suggest you pick a cloud platform that you are looking forward to building your career in (AWS, Azure, GCP) and master it like a pro!
It would pay huge dividends in the long run!