Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSampleProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSampleProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSampleProcessor
extends Object
The
sample processor allows probabilistic sampling of logs at a fixed rate.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineSampleProcessor(Boolean enabled, String id, String include, Double percentage, ObservabilityPipelineSampleProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(String groupByItem) displayName(String displayName) booleanReturn true if this ObservabilityPipelineSampleProcessor object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The display name for a component.Indicates whether the processor is enabled.Optional list of fields to group events by.getId()The unique identifier for this component.A Datadog search query used to determine which logs this processor targets.The percentage of logs to sample.getType()The processor type.inthashCode()percentage(Double percentage) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidsetGroupBy(List<String> groupBy) voidvoidsetInclude(String include) voidsetPercentage(Double percentage) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_PERCENTAGE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSampleProcessor
public ObservabilityPipelineSampleProcessor() -
ObservabilityPipelineSampleProcessor
public ObservabilityPipelineSampleProcessor(Boolean enabled, String id, String include, Double percentage, ObservabilityPipelineSampleProcessorType type)
-
-
Method Details
-
displayName
-
getDisplayName
The display name for a component.- Returns:
- displayName
-
setDisplayName
-
enabled
-
getEnabled
Indicates whether the processor is enabled.- Returns:
- enabled
-
setEnabled
-
groupBy
-
addGroupByItem
-
getGroupBy
Optional list of fields to group events by. Each group is sampled independently.- Returns:
- groupBy
-
setGroupBy
-
id
-
getId
The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as theinputto downstream components).- Returns:
- id
-
setId
-
include
-
getInclude
A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
-
percentage
-
getPercentage
The percentage of logs to sample.- Returns:
- percentage
-
setPercentage
-
type
-
getType
The processor type. The value should always besample.- Returns:
- type
-
setType
-
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:
- ObservabilityPipelineSampleProcessor
-
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 ObservabilityPipelineSampleProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-