Package com.datadog.api.client.v2.model
Class ApplicationSecurityWafCustomRuleConditionParameters
java.lang.Object
com.datadog.api.client.v2.model.ApplicationSecurityWafCustomRuleConditionParameters
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApplicationSecurityWafCustomRuleConditionParameters
extends Object
The scope of the WAF custom rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationSecurityWafCustomRuleConditionParameters(List<ApplicationSecurityWafCustomRuleConditionInput> inputs) -
Method Summary
Modifier and TypeMethodDescriptionaddListItem(String listItem) booleanReturn true if this ApplicationSecurityWafCustomRuleConditionParameters object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Identifier of a list of data from the denylist.List of inputs on which at least one should match with the given operator.getList()List of value to use with the condition.Options for the operator of this condition.getRegex()Regex to use with the condition.getType()The type of the value to compare against.getValue()Store the captured value in the specified tag name.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INPUTS
- See Also:
-
JSON_PROPERTY_LIST
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_REGEX
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
ApplicationSecurityWafCustomRuleConditionParameters
public ApplicationSecurityWafCustomRuleConditionParameters() -
ApplicationSecurityWafCustomRuleConditionParameters
public ApplicationSecurityWafCustomRuleConditionParameters(List<ApplicationSecurityWafCustomRuleConditionInput> inputs)
-
-
Method Details
-
data
-
getData
Identifier of a list of data from the denylist. Can only be used as substitution from the list parameter.- Returns:
- data
-
setData
-
inputs
-
addInputsItem
public ApplicationSecurityWafCustomRuleConditionParameters addInputsItem(ApplicationSecurityWafCustomRuleConditionInput inputsItem) -
getInputs
List of inputs on which at least one should match with the given operator.- Returns:
- inputs
-
setInputs
-
list
-
addListItem
-
getList
List of value to use with the condition. Only used with the phrase_match, !phrase_match, exact_match and !exact_match operator.- Returns:
- list
-
setList
-
options
public ApplicationSecurityWafCustomRuleConditionParameters options(ApplicationSecurityWafCustomRuleConditionOptions options) -
getOptions
Options for the operator of this condition.- Returns:
- options
-
setOptions
-
regex
-
getRegex
Regex to use with the condition. Only used with match_regex and !match_regex operator.- Returns:
- regex
-
setRegex
-
type
-
getType
The type of the value to compare against. Only used with the equals and !equals operator.- Returns:
- type
-
setType
-
value
-
getValue
Store the captured value in the specified tag name. Only used with the capture_data operator.- Returns:
- value
-
setValue
-
putAdditionalProperty
public ApplicationSecurityWafCustomRuleConditionParameters putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ApplicationSecurityWafCustomRuleConditionParameters
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ApplicationSecurityWafCustomRuleConditionParameters object is equal to o. -
hashCode
public int hashCode() -
toString
-