Package com.datadog.api.client.v2.model
Class EventsCompute
java.lang.Object
com.datadog.api.client.v2.model.EventsCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EventsCompute
extends Object
The instructions for what to compute for this query.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(EventsAggregation aggregation) booleanReturn true if this EventsCompute object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The type of aggregation that can be performed on events-based queries.Interval for compute in milliseconds.The "measure" attribute on which to perform the computation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(EventsAggregation 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
-
EventsCompute
public EventsCompute() -
EventsCompute
-
-
Method Details
-
aggregation
-
getAggregation
The type of aggregation that can be performed on events-based queries.- Returns:
- aggregation
-
setAggregation
-
interval
-
getInterval
Interval for compute in milliseconds.- Returns:
- interval
-
setInterval
-
metric
-
getMetric
The "measure" attribute on which to perform the computation.- 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:
- EventsCompute
-
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 EventsCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-