Package com.datadog.api.client.v2.model
Class JobDefinitionFromRule
java.lang.Object
com.datadog.api.client.v2.model.JobDefinitionFromRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class JobDefinitionFromRule
extends Object
Definition of a historical job based on a security monitoring rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNotificationsItem(String notificationsItem) booleanReturn true if this JobDefinitionFromRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Zero-based index of the rule case to use as the job's signal condition.getFrom()Starting time of data analyzed by the job.getId()ID of the detection rule used to create the job.getIndex()Index used to load the data.Notifications sent when the job is completed.getTo()Ending time of data analyzed by the job.inthashCode()notifications(List<String> notifications) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCaseIndex(Integer caseIndex) voidvoidvoidvoidsetNotifications(List<String> notifications) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CASE_INDEX
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_NOTIFICATIONS
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
JobDefinitionFromRule
public JobDefinitionFromRule() -
JobDefinitionFromRule
-
-
Method Details
-
caseIndex
-
getCaseIndex
Zero-based index of the rule case to use as the job's signal condition. When omitted, all cases are evaluated. Up to 10 cases are supported, so valid values are 0 to 9. minimum: 0 maximum: 9- Returns:
- caseIndex
-
setCaseIndex
-
from
-
getFrom
Starting time of data analyzed by the job.- Returns:
- from
-
setFrom
-
id
-
getId
ID of the detection rule used to create the job.- Returns:
- id
-
setId
-
index
-
getIndex
Index used to load the data.- Returns:
- index
-
setIndex
-
notifications
-
addNotificationsItem
-
getNotifications
Notifications sent when the job is completed.- Returns:
- notifications
-
setNotifications
-
to
-
getTo
Ending time of data analyzed by the job.- Returns:
- to
-
setTo
-
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:
- JobDefinitionFromRule
-
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 JobDefinitionFromRule object is equal to o. -
hashCode
public int hashCode() -
toString
-