Class SizeConstraintSetReference.Builder
java.lang.Object
software.amazon.awscdk.services.waf.SizeConstraintSetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SizeConstraintSetReference>
- Enclosing interface:
SizeConstraintSetReference
@Stability(Stable)
public static final class SizeConstraintSetReference.Builder
extends Object
implements software.amazon.jsii.Builder<SizeConstraintSetReference>
A builder for
SizeConstraintSetReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sizeConstraintSetId
(String sizeConstraintSetId) Sets the value ofSizeConstraintSetReference.getSizeConstraintSetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sizeConstraintSetId
@Stability(Stable) public SizeConstraintSetReference.Builder sizeConstraintSetId(String sizeConstraintSetId) Sets the value ofSizeConstraintSetReference.getSizeConstraintSetId()
- Parameters:
sizeConstraintSetId
- The Id of the SizeConstraintSet resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SizeConstraintSetReference>
- Returns:
- a new instance of
SizeConstraintSetReference
- Throws:
NullPointerException
- if any required attribute was not provided
-