Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOcsfMappingCustomFieldMapping
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOcsfMappingCustomFieldMapping
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOcsfMappingCustomFieldMapping
extends Object
Defines a single field mapping rule for transforming a source field to an OCSF destination field.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineOcsfMappingCustomFieldMapping object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The default value to use if the source field is missing or empty.getDest()The destination OCSF field path.Lookup table configuration for mapping source values to destination values.The source field path from the log event.Multiple source field paths for combined mapping.getValue()A static value to use for the destination field.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDefault(Object _default) voidvoidvoidvoidsetSources(Object sources) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DEFAULT
- See Also:
-
JSON_PROPERTY_DEST
- See Also:
-
JSON_PROPERTY_LOOKUP
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SOURCES
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOcsfMappingCustomFieldMapping
public ObservabilityPipelineOcsfMappingCustomFieldMapping() -
ObservabilityPipelineOcsfMappingCustomFieldMapping
-
-
Method Details
-
_default
-
getDefault
The default value to use if the source field is missing or empty.- Returns:
- _default
-
setDefault
-
dest
-
getDest
The destination OCSF field path.- Returns:
- dest
-
setDest
-
lookup
-
getLookup
Lookup table configuration for mapping source values to destination values.- Returns:
- lookup
-
setLookup
-
source
-
getSource
The source field path from the log event.- Returns:
- source
-
setSource
-
sources
-
getSources
Multiple source field paths for combined mapping.- Returns:
- sources
-
setSources
-
value
-
getValue
A static value to use for the destination field.- Returns:
- value
-
setValue
-
putAdditionalProperty
public ObservabilityPipelineOcsfMappingCustomFieldMapping 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:
- ObservabilityPipelineOcsfMappingCustomFieldMapping
-
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 ObservabilityPipelineOcsfMappingCustomFieldMapping object is equal to o. -
hashCode
public int hashCode() -
toString
-