Interface RuleSummary.Builder

  • Method Details

    • name

      The name of the rule.

      Parameters:
      name - The name of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

      Parameters:
      action - The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

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

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

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