Interface SizeConstraintSetUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SizeConstraintSetUpdate.Builder,,SizeConstraintSetUpdate> SdkBuilder<SizeConstraintSetUpdate.Builder,,SizeConstraintSetUpdate> SdkPojo
- Enclosing class:
SizeConstraintSetUpdate
-
Method Summary
Modifier and TypeMethodDescriptionaction(ChangeAction action) default SizeConstraintSetUpdate.BuildersizeConstraint(Consumer<SizeConstraint.Builder> sizeConstraint) Specifies a constraint on the size of a part of the web request.sizeConstraint(SizeConstraint sizeConstraint) Specifies a constraint on the size of a part of the web request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
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:
-
action
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:
-
sizeConstraint
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.
-
sizeConstraint
default SizeConstraintSetUpdate.Builder sizeConstraint(Consumer<SizeConstraint.Builder> sizeConstraint) Specifies a constraint on the size of a part of the web request. AWS WAF uses the
This is a convenience method that creates an instance of theSize,ComparisonOperator, andFieldToMatchto build an expression in the form of "SizeComparisonOperatorsize in bytes ofFieldToMatch". If that expression is true, theSizeConstraintis considered to match.SizeConstraint.Builderavoiding the need to create one manually viaSizeConstraint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosizeConstraint(SizeConstraint).- Parameters:
sizeConstraint- a consumer that will call methods onSizeConstraint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-