Package com.datadog.api.client.v2.model
Class RumRetentionFilterAttributes
java.lang.Object
com.datadog.api.client.v2.model.RumRetentionFilterAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumRetentionFilterAttributes
extends Object
The object describing attributes of a RUM retention filter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncrossProductSampling(RumCrossProductSampling crossProductSampling) booleanReturn true if this RumRetentionFilterAttributes object is equal to o.eventType(RumRetentionFilterEventType eventType) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The configuration for cross-product retention filters.Whether the retention filter is enabled.The type of RUM events to filter on.getName()The name of a RUM retention filter.getQuery()The query string for a RUM retention filter.The sample rate for a RUM retention filter, between 0.1 and 100.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.sampleRate(Double sampleRate) voidsetCrossProductSampling(RumCrossProductSampling crossProductSampling) voidsetEnabled(Boolean enabled) voidsetEventType(RumRetentionFilterEventType eventType) voidvoidvoidsetSampleRate(Double sampleRate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CROSS_PRODUCT_SAMPLING
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EVENT_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SAMPLE_RATE
- See Also:
-
-
Constructor Details
-
RumRetentionFilterAttributes
public RumRetentionFilterAttributes()
-
-
Method Details
-
crossProductSampling
public RumRetentionFilterAttributes crossProductSampling(RumCrossProductSampling crossProductSampling) -
getCrossProductSampling
The configuration for cross-product retention filters.- Returns:
- crossProductSampling
-
setCrossProductSampling
-
enabled
-
getEnabled
Whether the retention filter is enabled.- Returns:
- enabled
-
setEnabled
-
eventType
-
getEventType
The type of RUM events to filter on.- Returns:
- eventType
-
setEventType
-
name
-
getName
The name of a RUM retention filter.- Returns:
- name
-
setName
-
query
-
getQuery
The query string for a RUM retention filter.- Returns:
- query
-
setQuery
-
sampleRate
-
getSampleRate
The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. minimum: 0.1 maximum: 100- Returns:
- sampleRate
-
setSampleRate
-
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:
- RumRetentionFilterAttributes
-
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 RumRetentionFilterAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-