Class CfnSizeConstraintSet.Builder
java.lang.Object
software.amazon.awscdk.services.waf.CfnSizeConstraintSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSizeConstraintSet>
- Enclosing class:
CfnSizeConstraintSet
@Stability(Stable)
public static final class CfnSizeConstraintSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSizeConstraintSet>
A fluent builder for
CfnSizeConstraintSet.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSizeConstraintSet.BuilderThe name, if any, of theSizeConstraintSet.sizeConstraints(List<? extends Object> sizeConstraints) The size constraint and the part of the web request to check.sizeConstraints(IResolvable sizeConstraints) The size constraint and the part of the web request to check.
-
Method Details
-
create
@Stability(Stable) public static CfnSizeConstraintSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSizeConstraintSet.Builder.
-
name
The name, if any, of theSizeConstraintSet.- Parameters:
name- The name, if any, of theSizeConstraintSet. This parameter is required.- Returns:
this- See Also:
-
sizeConstraints
The size constraint and the part of the web request to check.- Parameters:
sizeConstraints- The size constraint and the part of the web request to check. This parameter is required.- Returns:
this- See Also:
-
sizeConstraints
@Stability(Stable) public CfnSizeConstraintSet.Builder sizeConstraints(List<? extends Object> sizeConstraints) The size constraint and the part of the web request to check.- Parameters:
sizeConstraints- The size constraint and the part of the web request to check. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSizeConstraintSet>- Returns:
- a newly built instance of
CfnSizeConstraintSet.
-