Interface SizeConstraintSetUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>,SdkBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>,SdkPojo
- Enclosing class:
- SizeConstraintSetUpdate
public static interface SizeConstraintSetUpdate.Builder extends SdkPojo, CopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SizeConstraintSetUpdate.Builderaction(String action)SizeConstraintSetUpdate.Builderaction(ChangeAction action)default SizeConstraintSetUpdate.BuildersizeConstraint(Consumer<SizeConstraint.Builder> sizeConstraint)Specifies a constraint on the size of a part of the web request.SizeConstraintSetUpdate.BuildersizeConstraint(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
action
SizeConstraintSetUpdate.Builder action(String 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:
ChangeAction,ChangeAction
-
action
SizeConstraintSetUpdate.Builder action(ChangeAction 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:
ChangeAction,ChangeAction
-
sizeConstraint
SizeConstraintSetUpdate.Builder sizeConstraint(SizeConstraint 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:
sizeConstraint(SizeConstraint)
-
-