Package com.datadog.api.client.v2.model
Class LogsCompute
java.lang.Object
com.datadog.api.client.v2.model.LogsCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsCompute
extends Object
A compute rule to compute metrics or timeseries
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(LogsAggregationFunction aggregation) booleanReturn true if this LogsCompute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An aggregation functionThe time buckets' size (only used for type=timeseries) Defaults to a resolution of 150 pointsThe metric to usegetType()The type of computeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(LogsAggregationFunction aggregation) voidsetInterval(String interval) voidvoidsetType(LogsComputeType type) toString()type(LogsComputeType 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
-
LogsCompute
public LogsCompute() -
LogsCompute
-
-
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:
- LogsCompute
-
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 LogsCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-