code: public static UserExecutorConfiguration of(ExecutorType type) {
          ArgumentUtils.check("type", type).notNull();
          UserExecutorConfiguration configuration = new UserExecutorConfiguration();
          configuration.type = type;
          return configuration;
      }
docs: Construct a {@link UserExecutorConfiguration} for the given {@link io.micronaut.scheduling.executor.ExecutorType}.
  
  @param type The type
  @return The configuration