code: public ResultCollectorValidator<D, O> build() {
          final ResultCollectorValidator<D, O> validator = new ResultCollectorValidator<D, O>();
  
          for (final ResultCollector<?, D> resultCollector : registeredResultCollectors) {
              validator.addResultCollector(resultCollector);
          }
          for (final Rule<Collection<D>, O> rule : registeredRules) {
              validator.addRule(rule);
          }
          for (final ResultHandler<O> resultHandler : registeredResultHandlers) {
              validator.addResultHandler(resultHandler);
          }
  
          return validator;
      }
docs: Creates the validator and makes all the connections.
  
  @return Newly created and configured validator.