Package com.datadog.api.client.v2.model
Class RUMCompute
java.lang.Object
com.datadog.api.client.v2.model.RUMCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RUMCompute
extends Object
A compute rule to compute metrics or timeseries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(RUMAggregationFunction aggregation) booleanReturn true if this RUMCompute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An aggregation function.The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points.The metric to use.getType()The type of compute.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(RUMAggregationFunction aggregation) voidsetInterval(String interval) voidvoidsetType(RUMComputeType type) toString()type(RUMComputeType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
RUMCompute
public RUMCompute() -
RUMCompute
-
-
Method Details
-
aggregation
-
getAggregation
An aggregation function.- Returns:
- aggregation
-
setAggregation
-
interval
-
getInterval
The time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 points.- Returns:
- interval
-
setInterval
-
metric
-
getMetric
The metric to use.- Returns:
- metric
-
setMetric
-
type
-
getType
The type of compute.- Returns:
- type
-
setType
-
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:
- RUMCompute
-
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 RUMCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-