@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_METRIC |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SpansCompute() |
SpansCompute(SpansAggregationFunction aggregation) |
| Modifier and Type | Method and Description |
|---|---|
SpansCompute |
aggregation(SpansAggregationFunction aggregation) |
boolean |
equals(Object o)
Return true if this SpansCompute 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 |
getInterval()
The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points.
|
String |
getMetric()
The metric to use.
|
SpansComputeType |
getType()
The type of compute.
|
int |
hashCode() |
SpansCompute |
interval(String interval) |
SpansCompute |
metric(String metric) |
SpansCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(SpansAggregationFunction aggregation) |
void |
setInterval(String interval) |
void |
setMetric(String metric) |
void |
setType(SpansComputeType type) |
String |
toString() |
SpansCompute |
type(SpansComputeType type) |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_TYPE
public SpansCompute()
public SpansCompute(SpansAggregationFunction aggregation)
public SpansCompute aggregation(SpansAggregationFunction aggregation)
public SpansAggregationFunction getAggregation()
public void setAggregation(SpansAggregationFunction aggregation)
public SpansCompute interval(String interval)
@Nullable public String getInterval()
public void setInterval(String interval)
public SpansCompute metric(String metric)
@Nullable public String getMetric()
public void setMetric(String metric)
public SpansCompute type(SpansComputeType type)
@Nullable public SpansComputeType getType()
public void setType(SpansComputeType type)
public SpansCompute 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.