builder
Obtains the instance of the state builder.
This method must be called only from within an active transaction.
In ProcessManager
, this method must be called from an event reactor, a rejection reactor, or a command handler.
Throws
if the method is called from outside an event/rejection reactor or a command handler