Package com.datadog.api.client.v2.model
Class CIAppCompute
java.lang.Object
com.datadog.api.client.v2.model.CIAppCompute
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CIAppCompute
extends Object
A compute rule to compute metrics or timeseries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(CIAppAggregationFunction aggregation) booleanReturn true if this CIAppCompute 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(CIAppAggregationFunction aggregation) voidsetInterval(String interval) voidvoidsetType(CIAppComputeType type) toString()type(CIAppComputeType 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
-
CIAppCompute
public CIAppCompute() -
CIAppCompute
-
-
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:
- CIAppCompute
-
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 CIAppCompute object is equal to o. -
hashCode
public int hashCode() -
toString
-