class JPAConfiguration {

    public static RequireDriverName builder() {
        return driverName -> driverURL -> new ReadyToBuild(driverName, driverURL, NO_CREDENTIAL, NO_TEST_ON_BORROW,
            NO_VALIDATION_QUERY_TIMEOUT_SEC, NO_VALIDATION_QUERY);
    }

    @VisibleForTesting  JPAConfiguration(String driverName, String driverURL, Optional<Credential> credential, Optional<Boolean> testOnBorrow,
                     Optional<Integer> validationQueryTimeoutSec, Optional<String> validationQuery);

}