Package com.datadog.api.client.v2.model
Class RumMetricCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.RumMetricCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumMetricCreateAttributes
extends Object
The object describing the Datadog RUM-based metric to create.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRumMetricCreateAttributes(RumMetricCompute compute, RumMetricEventType eventType) -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(RumMetricGroupBy groupByItem) compute(RumMetricCompute compute) booleanReturn true if this RumMetricCreateAttributes object is equal to o.eventType(RumMetricEventType eventType) filter(RumMetricFilter filter) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The compute rule to compute the RUM-based metric.The type of RUM events to filter on.The RUM-based metric filter.The rules for the group by.The rule to count updatable events.groupBy(List<RumMetricGroupBy> groupBy) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCompute(RumMetricCompute compute) voidsetEventType(RumMetricEventType eventType) voidsetFilter(RumMetricFilter filter) voidsetGroupBy(List<RumMetricGroupBy> groupBy) voidsetUniqueness(RumMetricUniqueness uniqueness) toString()uniqueness(RumMetricUniqueness uniqueness)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPUTE
- See Also:
-
JSON_PROPERTY_EVENT_TYPE
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_UNIQUENESS
- See Also:
-
-
Constructor Details
-
RumMetricCreateAttributes
public RumMetricCreateAttributes() -
RumMetricCreateAttributes
-
-
Method Details
-
compute
-
getCompute
The compute rule to compute the RUM-based metric.- Returns:
- compute
-
setCompute
-
eventType
-
getEventType
The type of RUM events to filter on.- Returns:
- eventType
-
setEventType
-
filter
-
getFilter
The RUM-based metric filter. Events matching this filter will be aggregated in this metric.- Returns:
- filter
-
setFilter
-
groupBy
-
addGroupByItem
-
getGroupBy
The rules for the group by.- Returns:
- groupBy
-
setGroupBy
-
uniqueness
-
getUniqueness
The rule to count updatable events. Is only set ifevent_typeissessionsorviews.- Returns:
- uniqueness
-
setUniqueness
-
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:
- RumMetricCreateAttributes
-
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 RumMetricCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-