fun setValidator(@Nullable validator: Validator): Unit
Set the Validator to apply after each binding step.