Class CIAppTestsGroupBy

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

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

  • Constructor Details

    • CIAppTestsGroupBy

      public CIAppTestsGroupBy()
    • CIAppTestsGroupBy

      public CIAppTestsGroupBy(String facet)
  • Method Details

    • facet

      public CIAppTestsGroupBy 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 CIAppTestsGroupBy histogram(CIAppGroupByHistogram histogram)
    • getHistogram

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

      public void setHistogram(CIAppGroupByHistogram histogram)
    • limit

      public CIAppTestsGroupBy 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 CIAppTestsGroupBy missing(CIAppGroupByMissing missing)
    • getMissing

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

      public void setMissing(CIAppGroupByMissing missing)
    • sort

    • getSort

      @Nullable public CIAppAggregateSort getSort()
      A sort rule. The aggregation field is required when type is measure.
      Returns:
      sort
    • setSort

      public void setSort(CIAppAggregateSort sort)
    • total

      public CIAppTestsGroupBy total(CIAppGroupByTotal total)
    • getTotal

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

      public void setTotal(CIAppGroupByTotal total)
    • putAdditionalProperty

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