Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOcsfMapperProcessorMapping
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOcsfMapperProcessorMapping
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOcsfMapperProcessorMapping
extends Object
Defines how specific events are transformed to OCSF using a mapping configuration.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOcsfMapperProcessorMapping(String include, ObservabilityPipelineOcsfMapperProcessorMappingMapping mapping) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineOcsfMapperProcessorMapping object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A Datadog search query used to select the logs that this mapping should apply to.Defines a single mapping rule for transforming logs into the OCSF schema.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetInclude(String include) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_MAPPING
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOcsfMapperProcessorMapping
public ObservabilityPipelineOcsfMapperProcessorMapping() -
ObservabilityPipelineOcsfMapperProcessorMapping
public ObservabilityPipelineOcsfMapperProcessorMapping(String include, ObservabilityPipelineOcsfMapperProcessorMappingMapping mapping)
-
-
Method Details
-
include
-
getInclude
A Datadog search query used to select the logs that this mapping should apply to.- Returns:
- include
-
setInclude
-
mapping
-
getMapping
Defines a single mapping rule for transforming logs into the OCSF schema.- Returns:
- mapping
-
setMapping
-
putAdditionalProperty
public ObservabilityPipelineOcsfMapperProcessorMapping putAdditionalProperty(String key, Object value) 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:
- ObservabilityPipelineOcsfMapperProcessorMapping
-
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 ObservabilityPipelineOcsfMapperProcessorMapping object is equal to o. -
hashCode
public int hashCode() -
toString
-