code: public static <E> JpaRepositoryConfig.Builder<E> builder(Class<E> entityClass) {
          JpaRepositoryConfig.Builder<E> builder = new JpaRepositoryConfig.Builder<>();
          builder.entityClass = entityClass;
          builder.resourceClass = entityClass;
          return builder;
      }
docs: Prepares a builder to configure a jpa document for the given entity.
  
  @param <E>         entity type
  @param entityClass to directly expose
  @return builder