Class CfnSizeConstraintSetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.waf.CfnSizeConstraintSetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSizeConstraintSetPropsMixin>
- Enclosing class:
CfnSizeConstraintSetPropsMixin
@Stability(Stable)
public static final class CfnSizeConstraintSetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSizeConstraintSetPropsMixin>
A fluent builder for
CfnSizeConstraintSetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The 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 CfnSizeConstraintSetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSizeConstraintSetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSizeConstraintSetPropsMixin.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
@Stability(Stable) public CfnSizeConstraintSetPropsMixin.Builder sizeConstraints(IResolvable 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 CfnSizeConstraintSetPropsMixin.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<CfnSizeConstraintSetPropsMixin>- Returns:
- a newly built instance of
CfnSizeConstraintSetPropsMixin.
-