Class SizeConstraintSetSizeConstraintArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafregional.inputs.SizeConstraintSetSizeConstraintArgs.Builder
-
- Enclosing class:
- SizeConstraintSetSizeConstraintArgs
public static final class SizeConstraintSetSizeConstraintArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SizeConstraintSetSizeConstraintArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SizeConstraintSetSizeConstraintArgs defaults)
-
-
Method Detail
-
comparisonOperator
public SizeConstraintSetSizeConstraintArgs.Builder comparisonOperator(com.pulumi.core.Output<java.lang.String> comparisonOperator)
- Parameters:
comparisonOperator
- The type of comparison you want to perform. e.g., `EQ`, `NE`, `LT`, `GT`. See [docs](https://docs.aws.amazon.com/waf/latest/APIReference/API_wafRegional_SizeConstraint.html) for all supported values.- Returns:
- builder
-
comparisonOperator
public SizeConstraintSetSizeConstraintArgs.Builder comparisonOperator(java.lang.String comparisonOperator)
- Parameters:
comparisonOperator
- The type of comparison you want to perform. e.g., `EQ`, `NE`, `LT`, `GT`. See [docs](https://docs.aws.amazon.com/waf/latest/APIReference/API_wafRegional_SizeConstraint.html) for all supported values.- Returns:
- builder
-
fieldToMatch
public SizeConstraintSetSizeConstraintArgs.Builder fieldToMatch(com.pulumi.core.Output<SizeConstraintSetSizeConstraintFieldToMatchArgs> fieldToMatch)
- Parameters:
fieldToMatch
- Specifies where in a web request to look for the size constraint.- Returns:
- builder
-
fieldToMatch
public SizeConstraintSetSizeConstraintArgs.Builder fieldToMatch(SizeConstraintSetSizeConstraintFieldToMatchArgs fieldToMatch)
- Parameters:
fieldToMatch
- Specifies where in a web request to look for the size constraint.- Returns:
- builder
-
size
public SizeConstraintSetSizeConstraintArgs.Builder size(com.pulumi.core.Output<java.lang.Integer> size)
- Parameters:
size
- The size in bytes that you want to compare against the size of the specified `field_to_match`. Valid values are between 0 - 21474836480 bytes (0 - 20 GB).- Returns:
- builder
-
size
public SizeConstraintSetSizeConstraintArgs.Builder size(java.lang.Integer size)
- Parameters:
size
- The size in bytes that you want to compare against the size of the specified `field_to_match`. Valid values are between 0 - 21474836480 bytes (0 - 20 GB).- Returns:
- builder
-
textTransformation
public SizeConstraintSetSizeConstraintArgs.Builder textTransformation(com.pulumi.core.Output<java.lang.String> textTransformation)
- Parameters:
textTransformation
- Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on `field_to_match` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_SizeConstraint.html#WAF-Type-SizeConstraint-TextTransformation) for all supported values. **Note:** if you choose `BODY` as `type`, you must choose `NONE` because CloudFront forwards only the first 8192 bytes for inspection.- Returns:
- builder
-
textTransformation
public SizeConstraintSetSizeConstraintArgs.Builder textTransformation(java.lang.String textTransformation)
- Parameters:
textTransformation
- Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on `field_to_match` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_SizeConstraint.html#WAF-Type-SizeConstraint-TextTransformation) for all supported values. **Note:** if you choose `BODY` as `type`, you must choose `NONE` because CloudFront forwards only the first 8192 bytes for inspection.- Returns:
- builder
-
build
public SizeConstraintSetSizeConstraintArgs build()
-
-