@JsonSetter("module")
public ModuleConfig setModule(String moduleName) {
Args.checkNotNull(moduleName, "module name cannot be null");
// Instantiate a module identifier to force it to validate the module name.
// If the module name is invalid then an IllegalArgumentException will be thrown.
new ModuleIdentifier(moduleName);
this.module = moduleName;
return this;
}