Package com.datadog.api.client.v2.model
Class ObservabilityPipelineOcsfMappingCustom
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineOcsfMappingCustom
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineOcsfMappingCustom
extends Object
Custom OCSF mapping configuration for transforming logs.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineOcsfMappingCustom(List<ObservabilityPipelineOcsfMappingCustomFieldMapping> mapping, ObservabilityPipelineOcsfMappingCustomMetadata metadata, Long version) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ObservabilityPipelineOcsfMappingCustom object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of field mapping rules for transforming log fields to OCSF schema fields.Metadata for the custom OCSF mapping.The version of the custom mapping configuration.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetVersion(Long version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MAPPING
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineOcsfMappingCustom
public ObservabilityPipelineOcsfMappingCustom() -
ObservabilityPipelineOcsfMappingCustom
public ObservabilityPipelineOcsfMappingCustom(List<ObservabilityPipelineOcsfMappingCustomFieldMapping> mapping, ObservabilityPipelineOcsfMappingCustomMetadata metadata, Long version)
-
-
Method Details
-
mapping
public ObservabilityPipelineOcsfMappingCustom mapping(List<ObservabilityPipelineOcsfMappingCustomFieldMapping> mapping) -
addMappingItem
public ObservabilityPipelineOcsfMappingCustom addMappingItem(ObservabilityPipelineOcsfMappingCustomFieldMapping mappingItem) -
getMapping
A list of field mapping rules for transforming log fields to OCSF schema fields.- Returns:
- mapping
-
setMapping
-
metadata
public ObservabilityPipelineOcsfMappingCustom metadata(ObservabilityPipelineOcsfMappingCustomMetadata metadata) -
getMetadata
Metadata for the custom OCSF mapping.- Returns:
- metadata
-
setMetadata
-
version
-
getVersion
The version of the custom mapping configuration.- Returns:
- version
-
setVersion
-
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:
- ObservabilityPipelineOcsfMappingCustom
-
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 ObservabilityPipelineOcsfMappingCustom object is equal to o. -
hashCode
public int hashCode() -
toString
-