@Stability(value=Stable) public static final class CfnRuleGroup.SizeConstraintStatementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.SizeConstraintStatementProperty>
CfnRuleGroup.SizeConstraintStatementProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty.Builder comparisonOperator(String comparisonOperator)
CfnRuleGroup.SizeConstraintStatementProperty.getComparisonOperator()comparisonOperator - The operator to use to compare the request part to the size setting. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty.Builder fieldToMatch(CfnRuleGroup.FieldToMatchProperty fieldToMatch)
CfnRuleGroup.SizeConstraintStatementProperty.getFieldToMatch()fieldToMatch - The part of the web request that you want AWS WAF to inspect. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty.Builder fieldToMatch(IResolvable fieldToMatch)
CfnRuleGroup.SizeConstraintStatementProperty.getFieldToMatch()fieldToMatch - The part of the web request that you want AWS WAF to inspect. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty.Builder size(Number size)
CfnRuleGroup.SizeConstraintStatementProperty.getSize()size - The size, in byte, to compare to the request part, after any transformations. This parameter is required.this@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty.Builder textTransformations(IResolvable textTransformations)
CfnRuleGroup.SizeConstraintStatementProperty.getTextTransformations()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.
If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch , starting from the lowest priority setting, before inspecting the content for a match.this@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty.Builder textTransformations(List<? extends Object> textTransformations)
CfnRuleGroup.SizeConstraintStatementProperty.getTextTransformations()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.
If you specify one or more transformations in a rule statement, AWS WAF performs all transformations on the content of the request component identified by FieldToMatch , starting from the lowest priority setting, before inspecting the content for a match.this@Stability(value=Stable) public CfnRuleGroup.SizeConstraintStatementProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup.SizeConstraintStatementProperty>CfnRuleGroup.SizeConstraintStatementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.