Interface AwsWafRuleDetails.Builder

    • Method Detail

      • metricName

        AwsWafRuleDetails.Builder metricName​(String metricName)

        The name of the metrics for this rule.

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

        AwsWafRuleDetails.Builder name​(String name)

        A descriptive name for the rule.

        Parameters:
        name - A descriptive name for the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • predicateList

        AwsWafRuleDetails.Builder predicateList​(Collection<AwsWafRulePredicateListDetails> predicateList)

        Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.

        Parameters:
        predicateList - Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • predicateList

        AwsWafRuleDetails.Builder predicateList​(AwsWafRulePredicateListDetails... predicateList)

        Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.

        Parameters:
        predicateList - Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleId

        AwsWafRuleDetails.Builder ruleId​(String ruleId)

        The ID of the WAF rule.

        Parameters:
        ruleId - The ID of the WAF rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.