SONAR-4908 improve API by adding the method done() on the builder pattern