Class EventsGroupBy

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EventsGroupBy extends Object
A dimension on which to split a query's results.
  • Field Details

  • Constructor Details

    • EventsGroupBy

      public EventsGroupBy()
    • EventsGroupBy

      public EventsGroupBy(String facet)
  • Method Details

    • facet

      public EventsGroupBy facet(String facet)
    • getFacet

      public String getFacet()
      The facet by which to split groups.
      Returns:
      facet
    • setFacet

      public void setFacet(String facet)
    • limit

      public EventsGroupBy limit(Integer limit)
    • getLimit

      @Nullable public Integer getLimit()
      The maximum buckets to return for this group by. Note: at most 10000 buckets are allowed. If grouping by multiple facets, the product of limits must not exceed 10000. maximum: 10000
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
    • sort

      public EventsGroupBy sort(EventsGroupBySort sort)
    • getSort

      @Nullable public EventsGroupBySort getSort()
      The dimension by which to sort a query's results.
      Returns:
      sort
    • setSort

      public void setSort(EventsGroupBySort sort)
    • putAdditionalProperty

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