Class CfnByteMatchSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.waf.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 SummaryConstructors
- 
Method SummaryModifier 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- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nameSets the value ofCfnByteMatchSetProps.getName()- Parameters:
- name- The name of the- ByteMatchSet. This parameter is required. You can't change- Nameafter you create a- ByteMatchSet.
- Returns:
- this
 
- 
byteMatchTuplesSets 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
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnByteMatchSetProps>
- Returns:
- a new instance of CfnByteMatchSetProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-