Class CfnRuleGroup.RateLimitHeaderProperty.Builder

java.lang.Object
software.amazon.awscdk.services.wafv2.CfnRuleGroup.RateLimitHeaderProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuleGroup.RateLimitHeaderProperty>
Enclosing interface:
CfnRuleGroup.RateLimitHeaderProperty

@Stability(Stable) public static final class CfnRuleGroup.RateLimitHeaderProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.RateLimitHeaderProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Stable) public CfnRuleGroup.RateLimitHeaderProperty.Builder name(String name)
      Parameters:
      name - The name of the header to use. This parameter is required.
      Returns:
      this
    • textTransformations

      @Stability(Stable) public CfnRuleGroup.RateLimitHeaderProperty.Builder textTransformations(IResolvable textTransformations)
      Parameters:
      textTransformations - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. This parameter is required. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
      Returns:
      this
    • textTransformations

      @Stability(Stable) public CfnRuleGroup.RateLimitHeaderProperty.Builder textTransformations(List<? extends Object> textTransformations)
      Parameters:
      textTransformations - Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. This parameter is required. Text transformations are used in rule match statements, to transform the FieldToMatch request component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, AWS WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.
      Returns:
      this
    • build

      @Stability(Stable) public CfnRuleGroup.RateLimitHeaderProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnRuleGroup.RateLimitHeaderProperty>
      Returns:
      a new instance of CfnRuleGroup.RateLimitHeaderProperty
      Throws:
      NullPointerException - if any required attribute was not provided