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()
boolean
Specifies a constraint on the size of a part of the web request.int
hashCode()
void
setAction
(ChangeAction action) void
void
setSizeConstraint
(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
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- Parameters:
action
- SpecifyINSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- See Also:
-
getAction
Specify
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- Returns:
- Specify
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
. - See Also:
-
withAction
Specify
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- Parameters:
action
- SpecifyINSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAction
Specify
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- Parameters:
action
- SpecifyINSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- See Also:
-
withAction
Specify
INSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from aSizeConstraintSet
.- Parameters:
action
- SpecifyINSERT
to add a SizeConstraintSetUpdate to a SizeConstraintSet. UseDELETE
to remove aSizeConstraintSetUpdate
from 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
, andFieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes ofFieldToMatch
". If that expression is true, theSizeConstraint
is considered to match.- Parameters:
sizeConstraint
- Specifies a constraint on the size of a part of the web request. AWS WAF uses theSize
,ComparisonOperator
, andFieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes ofFieldToMatch
". If that expression is true, theSizeConstraint
is considered to match.
-
getSizeConstraint
Specifies a constraint on the size of a part of the web request. AWS WAF uses the
Size
,ComparisonOperator
, andFieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes ofFieldToMatch
". If that expression is true, theSizeConstraint
is considered to match.- Returns:
- Specifies a constraint on the size of a part of the web request.
AWS WAF uses the
Size
,ComparisonOperator
, andFieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes ofFieldToMatch
". If that expression is true, theSizeConstraint
is considered to match.
-
withSizeConstraint
Specifies a constraint on the size of a part of the web request. AWS WAF uses the
Size
,ComparisonOperator
, andFieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes ofFieldToMatch
". If that expression is true, theSizeConstraint
is considered to match.- Parameters:
sizeConstraint
- Specifies a constraint on the size of a part of the web request. AWS WAF uses theSize
,ComparisonOperator
, andFieldToMatch
to build an expression in the form of "Size
ComparisonOperator
size in bytes ofFieldToMatch
". If that expression is true, theSizeConstraint
is considered to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-