Class BuildDocumentModelRequest
java.lang.Object
com.azure.ai.documentintelligence.models.BuildDocumentModelRequest
Request body to build a new custom document model.
-
Constructor Summary
ConstructorDescriptionBuildDocumentModelRequest
(String modelId, DocumentBuildMode buildMode) Creates an instance of BuildDocumentModelRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data.Get the azureBlobSource property: Azure Blob Storage location containing the training data.Get the buildMode property: Custom document model build mode.Get the description property: Document model description.Get the modelId property: Unique document model name.getTags()
Get the tags property: List of key-value tag attributes associated with the document model.setAzureBlobFileListSource
(AzureBlobFileListContentSource azureBlobFileListSource) Set the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data.setAzureBlobSource
(AzureBlobContentSource azureBlobSource) Set the azureBlobSource property: Azure Blob Storage location containing the training data.setDescription
(String description) Set the description property: Document model description.Set the tags property: List of key-value tag attributes associated with the document model.
-
Constructor Details
-
BuildDocumentModelRequest
Creates an instance of BuildDocumentModelRequest class.- Parameters:
modelId
- the modelId value to set.buildMode
- the buildMode value to set.
-
-
Method Details
-
getModelId
Get the modelId property: Unique document model name.- Returns:
- the modelId value.
-
getDescription
Get the description property: Document model description.- Returns:
- the description value.
-
setDescription
Set the description property: Document model description.- Parameters:
description
- the description value to set.- Returns:
- the BuildDocumentModelRequest object itself.
-
getBuildMode
Get the buildMode property: Custom document model build mode.- Returns:
- the buildMode value.
-
getAzureBlobSource
Get the azureBlobSource property: Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobSource value.
-
setAzureBlobSource
Set the azureBlobSource property: Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.- Parameters:
azureBlobSource
- the azureBlobSource value to set.- Returns:
- the BuildDocumentModelRequest object itself.
-
getAzureBlobFileListSource
Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobFileListSource value.
-
setAzureBlobFileListSource
public BuildDocumentModelRequest setAzureBlobFileListSource(AzureBlobFileListContentSource azureBlobFileListSource) Set the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.- Parameters:
azureBlobFileListSource
- the azureBlobFileListSource value to set.- Returns:
- the BuildDocumentModelRequest object itself.
-
getTags
Get the tags property: List of key-value tag attributes associated with the document model.- Returns:
- the tags value.
-
setTags
Set the tags property: List of key-value tag attributes associated with the document model.- Parameters:
tags
- the tags value to set.- Returns:
- the BuildDocumentModelRequest object itself.
-