@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansMetricCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION_TYPE |
static String |
JSON_PROPERTY_INCLUDE_PERCENTILES |
static String |
JSON_PROPERTY_PATH |
boolean |
unparsed |
| Constructor and Description |
|---|
SpansMetricCompute() |
SpansMetricCompute(SpansMetricComputeAggregationType aggregationType) |
| Modifier and Type | Method and Description |
|---|---|
SpansMetricCompute |
aggregationType(SpansMetricComputeAggregationType aggregationType) |
boolean |
equals(Object o)
Return true if this SpansMetricCompute 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.
|
SpansMetricComputeAggregationType |
getAggregationType()
The type of aggregation to use.
|
Boolean |
getIncludePercentiles()
Toggle to include or exclude percentile aggregations for distribution metrics.
|
String |
getPath()
The path to the value the span-based metric will aggregate on (only used if the aggregation
type is a "distribution").
|
int |
hashCode() |
SpansMetricCompute |
includePercentiles(Boolean includePercentiles) |
SpansMetricCompute |
path(String path) |
SpansMetricCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregationType(SpansMetricComputeAggregationType aggregationType) |
void |
setIncludePercentiles(Boolean includePercentiles) |
void |
setPath(String path) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION_TYPE
public static final String JSON_PROPERTY_INCLUDE_PERCENTILES
public static final String JSON_PROPERTY_PATH
public SpansMetricCompute()
public SpansMetricCompute(SpansMetricComputeAggregationType aggregationType)
public SpansMetricCompute aggregationType(SpansMetricComputeAggregationType aggregationType)
public SpansMetricComputeAggregationType getAggregationType()
public void setAggregationType(SpansMetricComputeAggregationType aggregationType)
public SpansMetricCompute includePercentiles(Boolean includePercentiles)
@Nullable public Boolean getIncludePercentiles()
aggregation_type is distribution.public void setIncludePercentiles(Boolean includePercentiles)
public SpansMetricCompute path(String path)
@Nullable public String getPath()
public void setPath(String path)
public SpansMetricCompute 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.