Package com.datadog.api.client.v2.model
Class RetentionFilterAllAttributes
java.lang.Object
com.datadog.api.client.v2.model.RetentionFilterAllAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RetentionFilterAllAttributes
extends Object
The attributes of the retention filter.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this RetentionFilterAllAttributes object is equal to o.executionOrder(Long executionOrder) filter(SpansFilter filter) filterType(RetentionFilterAllType filterType) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The creation timestamp of the retention filter.The creator of the retention filter.Shows whether the filter can be edited.The status of the retention filter (Enabled/Disabled).The execution order of the retention filter.The spans filter used to index spans.The type of retention filter.The modification timestamp of the retention filter.The modifier of the 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()modifiedAt(Long modifiedAt) modifiedBy(String modifiedBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(Long createdAt) voidsetCreatedBy(String createdBy) voidsetEditable(Boolean editable) voidsetEnabled(Boolean enabled) voidsetExecutionOrder(Long executionOrder) voidsetFilter(SpansFilter filter) voidsetFilterType(RetentionFilterAllType filterType) voidsetModifiedAt(Long modifiedAt) voidsetModifiedBy(String modifiedBy) voidvoidvoidsetTraceRate(Double traceRate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_EDITABLE
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EXECUTION_ORDER
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_FILTER_TYPE
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_BY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RATE
- See Also:
-
JSON_PROPERTY_TRACE_RATE
- See Also:
-
-
Constructor Details
-
RetentionFilterAllAttributes
public RetentionFilterAllAttributes()
-
-
Method Details
-
createdAt
-
getCreatedAt
The creation timestamp of the retention filter.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The creator of the retention filter.- Returns:
- createdBy
-
setCreatedBy
-
editable
-
getEditable
Shows whether the filter can be edited.- Returns:
- editable
-
setEditable
-
enabled
-
getEnabled
The status of the retention filter (Enabled/Disabled).- Returns:
- enabled
-
setEnabled
-
executionOrder
-
getExecutionOrder
The execution order of the retention filter.- Returns:
- executionOrder
-
setExecutionOrder
-
filter
-
getFilter
The spans filter used to index spans.- Returns:
- filter
-
setFilter
-
filterType
-
getFilterType
The type of retention filter.- Returns:
- filterType
-
setFilterType
-
modifiedAt
-
getModifiedAt
The modification timestamp of the retention filter.- Returns:
- modifiedAt
-
setModifiedAt
-
modifiedBy
-
getModifiedBy
The modifier of the retention filter.- Returns:
- modifiedBy
-
setModifiedBy
-
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:
- RetentionFilterAllAttributes
-
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 RetentionFilterAllAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-