Interface RuleGroup.Builder

    • Method Detail

      • name

        RuleGroup.Builder name​(String 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.