@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RumRetentionFilterAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|
RumRetentionFilterAttributes() |
| Modifier and Type | Method and Description |
|---|---|
RumRetentionFilterAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RumRetentionFilterAttributes object is equal to o.
|
RumRetentionFilterAttributes |
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.
|
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.
|
Long |
getSampleRate()
The sample rate for a RUM retention filter, between 0 and 100.
|
int |
hashCode() |
RumRetentionFilterAttributes |
name(String name) |
RumRetentionFilterAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RumRetentionFilterAttributes |
query(String query) |
RumRetentionFilterAttributes |
sampleRate(Long sampleRate) |
void |
setEnabled(Boolean enabled) |
void |
setEventType(RumRetentionFilterEventType eventType) |
void |
setName(String name) |
void |
setQuery(String query) |
void |
setSampleRate(Long sampleRate) |
String |
toString() |
public boolean unparsed
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 RumRetentionFilterAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RumRetentionFilterAttributes eventType(RumRetentionFilterEventType eventType)
@Nullable public RumRetentionFilterEventType getEventType()
public void setEventType(RumRetentionFilterEventType eventType)
public RumRetentionFilterAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public RumRetentionFilterAttributes query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public RumRetentionFilterAttributes sampleRate(Long sampleRate)
@Nullable public Long getSampleRate()
public void setSampleRate(Long sampleRate)
public RumRetentionFilterAttributes 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 © 2025. All rights reserved.