Class AutomationRuleScope

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AutomationRuleScope extends Object
Defines the scope of findings to which the automation rule applies.
  • Field Details

  • Constructor Details

    • AutomationRuleScope

      public AutomationRuleScope()
    • AutomationRuleScope

      public AutomationRuleScope(List<SecurityFindingType> findingTypes)
  • Method Details

    • findingTypes

      public AutomationRuleScope findingTypes(List<SecurityFindingType> findingTypes)
    • addFindingTypesItem

      public AutomationRuleScope addFindingTypesItem(SecurityFindingType findingTypesItem)
    • getFindingTypes

      public List<SecurityFindingType> getFindingTypes()
      The list of security finding types that the automation rule applies to.
      Returns:
      findingTypes
    • setFindingTypes

      public void setFindingTypes(List<SecurityFindingType> findingTypes)
    • query

      public AutomationRuleScope query(String query)
    • getQuery

      @Nullable public String getQuery()
      A search query to further filter the findings matched by this rule. The @workflow.* namespace and @status fields are not permitted. For a reference of available fields, see the Security Findings schema documentation.
      Returns:
      query
    • setQuery

      public void setQuery(String query)
    • putAdditionalProperty

      public AutomationRuleScope 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 set
      value - The associated value
      Returns:
      AutomationRuleScope
    • getAdditionalProperties

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

      public Object 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 AutomationRuleScope 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