Package com.datadog.api.client.v2.model
Class RetentionFilterUpdateAttributes
java.lang.Object
com.datadog.api.client.v2.model.RetentionFilterUpdateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RetentionFilterUpdateAttributes
extends Object
The object describing the configuration of the retention filter to create/update.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRetentionFilterUpdateAttributes(Boolean enabled, SpansFilterCreate filter, RetentionFilterAllType filterType, String name, Double rate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this RetentionFilterUpdateAttributes object is equal to o.filter(SpansFilterCreate filter) filterType(RetentionFilterAllType filterType) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Enable/Disable the retention filter.The spans filter.The type of retention filter.getName()The name of the retention filter.getRate()Sample rate to apply to spans going through this retention filter.Sample rate to apply to traces containing spans going through this retention filter.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEnabled(Boolean enabled) voidsetFilter(SpansFilterCreate filter) voidsetFilterType(RetentionFilterAllType filterType) voidvoidvoidsetTraceRate(Double traceRate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_FILTER_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RATE
- See Also:
-
JSON_PROPERTY_TRACE_RATE
- See Also:
-
-
Constructor Details
-
RetentionFilterUpdateAttributes
public RetentionFilterUpdateAttributes() -
RetentionFilterUpdateAttributes
public RetentionFilterUpdateAttributes(Boolean enabled, SpansFilterCreate filter, RetentionFilterAllType filterType, String name, Double rate)
-
-
Method Details
-
enabled
-
getEnabled
Enable/Disable the retention filter.- Returns:
- enabled
-
setEnabled
-
filter
-
getFilter
The spans filter. Spans matching this filter will be indexed and stored.- Returns:
- filter
-
setFilter
-
filterType
-
getFilterType
The type of retention filter.- Returns:
- filterType
-
setFilterType
-
name
-
getName
The name of the retention filter.- Returns:
- name
-
setName
-
rate
-
getRate
Sample rate to apply to spans going through this retention filter. A value of 1.0 keeps all spans matching the query.- Returns:
- rate
-
setRate
-
traceRate
-
getTraceRate
Sample rate to apply to traces containing spans going through this retention filter. A value of 1.0 keeps all traces with spans matching the query.- Returns:
- traceRate
-
setTraceRate
-
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:
- RetentionFilterUpdateAttributes
-
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 RetentionFilterUpdateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-