Package com.datadog.api.client.v2.model
Class SpansMetricCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.SpansMetricCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SpansMetricCreateAttributes
extends Object
The object describing the Datadog span-based metric to create.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(SpansMetricGroupBy groupByItem) compute(SpansMetricCompute compute) booleanReturn true if this SpansMetricCreateAttributes object is equal to o.filter(SpansMetricFilter filter) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The compute rule to compute the span-based metric.The span-based metric filter.The rules for the group by.groupBy(List<SpansMetricGroupBy> groupBy) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompute(SpansMetricCompute compute) voidsetFilter(SpansMetricFilter filter) voidsetGroupBy(List<SpansMetricGroupBy> groupBy) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPUTE
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
-
Constructor Details
-
SpansMetricCreateAttributes
public SpansMetricCreateAttributes() -
SpansMetricCreateAttributes
-
-
Method Details
-
compute
-
getCompute
The compute rule to compute the span-based metric.- Returns:
- compute
-
setCompute
-
filter
-
getFilter
The span-based metric filter. Spans matching this filter will be aggregated in this metric.- Returns:
- filter
-
setFilter
-
groupBy
-
addGroupByItem
-
getGroupBy
The rules for the group by.- Returns:
- groupBy
-
setGroupBy
-
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:
- SpansMetricCreateAttributes
-
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 SpansMetricCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-