public static interface SizeConstraintSetUpdate.Builder extends CopyableBuilder<SizeConstraintSetUpdate.Builder,SizeConstraintSetUpdate>
| Modifier and Type | Method and Description |
|---|---|
SizeConstraintSetUpdate.Builder |
action(ChangeAction action)
|
SizeConstraintSetUpdate.Builder |
action(String action)
|
default SizeConstraintSetUpdate.Builder |
sizeConstraint(Consumer<SizeConstraint.Builder> sizeConstraint)
Specifies a constraint on the size of a part of the web request.
|
SizeConstraintSetUpdate.Builder |
sizeConstraint(SizeConstraint sizeConstraint)
Specifies a constraint on the size of a part of the web request.
|
copyapply, buildSizeConstraintSetUpdate.Builder action(String action)
Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.
action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a
SizeConstraintSet.ChangeAction,
ChangeActionSizeConstraintSetUpdate.Builder action(ChangeAction action)
Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a SizeConstraintSet.
action - Specify INSERT to add a SizeConstraintSetUpdate to a SizeConstraintSet. Use
DELETE to remove a SizeConstraintSetUpdate from a
SizeConstraintSet.ChangeAction,
ChangeActionSizeConstraintSetUpdate.Builder sizeConstraint(SizeConstraint sizeConstraint)
Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size,
ComparisonOperator, and FieldToMatch to build an expression in the form of "
Size ComparisonOperator size in bytes of FieldToMatch". If that
expression is true, the SizeConstraint is considered to match.
sizeConstraint - Specifies a constraint on the size of a part of the web request. AWS WAF uses the Size,
ComparisonOperator, and FieldToMatch to build an expression in the form of "
Size ComparisonOperator size in bytes of FieldToMatch". If that
expression is true, the SizeConstraint is considered to match.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 Size,
ComparisonOperator, and FieldToMatch to build an expression in the form of "
Size ComparisonOperator size in bytes of FieldToMatch". If that
expression is true, the SizeConstraint is considered to match.
SizeConstraint.Builder avoiding the need to
create one manually via SizeConstraint.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sizeConstraint(SizeConstraint).sizeConstraint - a consumer that will call methods on SizeConstraint.BuildersizeConstraint(SizeConstraint)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.