@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RetentionFilterUpdateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_FILTER |
static String |
JSON_PROPERTY_FILTER_TYPE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RATE |
boolean |
unparsed |
| Constructor and Description |
|---|
RetentionFilterUpdateAttributes() |
RetentionFilterUpdateAttributes(Boolean enabled,
SpansFilterCreate filter,
RetentionFilterAllType filterType,
String name,
Double rate) |
| Modifier and Type | Method and Description |
|---|---|
RetentionFilterUpdateAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this RetentionFilterUpdateAttributes object is equal to o.
|
RetentionFilterUpdateAttributes |
filter(SpansFilterCreate filter) |
RetentionFilterUpdateAttributes |
filterType(RetentionFilterAllType filterType) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getEnabled()
Enable/Disable the retention filter.
|
SpansFilterCreate |
getFilter()
The spans filter.
|
RetentionFilterAllType |
getFilterType()
The type of retention filter.
|
String |
getName()
The name of the retention filter.
|
Double |
getRate()
Sample rate to apply to spans going through this retention filter, a value of 1.0 keeps all
spans matching the query.
|
int |
hashCode() |
RetentionFilterUpdateAttributes |
name(String name) |
RetentionFilterUpdateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RetentionFilterUpdateAttributes |
rate(Double rate) |
void |
setEnabled(Boolean enabled) |
void |
setFilter(SpansFilterCreate filter) |
void |
setFilterType(RetentionFilterAllType filterType) |
void |
setName(String name) |
void |
setRate(Double rate) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_FILTER_TYPE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RATE
public RetentionFilterUpdateAttributes()
public RetentionFilterUpdateAttributes(Boolean enabled, SpansFilterCreate filter, RetentionFilterAllType filterType, String name, Double rate)
public RetentionFilterUpdateAttributes enabled(Boolean enabled)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public RetentionFilterUpdateAttributes filter(SpansFilterCreate filter)
public SpansFilterCreate getFilter()
public void setFilter(SpansFilterCreate filter)
public RetentionFilterUpdateAttributes filterType(RetentionFilterAllType filterType)
public RetentionFilterAllType getFilterType()
public void setFilterType(RetentionFilterAllType filterType)
public RetentionFilterUpdateAttributes name(String name)
public String getName()
public void setName(String name)
public RetentionFilterUpdateAttributes rate(Double rate)
public Double getRate()
public void setRate(Double rate)
public RetentionFilterUpdateAttributes 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 © 2024. All rights reserved.