public Builder setType(ModuleType type) {
			this.type = type;
			return this;
		}
Set the module type.

@param type module type
@return this builder object

@see ModuleDescriptor#getType()
spring-xd-module/src/main/java/org/springframework/xd/module/ModuleDescriptor.java