Interface RuleGroup.Builder

  • Method Details

    • ruleGroupId

      RuleGroup.Builder ruleGroupId(String ruleGroupId)

      A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

      RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

      Parameters:
      ruleGroupId - A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).

      RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

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

      The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.

      Parameters:
      name - The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricName

      RuleGroup.Builder metricName(String metricName)

      A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.

      Parameters:
      metricName - A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.