@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RUMAggregateSort extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_METRIC |
static String |
JSON_PROPERTY_ORDER |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RUMAggregateSort() |
| Modifier and Type | Method and Description |
|---|---|
RUMAggregateSort |
aggregation(RUMAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this RUMAggregateSort object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
RUMAggregationFunction |
getAggregation()
An aggregation function.
|
String |
getMetric()
The metric to sort by (only used for
type=measure). |
RUMSortOrder |
getOrder()
The order to use, ascending or descending.
|
RUMAggregateSortType |
getType()
The type of sorting algorithm.
|
int |
hashCode() |
RUMAggregateSort |
metric(String metric) |
RUMAggregateSort |
order(RUMSortOrder order) |
RUMAggregateSort |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(RUMAggregationFunction aggregation) |
void |
setMetric(String metric) |
void |
setOrder(RUMSortOrder order) |
void |
setType(RUMAggregateSortType type) |
String |
toString() |
RUMAggregateSort |
type(RUMAggregateSortType type) |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_ORDER
public static final String JSON_PROPERTY_TYPE
public RUMAggregateSort aggregation(RUMAggregationFunction aggregation)
@Nullable public RUMAggregationFunction getAggregation()
public void setAggregation(RUMAggregationFunction aggregation)
public RUMAggregateSort metric(String metric)
@Nullable public String getMetric()
type=measure).public void setMetric(String metric)
public RUMAggregateSort order(RUMSortOrder order)
@Nullable public RUMSortOrder getOrder()
public void setOrder(RUMSortOrder order)
public RUMAggregateSort type(RUMAggregateSortType type)
@Nullable public RUMAggregateSortType getType()
public void setType(RUMAggregateSortType type)
public RUMAggregateSort 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.