Class OwaspCrsExclusionEntry
- java.lang.Object
-
- com.azure.resourcemanager.network.models.OwaspCrsExclusionEntry
-
public final class OwaspCrsExclusionEntry extends Object
Allow to exclude some variable satisfy the condition for the WAF check.
-
-
Constructor Summary
Constructors Constructor Description OwaspCrsExclusionEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExclusionManagedRuleSet>exclusionManagedRuleSets()Get the exclusionManagedRuleSets property: The managed rule sets that are associated with the exclusion.OwaspCrsExclusionEntryMatchVariablematchVariable()Get the matchVariable property: The variable to be excluded.Stringselector()Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.OwaspCrsExclusionEntrySelectorMatchOperatorselectorMatchOperator()Get the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.voidvalidate()Validates the instance.OwaspCrsExclusionEntrywithExclusionManagedRuleSets(List<ExclusionManagedRuleSet> exclusionManagedRuleSets)Set the exclusionManagedRuleSets property: The managed rule sets that are associated with the exclusion.OwaspCrsExclusionEntrywithMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)Set the matchVariable property: The variable to be excluded.OwaspCrsExclusionEntrywithSelector(String selector)Set the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.OwaspCrsExclusionEntrywithSelectorMatchOperator(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.
-
-
-
Method Detail
-
matchVariable
public OwaspCrsExclusionEntryMatchVariable matchVariable()
Get the matchVariable property: The variable to be excluded.- Returns:
- the matchVariable value.
-
withMatchVariable
public OwaspCrsExclusionEntry withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)
Set the matchVariable property: The variable to be excluded.- Parameters:
matchVariable- the matchVariable value to set.- Returns:
- the OwaspCrsExclusionEntry object itself.
-
selectorMatchOperator
public 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.- Returns:
- the selectorMatchOperator value.
-
withSelectorMatchOperator
public 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.- Parameters:
selectorMatchOperator- the selectorMatchOperator value to set.- Returns:
- the OwaspCrsExclusionEntry object itself.
-
selector
public String selector()
Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.- Returns:
- the selector value.
-
withSelector
public 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.- Parameters:
selector- the selector value to set.- Returns:
- the OwaspCrsExclusionEntry object itself.
-
exclusionManagedRuleSets
public List<ExclusionManagedRuleSet> exclusionManagedRuleSets()
Get the exclusionManagedRuleSets property: The managed rule sets that are associated with the exclusion.- Returns:
- the exclusionManagedRuleSets value.
-
withExclusionManagedRuleSets
public OwaspCrsExclusionEntry withExclusionManagedRuleSets(List<ExclusionManagedRuleSet> exclusionManagedRuleSets)
Set the exclusionManagedRuleSets property: The managed rule sets that are associated with the exclusion.- Parameters:
exclusionManagedRuleSets- the exclusionManagedRuleSets value to set.- Returns:
- the OwaspCrsExclusionEntry object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-