Class DataProjectionQuery

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DataProjectionQuery extends Object
Query configuration for a data projection request.
  • Field Details

  • Constructor Details

    • DataProjectionQuery

      public DataProjectionQuery()
    • DataProjectionQuery

      public DataProjectionQuery(String dataSource, String queryString)
  • Method Details

    • dataSource

      public DataProjectionQuery dataSource(String dataSource)
    • getDataSource

      public String getDataSource()
      Data source for the query.
      Returns:
      dataSource
    • setDataSource

      public void setDataSource(String dataSource)
    • indexes

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

      public DataProjectionQuery addIndexesItem(String indexesItem)
    • getIndexes

      @Nullable public List<String> getIndexes()
      List of indexes to query.
      Returns:
      indexes
    • setIndexes

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

      public DataProjectionQuery queryString(String queryString)
    • getQueryString

      public String getQueryString()
      The query string to filter events.
      Returns:
      queryString
    • setQueryString

      public void setQueryString(String queryString)
    • storage

      public DataProjectionQuery storage(String storage)
    • getStorage

      @Nullable public String getStorage()
      Storage location for the query.
      Returns:
      storage
    • setStorage

      public void setStorage(String storage)
    • putAdditionalProperty

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