com.lightbend.lagom.javadsl.persistence.PersistentEntity
Create a BehaviorBuilder that corresponds to this Behavior, i.e.
Create a BehaviorBuilder that corresponds to this Behavior, i.e. the builder
is populated with same state, same event and command handler functions.
new instance with the given state
Behavior consists of current state and functions to process incoming commands and persisted events.
Behavioris an immutable class. Use the mutable BehaviorBuilder for defining command and event handlers.