@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RumRetentionFilterCreateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CROSS_PRODUCT_SAMPLING |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_EVENT_TYPE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_SAMPLE_RATE |
boolean |
unparsed |
| Constructor and Description |
|---|
RumRetentionFilterCreateAttributes() |
RumRetentionFilterCreateAttributes(RumRetentionFilterEventType eventType,
String name,
Double sampleRate) |
| Modifier and Type | Method and Description |
|---|---|
RumRetentionFilterCreateAttributes |
crossProductSampling(RumCrossProductSamplingCreate crossProductSampling) |
RumRetentionFilterCreateAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RumRetentionFilterCreateAttributes object is equal to o.
|
RumRetentionFilterCreateAttributes |
eventType(RumRetentionFilterEventType eventType) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
RumCrossProductSamplingCreate |
getCrossProductSampling()
The configuration for cross-product retention filters.
|
Boolean |
getEnabled()
Whether the retention filter is enabled.
|
RumRetentionFilterEventType |
getEventType()
The type of RUM events to filter on.
|
String |
getName()
The name of a RUM retention filter.
|
String |
getQuery()
The query string for a RUM retention filter.
|
Double |
getSampleRate()
The sample rate for a RUM retention filter, between 0.1 and 100.
|
int |
hashCode() |
RumRetentionFilterCreateAttributes |
name(String name) |
RumRetentionFilterCreateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RumRetentionFilterCreateAttributes |
query(String query) |
RumRetentionFilterCreateAttributes |
sampleRate(Double sampleRate) |
void |
setCrossProductSampling(RumCrossProductSamplingCreate crossProductSampling) |
void |
setEnabled(Boolean enabled) |
void |
setEventType(RumRetentionFilterEventType eventType) |
void |
setName(String name) |
void |
setQuery(String query) |
void |
setSampleRate(Double sampleRate) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CROSS_PRODUCT_SAMPLING
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_EVENT_TYPE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SAMPLE_RATE
public RumRetentionFilterCreateAttributes()
public RumRetentionFilterCreateAttributes(RumRetentionFilterEventType eventType, String name, Double sampleRate)
public RumRetentionFilterCreateAttributes crossProductSampling(RumCrossProductSamplingCreate crossProductSampling)
@Nullable public RumCrossProductSamplingCreate getCrossProductSampling()
public void setCrossProductSampling(RumCrossProductSamplingCreate crossProductSampling)
public RumRetentionFilterCreateAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RumRetentionFilterCreateAttributes eventType(RumRetentionFilterEventType eventType)
public RumRetentionFilterEventType getEventType()
public void setEventType(RumRetentionFilterEventType eventType)
public RumRetentionFilterCreateAttributes name(String name)
public String getName()
public void setName(String name)
public RumRetentionFilterCreateAttributes query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public RumRetentionFilterCreateAttributes sampleRate(Double sampleRate)
public Double getSampleRate()
public void setSampleRate(Double sampleRate)
public RumRetentionFilterCreateAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.