Interface AwsWafRegionalRuleDetails.Builder

    • Method Detail

      • metricName

        AwsWafRegionalRuleDetails.Builder metricName​(String metricName)

        A name for the metrics for the rule.

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

        AwsWafRegionalRuleDetails.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

        AwsWafRegionalRuleDetails.Builder predicateList​(Collection<AwsWafRegionalRulePredicateListDetails> 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

        AwsWafRegionalRuleDetails.Builder predicateList​(AwsWafRegionalRulePredicateListDetails... 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

        AwsWafRegionalRuleDetails.Builder ruleId​(String ruleId)

        The ID of the rule.

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