public final class OwaspCrsExclusionEntry extends Object
| Constructor and Description |
|---|
OwaspCrsExclusionEntry() |
| Modifier and Type | Method and Description |
|---|---|
OwaspCrsExclusionEntryMatchVariable |
matchVariable()
Get the matchVariable property: The variable to be excluded.
|
String |
selector()
Get the selector property: When matchVariable is a collection, operator used to specify which elements in the
collection this exclusion applies to.
|
OwaspCrsExclusionEntrySelectorMatchOperator |
selectorMatchOperator()
Get the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify
which elements in the collection this exclusion applies to.
|
void |
validate()
Validates the instance.
|
OwaspCrsExclusionEntry |
withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)
Set the matchVariable property: The variable to be excluded.
|
OwaspCrsExclusionEntry |
withSelector(String selector)
Set the selector property: When matchVariable is a collection, operator used to specify which elements in the
collection this exclusion applies to.
|
OwaspCrsExclusionEntry |
withSelectorMatchOperator(OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator)
Set the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify
which elements in the collection this exclusion applies to.
|
public OwaspCrsExclusionEntryMatchVariable matchVariable()
public OwaspCrsExclusionEntry withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)
matchVariable - the matchVariable value to set.public OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator()
public OwaspCrsExclusionEntry withSelectorMatchOperator(OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator)
selectorMatchOperator - the selectorMatchOperator value to set.public String selector()
public OwaspCrsExclusionEntry withSelector(String selector)
selector - the selector value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.