Package com.datadog.api.client.v2.model
Class SpansMetricResponseCompute
java.lang.Object
com.datadog.api.client.v2.model.SpansMetricResponseCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SpansMetricResponseCompute
extends Object
The compute rule to compute the span-based metric.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationType(SpansMetricComputeAggregationType aggregationType) booleanReturn true if this SpansMetricResponseCompute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The type of aggregation to use.Toggle to include or exclude percentile aggregations for distribution metrics.getPath()The path to the value the span-based metric will aggregate on (only used if the aggregation type is a "distribution").inthashCode()includePercentiles(Boolean includePercentiles) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregationType(SpansMetricComputeAggregationType aggregationType) voidsetIncludePercentiles(Boolean includePercentiles) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION_TYPE
- See Also:
-
JSON_PROPERTY_INCLUDE_PERCENTILES
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
-
Constructor Details
-
SpansMetricResponseCompute
public SpansMetricResponseCompute()
-
-
Method Details
-
aggregationType
public SpansMetricResponseCompute aggregationType(SpansMetricComputeAggregationType aggregationType) -
getAggregationType
The type of aggregation to use.- Returns:
- aggregationType
-
setAggregationType
-
includePercentiles
-
getIncludePercentiles
Toggle to include or exclude percentile aggregations for distribution metrics. Only present when theaggregation_typeisdistribution.- Returns:
- includePercentiles
-
setIncludePercentiles
-
path
-
getPath
The path to the value the span-based metric will aggregate on (only used if the aggregation type is a "distribution").- Returns:
- path
-
setPath
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SpansMetricResponseCompute
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SpansMetricResponseCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-