Interface SizeConstraintSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SizeConstraintSet.Builder,
,SizeConstraintSet> SdkBuilder<SizeConstraintSet.Builder,
,SizeConstraintSet> SdkPojo
- Enclosing class:
SizeConstraintSet
-
Method Summary
Modifier and TypeMethodDescriptionThe name, if any, of theSizeConstraintSet
.sizeConstraints
(Collection<SizeConstraint> sizeConstraints) Specifies the parts of web requests that you want to inspect the size of.sizeConstraints
(Consumer<SizeConstraint.Builder>... sizeConstraints) Specifies the parts of web requests that you want to inspect the size of.sizeConstraints
(SizeConstraint... sizeConstraints) Specifies the parts of web requests that you want to inspect the size of.sizeConstraintSetId
(String sizeConstraintSetId) A unique identifier for aSizeConstraintSet
.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 Details
-
sizeConstraintSetId
A unique identifier for a
SizeConstraintSet
. You useSizeConstraintSetId
to get information about aSizeConstraintSet
(see GetSizeConstraintSet), update aSizeConstraintSet
(see UpdateSizeConstraintSet), insert aSizeConstraintSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSizeConstraintSet
from AWS WAF (see DeleteSizeConstraintSet).SizeConstraintSetId
is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.- Parameters:
sizeConstraintSetId
- A unique identifier for aSizeConstraintSet
. You useSizeConstraintSetId
to get information about aSizeConstraintSet
(see GetSizeConstraintSet), update aSizeConstraintSet
(see UpdateSizeConstraintSet), insert aSizeConstraintSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aSizeConstraintSet
from AWS WAF (see DeleteSizeConstraintSet).SizeConstraintSetId
is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name, if any, of the
SizeConstraintSet
.- Parameters:
name
- The name, if any, of theSizeConstraintSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraints
Specifies the parts of web requests that you want to inspect the size of.
- Parameters:
sizeConstraints
- Specifies the parts of web requests that you want to inspect the size of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraints
Specifies the parts of web requests that you want to inspect the size of.
- Parameters:
sizeConstraints
- Specifies the parts of web requests that you want to inspect the size of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraints
Specifies the parts of web requests that you want to inspect the size of.
This is a convenience method that creates an instance of theSizeConstraint.Builder
avoiding the need to create one manually viaSizeConstraint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosizeConstraints(List<SizeConstraint>)
.- Parameters:
sizeConstraints
- 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:
-