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 Details

  • Constructor Details

    • JobDefinitionFromRule

      public JobDefinitionFromRule()
    • JobDefinitionFromRule

      public JobDefinitionFromRule(Long from, String id, String index, Long to)
  • Method Details

    • caseIndex

      public JobDefinitionFromRule caseIndex(Integer caseIndex)
    • getCaseIndex

      @Nullable public Integer 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

      public void setCaseIndex(Integer caseIndex)
    • from

      public JobDefinitionFromRule from(Long from)
    • getFrom

      public Long getFrom()
      Starting time of data analyzed by the job.
      Returns:
      from
    • setFrom

      public void setFrom(Long from)
    • id

      public JobDefinitionFromRule id(String id)
    • getId

      public String getId()
      ID of the detection rule used to create the job.
      Returns:
      id
    • setId

      public void setId(String id)
    • index

      public JobDefinitionFromRule index(String index)
    • getIndex

      public String getIndex()
      Index used to load the data.
      Returns:
      index
    • setIndex

      public void setIndex(String index)
    • notifications

      public JobDefinitionFromRule notifications(List<String> notifications)
    • addNotificationsItem

      public JobDefinitionFromRule addNotificationsItem(String notificationsItem)
    • getNotifications

      @Nullable public List<String> getNotifications()
      Notifications sent when the job is completed.
      Returns:
      notifications
    • setNotifications

      public void setNotifications(List<String> notifications)
    • to

      public JobDefinitionFromRule to(Long to)
    • getTo

      public Long getTo()
      Ending time of data analyzed by the job.
      Returns:
      to
    • setTo

      public void setTo(Long to)
    • putAdditionalProperty

      public JobDefinitionFromRule 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:
      JobDefinitionFromRule
    • 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 JobDefinitionFromRule 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