Being bicentered is sufficient, but not necessary (consider $P_3$ with two edges attached at each end).
For odd diameter, being bicentered is necessary and sufficient. For even diameter $2r$, the condition would be that the (unique) center has exactly two neighbours leading to a vertex at distance $r$ from the center. This is not much of a characterization, but I doubt if you can find anything better.