Interface AwsWafRuleDetails.Builder

  • Method Details

    • 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

      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

      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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to predicateList(List<AwsWafRulePredicateListDetails>).

      Parameters:
      predicateList - a consumer that will call methods on AwsWafRulePredicateListDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.