Package com.datadog.api.client.v2.model
Class ApplicationSecurityPolicyRuleOverride
java.lang.Object
com.datadog.api.client.v2.model.ApplicationSecurityPolicyRuleOverride
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApplicationSecurityPolicyRuleOverride
extends Object
Override WAF rule parameters for services in a policy.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationSecurityPolicyRuleOverride(Boolean blocking, Boolean enabled, String id) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ApplicationSecurityPolicyRuleOverride object is equal to o.extendedDataCollection(Boolean extendedDataCollection) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.When blocking is enabled, the rule will block the traffic matched by this rule.When false, this rule will not match any traffic.When true, collects additional data from the WAF for this rule.getId()Override the parameters for this WAF rule identifier.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBlocking(Boolean blocking) voidsetEnabled(Boolean enabled) voidsetExtendedDataCollection(Boolean extendedDataCollection) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BLOCKING
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EXTENDED_DATA_COLLECTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
-
Constructor Details
-
ApplicationSecurityPolicyRuleOverride
public ApplicationSecurityPolicyRuleOverride() -
ApplicationSecurityPolicyRuleOverride
-
-
Method Details
-
blocking
-
getBlocking
When blocking is enabled, the rule will block the traffic matched by this rule.- Returns:
- blocking
-
setBlocking
-
enabled
-
getEnabled
When false, this rule will not match any traffic.- Returns:
- enabled
-
setEnabled
-
extendedDataCollection
-
getExtendedDataCollection
When true, collects additional data from the WAF for this rule.- Returns:
- extendedDataCollection
-
setExtendedDataCollection
-
id
-
getId
Override the parameters for this WAF rule identifier.- Returns:
- id
-
setId
-
putAdditionalProperty
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:
- ApplicationSecurityPolicyRuleOverride
-
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 ApplicationSecurityPolicyRuleOverride object is equal to o. -
hashCode
public int hashCode() -
toString
-