public KeyValueStoreUpdate storeAs ( String value , String ... segments ) { actions . add ( new Update ( "/" + String . join ( "/" , segments ) , value ) ) ; return this ; }
Adds a new update action to the event that stores the given value on the path formed by the path segments .