@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_METRIC |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsCompute() |
ProductAnalyticsCompute(String aggregation) |
| Modifier and Type | Method and Description |
|---|---|
ProductAnalyticsCompute |
aggregation(String aggregation) |
boolean |
equals(Object o)
Return true if this ProductAnalyticsCompute 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.
|
String |
getAggregation()
The aggregation function (count, cardinality, avg, sum, min, max, etc.).
|
Long |
getInterval()
Time bucket size in milliseconds.
|
String |
getMetric()
The metric to aggregate on.
|
int |
hashCode() |
ProductAnalyticsCompute |
interval(Long interval) |
ProductAnalyticsCompute |
metric(String metric) |
ProductAnalyticsCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(String aggregation) |
void |
setInterval(Long interval) |
void |
setMetric(String metric) |
String |
toString() |
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 ProductAnalyticsCompute()
public ProductAnalyticsCompute(String aggregation)
public ProductAnalyticsCompute aggregation(String aggregation)
public String getAggregation()
public void setAggregation(String aggregation)
public ProductAnalyticsCompute interval(Long interval)
@Nullable public Long getInterval()
public void setInterval(Long interval)
public ProductAnalyticsCompute metric(String metric)
@Nullable public String getMetric()
public void setMetric(String metric)
public ProductAnalyticsCompute 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 © 2026. All rights reserved.