@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProductAnalyticsRetentionCompute extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AGGREGATION |
static String |
JSON_PROPERTY_METRIC |
boolean |
unparsed |
| Constructor and Description |
|---|
ProductAnalyticsRetentionCompute() |
ProductAnalyticsRetentionCompute(String aggregation,
ProductAnalyticsRetentionComputeMetric metric) |
| Modifier and Type | Method and Description |
|---|---|
ProductAnalyticsRetentionCompute |
aggregation(String aggregation) |
boolean |
equals(Object o)
Return true if this ProductAnalyticsRetentionCompute 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 applied to the metric, such as
count or avg. |
ProductAnalyticsRetentionComputeMetric |
getMetric()
The retention metric to compute, either an absolute count or a rate.
|
int |
hashCode() |
ProductAnalyticsRetentionCompute |
metric(ProductAnalyticsRetentionComputeMetric metric) |
ProductAnalyticsRetentionCompute |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAggregation(String aggregation) |
void |
setMetric(ProductAnalyticsRetentionComputeMetric metric) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AGGREGATION
public static final String JSON_PROPERTY_METRIC
public ProductAnalyticsRetentionCompute()
public ProductAnalyticsRetentionCompute(String aggregation, ProductAnalyticsRetentionComputeMetric metric)
public ProductAnalyticsRetentionCompute aggregation(String aggregation)
public String getAggregation()
count or avg.public void setAggregation(String aggregation)
public ProductAnalyticsRetentionCompute metric(ProductAnalyticsRetentionComputeMetric metric)
public ProductAnalyticsRetentionComputeMetric getMetric()
public void setMetric(ProductAnalyticsRetentionComputeMetric metric)
public ProductAnalyticsRetentionCompute 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.