Class EventsScalarQuery

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EventsScalarQuery extends Object
An individual scalar query for logs, RUM, traces, CI pipelines, security signals, and other event-based data sources. Use this query type for any data source powered by the Events Platform. See the data_source field for the full list of supported sources.
  • Field Details

  • Constructor Details

    • EventsScalarQuery

      public EventsScalarQuery()
    • EventsScalarQuery

      public EventsScalarQuery(EventsCompute compute, EventsDataSource dataSource)
  • Method Details

    • compute

      public EventsScalarQuery compute(EventsCompute compute)
    • getCompute

      public EventsCompute getCompute()
      The instructions for what to compute for this query.
      Returns:
      compute
    • setCompute

      public void setCompute(EventsCompute compute)
    • crossOrgUuids

      public EventsScalarQuery crossOrgUuids(List<String> crossOrgUuids)
    • addCrossOrgUuidsItem

      public EventsScalarQuery addCrossOrgUuidsItem(String crossOrgUuidsItem)
    • getCrossOrgUuids

      @Nullable public List<String> getCrossOrgUuids()
      Organization UUIDs to query when using cross-organization visibility. Limited to one organization UUID.
      Returns:
      crossOrgUuids
    • setCrossOrgUuids

      public void setCrossOrgUuids(List<String> crossOrgUuids)
    • dataSource

      public EventsScalarQuery dataSource(EventsDataSource dataSource)
    • getDataSource

      public EventsDataSource getDataSource()
      A data source that is powered by the Events Platform.
      Returns:
      dataSource
    • setDataSource

      public void setDataSource(EventsDataSource dataSource)
    • groupBy

      public EventsScalarQuery groupBy(List<EventsGroupBy> groupBy)
    • addGroupByItem

      public EventsScalarQuery addGroupByItem(EventsGroupBy groupByItem)
    • getGroupBy

      @Nullable public List<EventsGroupBy> getGroupBy()
      The list of facets on which to split results.
      Returns:
      groupBy
    • setGroupBy

      public void setGroupBy(List<EventsGroupBy> groupBy)
    • indexes

      public EventsScalarQuery indexes(List<String> indexes)
    • addIndexesItem

      public EventsScalarQuery addIndexesItem(String indexesItem)
    • getIndexes

      @Nullable public List<String> getIndexes()
      The indexes in which to search.
      Returns:
      indexes
    • setIndexes

      public void setIndexes(List<String> indexes)
    • name

      public EventsScalarQuery name(String name)
    • getName

      @Nullable public String getName()
      The variable name for use in formulas.
      Returns:
      name
    • setName

      public void setName(String name)
    • search

      public EventsScalarQuery search(EventsSearch search)
    • getSearch

      @Nullable public EventsSearch getSearch()
      Configuration of the search/filter for an events query.
      Returns:
      search
    • setSearch

      public void setSearch(EventsSearch search)
    • putAdditionalProperty

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