docs: public static DataMediaPair findDataMediaPair(Pipeline pipeline, Long pairId) {
          Assert.notNull(pipeline);
          for (DataMediaPair pair : pipeline.getPairs()) {
              if (pair.getId().equals(pairId)) {
                  return pair;
              }
          }
  
          throw new ConfigException("no such DataMediaPair , the pairId = " + pairId);
      }