Class RUMGroupBy

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RUMGroupBy extends Object
A group-by rule.
  • Field Details

  • Constructor Details

    • RUMGroupBy

      public RUMGroupBy()
    • RUMGroupBy

      public RUMGroupBy(String facet)
  • Method Details

    • facet

      public RUMGroupBy facet(String facet)
    • getFacet

      public String getFacet()
      The name of the facet to use (required).
      Returns:
      facet
    • setFacet

      public void setFacet(String facet)
    • histogram

      public RUMGroupBy histogram(RUMGroupByHistogram histogram)
    • getHistogram

      @Nullable public RUMGroupByHistogram getHistogram()
      Used to perform a histogram computation (only for measure facets). Note: At most 100 buckets are allowed, the number of buckets is (max - min)/interval.
      Returns:
      histogram
    • setHistogram

      public void setHistogram(RUMGroupByHistogram histogram)
    • limit

      public RUMGroupBy limit(Long limit)
    • getLimit

      @Nullable public Long getLimit()
      The maximum buckets to return for this group-by.
      Returns:
      limit
    • setLimit

      public void setLimit(Long limit)
    • missing

      public RUMGroupBy missing(RUMGroupByMissing missing)
    • getMissing

      @Nullable public RUMGroupByMissing getMissing()
      The value to use for logs that don't have the facet used to group by.
      Returns:
      missing
    • setMissing

      public void setMissing(RUMGroupByMissing missing)
    • sort

      public RUMGroupBy sort(RUMAggregateSort sort)
    • getSort

      @Nullable public RUMAggregateSort getSort()
      A sort rule.
      Returns:
      sort
    • setSort

      public void setSort(RUMAggregateSort sort)
    • total

      public RUMGroupBy total(RUMGroupByTotal total)
    • getTotal

      @Nullable public RUMGroupByTotal getTotal()
      A resulting object to put the given computes in over all the matching records.
      Returns:
      total
    • setTotal

      public void setTotal(RUMGroupByTotal total)
    • putAdditionalProperty

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