Package com.pulumi.aws.wafv2.inputs
Class RuleGroupRuleStatementByteMatchStatementArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.inputs.RuleGroupRuleStatementByteMatchStatementArgs.Builder
-
- Enclosing class:
- RuleGroupRuleStatementByteMatchStatementArgs
public static final class RuleGroupRuleStatementByteMatchStatementArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RuleGroupRuleStatementByteMatchStatementArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuleGroupRuleStatementByteMatchStatementArgs defaults)
-
-
Method Detail
-
fieldToMatch
public RuleGroupRuleStatementByteMatchStatementArgs.Builder fieldToMatch(@Nullable com.pulumi.core.Output<RuleGroupRuleStatementByteMatchStatementFieldToMatchArgs> fieldToMatch)
- Parameters:
fieldToMatch- Part of a web request that you want AWS WAF to inspect. See Field to Match below for details.- Returns:
- builder
-
fieldToMatch
public RuleGroupRuleStatementByteMatchStatementArgs.Builder fieldToMatch(RuleGroupRuleStatementByteMatchStatementFieldToMatchArgs fieldToMatch)
- Parameters:
fieldToMatch- Part of a web request that you want AWS WAF to inspect. See Field to Match below for details.- Returns:
- builder
-
positionalConstraint
public RuleGroupRuleStatementByteMatchStatementArgs.Builder positionalConstraint(com.pulumi.core.Output<java.lang.String> positionalConstraint)
- Parameters:
positionalConstraint- Area within the portion of a web request that you want AWS WAF to search for `searchString`. Valid values include the following: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchStatement.html) for more information.- Returns:
- builder
-
positionalConstraint
public RuleGroupRuleStatementByteMatchStatementArgs.Builder positionalConstraint(java.lang.String positionalConstraint)
- Parameters:
positionalConstraint- Area within the portion of a web request that you want AWS WAF to search for `searchString`. Valid values include the following: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchStatement.html) for more information.- Returns:
- builder
-
preParseTextTransformations
public RuleGroupRuleStatementByteMatchStatementArgs.Builder preParseTextTransformations(@Nullable com.pulumi.core.Output<java.util.List<RuleGroupRuleStatementByteMatchStatementPreParseTextTransformationArgs>> preParseTextTransformations)
- Parameters:
preParseTextTransformations- Text transformations to apply to the raw query string before AWS WAF parses the string into individual query arguments, and before any `textTransformation` is applied. Supported only when `fieldToMatch` specifies `singleQueryArgument` or `allQueryArguments`. Maximum of 10. See Pre-Parse Text Transformation below for details.- Returns:
- builder
-
preParseTextTransformations
public RuleGroupRuleStatementByteMatchStatementArgs.Builder preParseTextTransformations(java.util.List<RuleGroupRuleStatementByteMatchStatementPreParseTextTransformationArgs> preParseTextTransformations)
- Parameters:
preParseTextTransformations- Text transformations to apply to the raw query string before AWS WAF parses the string into individual query arguments, and before any `textTransformation` is applied. Supported only when `fieldToMatch` specifies `singleQueryArgument` or `allQueryArguments`. Maximum of 10. See Pre-Parse Text Transformation below for details.- Returns:
- builder
-
preParseTextTransformations
public RuleGroupRuleStatementByteMatchStatementArgs.Builder preParseTextTransformations(RuleGroupRuleStatementByteMatchStatementPreParseTextTransformationArgs... preParseTextTransformations)
- Parameters:
preParseTextTransformations- Text transformations to apply to the raw query string before AWS WAF parses the string into individual query arguments, and before any `textTransformation` is applied. Supported only when `fieldToMatch` specifies `singleQueryArgument` or `allQueryArguments`. Maximum of 10. See Pre-Parse Text Transformation below for details.- Returns:
- builder
-
searchString
public RuleGroupRuleStatementByteMatchStatementArgs.Builder searchString(com.pulumi.core.Output<java.lang.String> searchString)
- Parameters:
searchString- String value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in `fieldToMatch`. The maximum length of the value is 50 bytes.- Returns:
- builder
-
searchString
public RuleGroupRuleStatementByteMatchStatementArgs.Builder searchString(java.lang.String searchString)
- Parameters:
searchString- String value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in `fieldToMatch`. The maximum length of the value is 50 bytes.- Returns:
- builder
-
textTransformations
public RuleGroupRuleStatementByteMatchStatementArgs.Builder textTransformations(com.pulumi.core.Output<java.util.List<RuleGroupRuleStatementByteMatchStatementTextTransformationArgs>> textTransformations)
- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one required. See Text Transformation below for details.- Returns:
- builder
-
textTransformations
public RuleGroupRuleStatementByteMatchStatementArgs.Builder textTransformations(java.util.List<RuleGroupRuleStatementByteMatchStatementTextTransformationArgs> textTransformations)
- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one required. See Text Transformation below for details.- Returns:
- builder
-
textTransformations
public RuleGroupRuleStatementByteMatchStatementArgs.Builder textTransformations(RuleGroupRuleStatementByteMatchStatementTextTransformationArgs... textTransformations)
- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one required. See Text Transformation below for details.- Returns:
- builder
-
build
public RuleGroupRuleStatementByteMatchStatementArgs build()
-
-