private String toVarName(String s) {
        String[] parts = s.split("_");
        StringBuilder var = new StringBuilder(parts[0].toLowerCase());
        for (int i = 1; i < parts.length; i++) {
            var.append(parts[i].substring(0, 1).toUpperCase()).append(parts[i].substring(1).toLowerCase());
        }
        return var.toString();
    }
Enum holding possible configuration keys

@author roland
@since 07/12/14
src/main/java/io/fabric8/maven/docker/config/handler/property/ConfigKey.java