Class CfnByteMatchSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.waf.CfnByteMatchSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnByteMatchSetMixinProps>
- Enclosing interface:
CfnByteMatchSetMixinProps
@Stability(Stable)
public static final class CfnByteMatchSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnByteMatchSetMixinProps>
A builder for
CfnByteMatchSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.byteMatchTuples(List<? extends Object> byteMatchTuples) Sets the value ofCfnByteMatchSetMixinProps.getByteMatchTuples()byteMatchTuples(IResolvable byteMatchTuples) Sets the value ofCfnByteMatchSetMixinProps.getByteMatchTuples()Sets the value ofCfnByteMatchSetMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
byteMatchTuples
@Stability(Stable) public CfnByteMatchSetMixinProps.Builder byteMatchTuples(IResolvable byteMatchTuples) Sets the value ofCfnByteMatchSetMixinProps.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 CfnByteMatchSetMixinProps.Builder byteMatchTuples(List<? extends Object> byteMatchTuples) Sets the value ofCfnByteMatchSetMixinProps.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
-
name
Sets the value ofCfnByteMatchSetMixinProps.getName()- Parameters:
name- The name of theByteMatchSet. You can't changeNameafter you create aByteMatchSet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnByteMatchSetMixinProps>- Returns:
- a new instance of
CfnByteMatchSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-