Class CfnSizeConstraintSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.waf.CfnSizeConstraintSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSizeConstraintSetMixinProps>
- Enclosing interface:
CfnSizeConstraintSetMixinProps
@Stability(Stable)
public static final class CfnSizeConstraintSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSizeConstraintSetMixinProps>
A builder for
CfnSizeConstraintSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSizeConstraintSetMixinProps.getName()sizeConstraints(List<? extends Object> sizeConstraints) Sets the value ofCfnSizeConstraintSetMixinProps.getSizeConstraints()sizeConstraints(IResolvable sizeConstraints) Sets the value ofCfnSizeConstraintSetMixinProps.getSizeConstraints()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnSizeConstraintSetMixinProps.getName()- Parameters:
name- The name, if any, of theSizeConstraintSet.- Returns:
this
-
sizeConstraints
@Stability(Stable) public CfnSizeConstraintSetMixinProps.Builder sizeConstraints(IResolvable sizeConstraints) Sets the value ofCfnSizeConstraintSetMixinProps.getSizeConstraints()- Parameters:
sizeConstraints- The size constraint and the part of the web request to check.- Returns:
this
-
sizeConstraints
@Stability(Stable) public CfnSizeConstraintSetMixinProps.Builder sizeConstraints(List<? extends Object> sizeConstraints) Sets the value ofCfnSizeConstraintSetMixinProps.getSizeConstraints()- Parameters:
sizeConstraints- The size constraint and the part of the web request to check.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSizeConstraintSetMixinProps>- Returns:
- a new instance of
CfnSizeConstraintSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-