Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOcsfMapperProcessor
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOcsfMapperProcessor
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOcsfMapperProcessor
extends Object
The
ocsf_mapper processor transforms logs into the OCSF schema using a predefined
mapping configuration.
Supported pipeline types: logs
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOcsfMapperProcessor(Boolean enabled, String id, String include, List<ObservabilityPipelineOcsfMapperProcessorMapping> mappings, ObservabilityPipelineOcsfMapperProcessorType type) -
Method Summary
Modifier and TypeMethodDescriptiondisplayName(String displayName) booleanReturn true if this ObservabilityPipelineOcsfMapperProcessor 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.getId()The unique identifier for this component.A Datadog search query used to determine which logs this processor targets.Whether to keep an event that does not match any of the mapping filters.A list of mapping rules to convert events to the OCSF format.getType()The processor type.inthashCode()keepUnmatched(Boolean keepUnmatched) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayName(String displayName) voidsetEnabled(Boolean enabled) voidvoidsetInclude(String include) voidsetKeepUnmatched(Boolean keepUnmatched) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_KEEP_UNMATCHED
- See Also:
-
JSON_PROPERTY_MAPPINGS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOcsfMapperProcessor
public ObservabilityPipelineOcsfMapperProcessor() -
ObservabilityPipelineOcsfMapperProcessor
public ObservabilityPipelineOcsfMapperProcessor(Boolean enabled, String id, String include, List<ObservabilityPipelineOcsfMapperProcessorMapping> mappings, ObservabilityPipelineOcsfMapperProcessorType 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
-
id
-
getId
The unique identifier for this component. Used to reference this component in other parts of the pipeline.- Returns:
- id
-
setId
-
include
-
getInclude
A Datadog search query used to determine which logs this processor targets.- Returns:
- include
-
setInclude
-
keepUnmatched
-
getKeepUnmatched
Whether to keep an event that does not match any of the mapping filters.- Returns:
- keepUnmatched
-
setKeepUnmatched
-
mappings
public ObservabilityPipelineOcsfMapperProcessor mappings(List<ObservabilityPipelineOcsfMapperProcessorMapping> mappings) -
addMappingsItem
public ObservabilityPipelineOcsfMapperProcessor addMappingsItem(ObservabilityPipelineOcsfMapperProcessorMapping mappingsItem) -
getMappings
A list of mapping rules to convert events to the OCSF format.- Returns:
- mappings
-
setMappings
-
type
-
getType
The processor type. The value should always beocsf_mapper.- 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:
- ObservabilityPipelineOcsfMapperProcessor
-
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 ObservabilityPipelineOcsfMapperProcessor object is equal to o. -
hashCode
public int hashCode() -
toString
-