valueOf

fun valueOf(constant: Enum<*>): String

constant as the configuration writes it: lower case, words joined by dashes.