Interface ResponseAction.Builder

    • Method Detail

      • block

        ResponseAction.Builder block​(BlockAction block)

        Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

        You must specify exactly one action, either Block or Count.

        Parameters:
        block - Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

        You must specify exactly one action, either Block or Count.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        ResponseAction.Builder count​(CountAction count)

        Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

        You must specify exactly one action, either Block or Count.

        Parameters:
        count - Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

        You must specify exactly one action, either Block or Count.

        Returns:
        Returns a reference to this object so that method calls can be chained together.