@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansAggregateSort 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 |
|---|
SpansAggregateSort() |
| Modifier and Type | Method and Description |
|---|---|
SpansAggregateSort |
aggregation(SpansAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this SpansAggregateSort 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.
|
SpansAggregationFunction |
getAggregation()
An aggregation function.
|
String |
getMetric()
The metric to sort by (only used for
type=measure). |
SpansSortOrder |
getOrder()
The order to use, ascending or descending.
|
SpansAggregateSortType |
getType()
The type of sorting algorithm.
|
int |
hashCode() |
SpansAggregateSort |
metric(String metric) |
SpansAggregateSort |
order(SpansSortOrder order) |
SpansAggregateSort |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(SpansAggregationFunction aggregation) |
void |
setMetric(String metric) |
void |
setOrder(SpansSortOrder order) |
void |
setType(SpansAggregateSortType type) |
String |
toString() |
SpansAggregateSort |
type(SpansAggregateSortType 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 SpansAggregateSort aggregation(SpansAggregationFunction aggregation)
@Nullable public SpansAggregationFunction getAggregation()
public void setAggregation(SpansAggregationFunction aggregation)
public SpansAggregateSort metric(String metric)
@Nullable public String getMetric()
type=measure).public void setMetric(String metric)
public SpansAggregateSort order(SpansSortOrder order)
@Nullable public SpansSortOrder getOrder()
public void setOrder(SpansSortOrder order)
public SpansAggregateSort type(SpansAggregateSortType type)
@Nullable public SpansAggregateSortType getType()
public void setType(SpansAggregateSortType type)
public SpansAggregateSort 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.