Package com.datadog.api.client.v2.model
Class ProductAnalyticsCompute
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsCompute
extends Object
A compute rule for aggregating data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(String aggregation) booleanReturn true if this ProductAnalyticsCompute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The aggregation function (count, cardinality, avg, sum, min, max, etc.).Time bucket size in milliseconds.The metric to aggregate on.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(String aggregation) voidsetInterval(Long interval) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
-
Constructor Details
-
ProductAnalyticsCompute
public ProductAnalyticsCompute() -
ProductAnalyticsCompute
-
-
Method Details
-
aggregation
-
getAggregation
The aggregation function (count, cardinality, avg, sum, min, max, etc.).- Returns:
- aggregation
-
setAggregation
-
interval
-
getInterval
Time bucket size in milliseconds. Required for timeseries queries; ignored by the scalar endpoint, which returns a single value.- Returns:
- interval
-
setInterval
-
metric
-
getMetric
The metric to aggregate on. Required for non-count aggregations.- Returns:
- metric
-
setMetric
-
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:
- ProductAnalyticsCompute
-
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 ProductAnalyticsCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-