I'd say that
@Alexander The Great is right in terms of age usually, but I believe that there's more to it than just that.
I'd say that in ring years and, more importantly, finding your character has a lot to do with when exactly you'll enter your "prime." I can't remember where I heard/read this, but it's usually after 6 in-ring years or so (that is, not counting injury time), that guys tend to come into their own as a wrestler. After that, it's a matter of time until a guy really hits their peak as a wrestler.
Think about it:
-Hogan's 6th in-ring year was 1983-1984, right around the time the Hulkamania craze started. Take your pick for when he hit his "prime" as a wrestler.
-Austin's was 1995-1996, the year he started developing as "Superstar" Steve Austin in ECW (1995), which eventually turned into Stone Cold Steve Austin in 1996 and afterward.
-Funnily enough, Brock's came in 2013-2014. Dude was great before this, though, as he had one of the best half-years ever in late 2003. Take it for what it's worth.
-Undertaker's was in 1990-1991, when he went to WWF and got the Undertaker character. He's a bit of an anomaly, because of his knack for reinvention, but it's worth mentioning.
-Bret Hart's came in 1984-1985, when he first developed the "Hitman" character and started wrestling in WWF with Jim Neidhart as the Hart Foundation. Bret bubbled under for a while because of the depth of the WWF's roster at the time and the success of the Hart Foundation, but he was already gaining popularity and starting to develop his singles character shortly after this.
-Shawn Michaels was a bit of an anomaly, as he didn't get the Heartbreak Kid gimmick until his 7th year, but the same principle applies. Got the gimmick that would stay with him around that time, and then eventually developed a style and character that would catapult him to the top behind it.
-Triple H's was 1998-1999, when he was leading DX and eventually began to develop his main event "Game" character.
-John Cena's was 2005-2006, around the time he started becoming
John Cena, for better or worse.
-Randy Orton's a weird one, since he was already really good starting in 2004, but his was 2007, when he really started developing the vicious, cold "Viper" character that's stuck with him over the years.
-Another weird case is CM Punk's (2005-2006) given that he was in OVW for half of it. Still, 2005 was the year of the first "Summer of Punk," which has to count for something.
-Daniel Bryan's, incidentally, was ALSO 2005-2006, when he was doing his "Best in the World" thing in ROH.
No doubt that some of these don't totally fit, and that there are outright anomalies (Savage, Rock, Foley, Brock). But there's something to the theory that, no matter what the age, guys usually tend to hit on the perfect character around their 6th in-ring year, and then transition into their prime within a few years after that.