Interface WebACLUpdate.Builder

  • Method Details

    • action

      WebACLUpdate.Builder action(String action)

      Specifies whether to insert a Rule into or delete a Rule from a WebACL .

      Parameters:
      action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      Specifies whether to insert a Rule into or delete a Rule from a WebACL .

      Parameters:
      action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activatedRule

      WebACLUpdate.Builder activatedRule(ActivatedRule activatedRule)

      The ActivatedRule object in an UpdateWebACL request 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 in an UpdateWebACL request 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.
    • activatedRule

      default WebACLUpdate.Builder activatedRule(Consumer<ActivatedRule.Builder> activatedRule)

      The ActivatedRule object in an UpdateWebACL request 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).

      This is a convenience method that creates an instance of the ActivatedRule.Builder avoiding the need to create one manually via ActivatedRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to activatedRule(ActivatedRule).

      Parameters:
      activatedRule - a consumer that will call methods on ActivatedRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: