public static final class CfnRuleGroup.HeaderMatchPatternProperty.Builder
extends java.lang.Object
CfnRuleGroup.HeaderMatchPatternProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRuleGroup.HeaderMatchPatternProperty.Builder |
all(java.lang.Object all)
Sets the value of
CfnRuleGroup.HeaderMatchPatternProperty.getAll() |
CfnRuleGroup.HeaderMatchPatternProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.HeaderMatchPatternProperty.Builder |
excludedHeaders(java.util.List<java.lang.String> excludedHeaders)
Sets the value of
CfnRuleGroup.HeaderMatchPatternProperty.getExcludedHeaders() |
CfnRuleGroup.HeaderMatchPatternProperty.Builder |
includedHeaders(java.util.List<java.lang.String> includedHeaders)
Sets the value of
CfnRuleGroup.HeaderMatchPatternProperty.getIncludedHeaders() |
public CfnRuleGroup.HeaderMatchPatternProperty.Builder all(java.lang.Object all)
CfnRuleGroup.HeaderMatchPatternProperty.getAll()
all
- Inspect all headers.this
public CfnRuleGroup.HeaderMatchPatternProperty.Builder excludedHeaders(java.util.List<java.lang.String> excludedHeaders)
CfnRuleGroup.HeaderMatchPatternProperty.getExcludedHeaders()
excludedHeaders
- Inspect only the headers whose keys don't match any of the strings specified here.this
public CfnRuleGroup.HeaderMatchPatternProperty.Builder includedHeaders(java.util.List<java.lang.String> includedHeaders)
CfnRuleGroup.HeaderMatchPatternProperty.getIncludedHeaders()
includedHeaders
- Inspect only the headers that have a key that matches one of the strings specified here.this
public CfnRuleGroup.HeaderMatchPatternProperty build()
CfnRuleGroup.HeaderMatchPatternProperty
java.lang.NullPointerException
- if any required attribute was not provided