Package com.pulumi.aws.wafv2.inputs
Class WebAclRuleStatementByteMatchStatementArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.inputs.WebAclRuleStatementByteMatchStatementArgs.Builder
-
- Enclosing class:
- WebAclRuleStatementByteMatchStatementArgs
public static final class WebAclRuleStatementByteMatchStatementArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WebAclRuleStatementByteMatchStatementArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WebAclRuleStatementByteMatchStatementArgs defaults)
-
-
Method Detail
-
fieldToMatch
public WebAclRuleStatementByteMatchStatementArgs.Builder fieldToMatch(@Nullable com.pulumi.core.Output<WebAclRuleStatementByteMatchStatementFieldToMatchArgs> fieldToMatch)
- Parameters:
fieldToMatch- Part of the web request that you want WAF to inspect. See Field to Match below.- Returns:
- builder
-
fieldToMatch
public WebAclRuleStatementByteMatchStatementArgs.Builder fieldToMatch(WebAclRuleStatementByteMatchStatementFieldToMatchArgs fieldToMatch)
- Parameters:
fieldToMatch- Part of the web request that you want WAF to inspect. See Field to Match below.- Returns:
- builder
-
positionalConstraint
public WebAclRuleStatementByteMatchStatementArgs.Builder positionalConstraint(com.pulumi.core.Output<java.lang.String> positionalConstraint)
- Parameters:
positionalConstraint- Area within the portion of the web request that you want WAF to search for `searchString`. Valid values: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`.- Returns:
- builder
-
positionalConstraint
public WebAclRuleStatementByteMatchStatementArgs.Builder positionalConstraint(java.lang.String positionalConstraint)
- Parameters:
positionalConstraint- Area within the portion of the web request that you want WAF to search for `searchString`. Valid values: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`.- Returns:
- builder
-
searchString
public WebAclRuleStatementByteMatchStatementArgs.Builder searchString(com.pulumi.core.Output<java.lang.String> searchString)
- Parameters:
searchString- String value to search for within the request (1-200 characters).- Returns:
- builder
-
searchString
public WebAclRuleStatementByteMatchStatementArgs.Builder searchString(java.lang.String searchString)
- Parameters:
searchString- String value to search for within the request (1-200 characters).- Returns:
- builder
-
textTransformations
public WebAclRuleStatementByteMatchStatementArgs.Builder textTransformations(@Nullable com.pulumi.core.Output<java.util.List<WebAclRuleStatementByteMatchStatementTextTransformationArgs>> textTransformations)
- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.- Returns:
- builder
-
textTransformations
public WebAclRuleStatementByteMatchStatementArgs.Builder textTransformations(java.util.List<WebAclRuleStatementByteMatchStatementTextTransformationArgs> textTransformations)
- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.- Returns:
- builder
-
textTransformations
public WebAclRuleStatementByteMatchStatementArgs.Builder textTransformations(WebAclRuleStatementByteMatchStatementTextTransformationArgs... textTransformations)
- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. See Text Transformation below.- Returns:
- builder
-
build
public WebAclRuleStatementByteMatchStatementArgs build()
-
-