Interface SizeConstraintSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SizeConstraintSet.Builder,SizeConstraintSet>,SdkBuilder<SizeConstraintSet.Builder,SizeConstraintSet>,SdkPojo
- Enclosing class:
- SizeConstraintSet
public static interface SizeConstraintSet.Builder extends SdkPojo, CopyableBuilder<SizeConstraintSet.Builder,SizeConstraintSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SizeConstraintSet.Buildername(String name)The name, if any, of theSizeConstraintSet.SizeConstraintSet.BuildersizeConstraints(Collection<SizeConstraint> sizeConstraints)Specifies the parts of web requests that you want to inspect the size of.SizeConstraintSet.BuildersizeConstraints(Consumer<SizeConstraint.Builder>... sizeConstraints)Specifies the parts of web requests that you want to inspect the size of.SizeConstraintSet.BuildersizeConstraints(SizeConstraint... sizeConstraints)Specifies the parts of web requests that you want to inspect the size of.SizeConstraintSet.BuildersizeConstraintSetId(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 Detail
-
sizeConstraintSetId
SizeConstraintSet.Builder sizeConstraintSetId(String 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
SizeConstraintSet.Builder name(String 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
SizeConstraintSet.Builder sizeConstraints(Collection<SizeConstraint> 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
SizeConstraintSet.Builder sizeConstraints(SizeConstraint... 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
SizeConstraintSet.Builder sizeConstraints(Consumer<SizeConstraint.Builder>... 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 to#sizeConstraints(List.) - 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:
#sizeConstraints(java.util.Collection)
-
-