withStrategy

open override fun withStrategy(strategy: EntitySupplyStrategy<*>): RoleBehavior(source)

Returns a new RoleBehavior with the given strategy.