Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFindingTypesItem(SecurityFindingType findingTypesItem) booleanReturn true if this AutomationRuleScope object is equal to o.findingTypes(List<SecurityFindingType> findingTypes) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The list of security finding types that the automation rule applies to.getQuery()A search query to further filter the findings matched by this rule.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFindingTypes(List<SecurityFindingType> findingTypes) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FINDING_TYPES
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
-
Constructor Details
-
AutomationRuleScope
public AutomationRuleScope() -
AutomationRuleScope
-
-
Method Details
-
findingTypes
-
addFindingTypesItem
-
getFindingTypes
The list of security finding types that the automation rule applies to.- Returns:
- findingTypes
-
setFindingTypes
-
query
-
getQuery
A search query to further filter the findings matched by this rule. The@workflow.*namespace and@statusfields are not permitted. For a reference of available fields, see the Security Findings schema documentation.- Returns:
- query
-
setQuery
-
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:
- AutomationRuleScope
-
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 AutomationRuleScope object is equal to o. -
hashCode
public int hashCode() -
toString
-