A builder class for configuring barrier settings.
Set the scope where this barrier should be applied.