Class CfnByteMatchSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.CfnByteMatchSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnByteMatchSetProps>
- Enclosing interface:
CfnByteMatchSetProps
@Stability(Stable)
public static final class CfnByteMatchSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnByteMatchSetProps>
A builder for
CfnByteMatchSetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.byteMatchTuples
(List<? extends Object> byteMatchTuples) Sets the value ofCfnByteMatchSetProps.getByteMatchTuples()
byteMatchTuples
(IResolvable byteMatchTuples) Sets the value ofCfnByteMatchSetProps.getByteMatchTuples()
Sets the value ofCfnByteMatchSetProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnByteMatchSetProps.getName()
- Parameters:
name
- A friendly name or description of theByteMatchSet
. This parameter is required. You can't changeName
after you create aByteMatchSet
.- Returns:
this
-
byteMatchTuples
Sets the value ofCfnByteMatchSetProps.getByteMatchTuples()
- Parameters:
byteMatchTuples
- Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.- Returns:
this
-
byteMatchTuples
@Stability(Stable) public CfnByteMatchSetProps.Builder byteMatchTuples(List<? extends Object> byteMatchTuples) Sets the value ofCfnByteMatchSetProps.getByteMatchTuples()
- Parameters:
byteMatchTuples
- Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnByteMatchSetProps>
- Returns:
- a new instance of
CfnByteMatchSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-