createBuilder gives you the CreateBuilder which gives you a CreateObject.
(replace with update for the other one).

+1 for CreateObject/UpdateObject as the names of the domain classes and CreateBuilder/UpdateBuilder for the builder names.

I personally also think that Domain.createWith(...) reads nicely, but for consistency with the many instances of Domain.builder() I would probably vote for Domain.createBuilder(...) and Domain.updateBuilder(...) here.

ap

Reply via email to