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