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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sizeConstraintSetId
A unique identifier for a
SizeConstraintSet. You useSizeConstraintSetIdto get information about aSizeConstraintSet(see GetSizeConstraintSet), update aSizeConstraintSet(see UpdateSizeConstraintSet), insert aSizeConstraintSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSizeConstraintSetfrom AWS WAF (see DeleteSizeConstraintSet).SizeConstraintSetIdis returned by CreateSizeConstraintSet and by ListSizeConstraintSets.- Parameters:
sizeConstraintSetId- A unique identifier for aSizeConstraintSet. You useSizeConstraintSetIdto get information about aSizeConstraintSet(see GetSizeConstraintSet), update aSizeConstraintSet(see UpdateSizeConstraintSet), insert aSizeConstraintSetinto aRuleor delete one from aRule(see UpdateRule), and delete aSizeConstraintSetfrom AWS WAF (see DeleteSizeConstraintSet).SizeConstraintSetIdis 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.Builderavoiding the need to create one manually viaSizeConstraint.builder().When the
Consumercompletes,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:
-