Class MonitorFormulaAndFunctionDataJobsQueryDefinition

java.lang.Object
com.datadog.api.client.v1.model.MonitorFormulaAndFunctionDataJobsQueryDefinition

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonitorFormulaAndFunctionDataJobsQueryDefinition extends Object
A formula and functions data jobs query.
  • Field Details

  • Constructor Details

    • MonitorFormulaAndFunctionDataJobsQueryDefinition

      public MonitorFormulaAndFunctionDataJobsQueryDefinition()
    • MonitorFormulaAndFunctionDataJobsQueryDefinition

      public MonitorFormulaAndFunctionDataJobsQueryDefinition(String jobType, String jobsQuery, String name, String queryDialect)
  • Method Details

    • jobType

    • getJobType

      public String getJobType()
      The type of job being monitored. Valid values include: databricks.job, spark.application, airflow.dag, dbt.job, dbt.model , dbt.test, glue.job. Custom job types are supported with the custom.ol. prefix.
      Returns:
      jobType
    • setJobType

      public void setJobType(String jobType)
    • jobsQuery

    • getJobsQuery

      public String getJobsQuery()
      Filter expression used to select the jobs to monitor.
      Returns:
      jobsQuery
    • setJobsQuery

      public void setJobsQuery(String jobsQuery)
    • name

    • getName

      public String getName()
      Name of the query for use in formulas. Must be run_query.
      Returns:
      name
    • setName

      public void setName(String name)
    • queryDialect

      public MonitorFormulaAndFunctionDataJobsQueryDefinition queryDialect(String queryDialect)
    • getQueryDialect

      public String getQueryDialect()
      Query dialect for data jobs queries. Currently only metric is supported.
      Returns:
      queryDialect
    • setQueryDialect

      public void setQueryDialect(String queryDialect)
    • putAdditionalProperty

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