Interface RuleGroupUpdate.Builder

    • Method Detail

      • action

        RuleGroupUpdate.Builder action​(String action)

        Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

        Parameters:
        action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeAction, ChangeAction
      • action

        RuleGroupUpdate.Builder action​(ChangeAction action)

        Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.

        Parameters:
        action - Specify INSERT to add an ActivatedRule to a RuleGroup. Use DELETE to remove an ActivatedRule from a RuleGroup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeAction, ChangeAction
      • activatedRule

        RuleGroupUpdate.Builder activatedRule​(ActivatedRule activatedRule)

        The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).

        Parameters:
        activatedRule - The ActivatedRule object specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).
        Returns:
        Returns a reference to this object so that method calls can be chained together.