Class SizeConstraintSetUpdate
- All Implemented Interfaces:
Serializable, Cloneable
Specifies the part of a web request that you want to inspect the size of and
indicates whether you want to add the specification to a
SizeConstraintSet or delete it from a SizeConstraintSet.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanSpecifies a constraint on the size of a part of the web request.inthashCode()voidsetAction(ChangeAction action) voidvoidsetSizeConstraint(SizeConstraint sizeConstraint) Specifies a constraint on the size of a part of the web request.toString()Returns a string representation of this object; useful for testing and debugging.withAction(ChangeAction action) withAction(String action) withSizeConstraint(SizeConstraint sizeConstraint) Specifies a constraint on the size of a part of the web request.
-
Constructor Details
-
SizeConstraintSetUpdate
public SizeConstraintSetUpdate()
-
-
Method Details
-
setAction
Specify
INSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Parameters:
action- SpecifyINSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- See Also:
-
getAction
Specify
INSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Returns:
- Specify
INSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet. - See Also:
-
withAction
Specify
INSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Parameters:
action- SpecifyINSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
Specify
INSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Parameters:
action- SpecifyINSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- See Also:
-
withAction
Specify
INSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Parameters:
action- SpecifyINSERTto add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETEto remove aSizeConstraintSetUpdatefrom aSizeConstraintSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSizeConstraint
Specifies a constraint on the size of a part of the web request. AWS WAF uses the
Size,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.- Parameters:
sizeConstraint- Specifies a constraint on the size of a part of the web request. AWS WAF uses theSize,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.
-
getSizeConstraint
Specifies a constraint on the size of a part of the web request. AWS WAF uses the
Size,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.- Returns:
- Specifies a constraint on the size of a part of the web request.
AWS WAF uses the
Size,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.
-
withSizeConstraint
Specifies a constraint on the size of a part of the web request. AWS WAF uses the
Size,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.- Parameters:
sizeConstraint- Specifies a constraint on the size of a part of the web request. AWS WAF uses theSize,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-