Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Dimension name: Returns the VeniceMetricsDimensions for the enum. All the
instances of a Enum class should have the same dimension name. Ideally this could
have been a static variable/method in the Enum class, but to enforce having this
method via this interface, it is made as a non-static method.