---
schema_version: "1"
id: faf63728ddcdec4cfa6fad8672b71ff23a6ea7e66b82679943894b464a3d41a7
title: ObjectConfig
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_class_docai_object_config.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_docai_object_config.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9232e02949d84dfffdde23789cad0cb84abf1fc77cfb0e190a3ab5fc94c16721
description: A configuration wrapper class for Document AI operations.
---
# ObjectConfig

A configuration wrapper class for Document AI operations.

This class defines the resolution strategies used when matching extracted document entities, specifically providing configuration for both node-level and field-level matching.

## Namespace

[documentai](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_namespace_documentai.htm "The DocumentAI namespace provides classes for Document AI to process and extract data from documents, including configurations for duplicate detection, post-transformation, and post-save processing.")

- **[ObjectConfig Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_docai_obj_config_properties.htm)**  
    The following are properties for objectConfig.
- **[fieldMatchingResolutionStrategy](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_docai_obj_config_fieldMatchingResolutionStrategy.htm)**  
    The resolution strategy applied when matching extracted document entities at the field level.
- **[nodeMatchingResolutionStrategy](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_docai_obj_config_nodeMatchingResolutionStrategy.htm)**  
    The resolution strategy applied when matching extracted document entities at the node level.
- **[objectApiName](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_docai_obj_config_objectApiName.htm)**  
    The API name of the entity associated with the Document AI configuration.