@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsGroupBy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FACET |
static String |
JSON_PROPERTY_HISTOGRAM |
static String |
JSON_PROPERTY_LIMIT |
static String |
JSON_PROPERTY_MISSING |
static String |
JSON_PROPERTY_SORT |
static String |
JSON_PROPERTY_TOTAL |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsGroupBy() |
LogsGroupBy(String facet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this LogsGroupBy object is equal to o.
|
LogsGroupBy |
facet(String facet) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getFacet()
The name of the facet to use (required)
|
LogsGroupByHistogram |
getHistogram()
Used to perform a histogram computation (only for measure facets).
|
Long |
getLimit()
The maximum buckets to return for this group by.
|
LogsGroupByMissing |
getMissing()
The value to use for logs that don't have the facet used to group by
|
LogsAggregateSort |
getSort()
A sort rule
|
LogsGroupByTotal |
getTotal()
A resulting object to put the given computes in over all the matching records.
|
int |
hashCode() |
LogsGroupBy |
histogram(LogsGroupByHistogram histogram) |
LogsGroupBy |
limit(Long limit) |
LogsGroupBy |
missing(LogsGroupByMissing missing) |
LogsGroupBy |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFacet(String facet) |
void |
setHistogram(LogsGroupByHistogram histogram) |
void |
setLimit(Long limit) |
void |
setMissing(LogsGroupByMissing missing) |
void |
setSort(LogsAggregateSort sort) |
void |
setTotal(LogsGroupByTotal total) |
LogsGroupBy |
sort(LogsAggregateSort sort) |
String |
toString() |
LogsGroupBy |
total(LogsGroupByTotal total) |
public boolean unparsed
public static final String JSON_PROPERTY_FACET
public static final String JSON_PROPERTY_HISTOGRAM
public static final String JSON_PROPERTY_LIMIT
public static final String JSON_PROPERTY_MISSING
public static final String JSON_PROPERTY_SORT
public static final String JSON_PROPERTY_TOTAL
public LogsGroupBy()
public LogsGroupBy(String facet)
public LogsGroupBy facet(String facet)
public String getFacet()
public void setFacet(String facet)
public LogsGroupBy histogram(LogsGroupByHistogram histogram)
@Nullable public LogsGroupByHistogram getHistogram()
public void setHistogram(LogsGroupByHistogram histogram)
public LogsGroupBy limit(Long limit)
@Nullable public Long getLimit()
public void setLimit(Long limit)
public LogsGroupBy missing(LogsGroupByMissing missing)
@Nullable public LogsGroupByMissing getMissing()
public void setMissing(LogsGroupByMissing missing)
public LogsGroupBy sort(LogsAggregateSort sort)
@Nullable public LogsAggregateSort getSort()
public void setSort(LogsAggregateSort sort)
public LogsGroupBy total(LogsGroupByTotal total)
@Nullable public LogsGroupByTotal getTotal()
public void setTotal(LogsGroupByTotal total)
public LogsGroupBy putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.