Class ApplicationSecurityWafCustomRuleTags

java.lang.Object
com.datadog.api.client.v2.model.ApplicationSecurityWafCustomRuleTags

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ApplicationSecurityWafCustomRuleTags extends Object
Tags associated with the WAF Custom Rule. The concatenation of category and type will form the security activity field associated with the traces.
  • Field Details

  • Constructor Details

  • Method Details

    • category

    • getCategory

      The category of the WAF Rule, can be either business_logic, attack_attempt or security_response.
      Returns:
      category
    • setCategory

      public void setCategory(ApplicationSecurityWafCustomRuleTagsCategory category)
    • type

    • getType

      public String getType()
      The type of the WAF rule, associated with the category will form the security activity.
      Returns:
      type
    • setType

      public void setType(String type)
    • putAdditionalProperty

      public ApplicationSecurityWafCustomRuleTags putAdditionalProperty(String key, String 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 set
      value - The associated value
      Returns:
      ApplicationSecurityWafCustomRuleTags
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public String getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this ApplicationSecurityWafCustomRuleTags object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object