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