Class AnalyzeBatchDocumentsRequest
java.lang.Object
com.azure.ai.documentintelligence.models.AnalyzeBatchDocumentsRequest
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AnalyzeBatchDocumentsRequest>
public final class AnalyzeBatchDocumentsRequest
extends Object
implements com.azure.json.JsonSerializable<AnalyzeBatchDocumentsRequest>
Batch document analysis parameters.
-
Constructor Summary
ConstructorDescriptionAnalyzeBatchDocumentsRequest
(String resultContainerUrl) Creates an instance of AnalyzeBatchDocumentsRequest class. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnalyzeBatchDocumentsRequest
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AnalyzeBatchDocumentsRequest from the JsonReader.Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the batch documents.Get the azureBlobSource property: Azure Blob Storage location containing the batch documents.Get the resultContainerUrl property: Azure Blob Storage container URL where analyze result files will be stored.Get the resultPrefix property: Blob name prefix of result files.Get the overwriteExisting property: Overwrite existing analyze result files?.setAzureBlobFileListSource
(AzureBlobFileListContentSource azureBlobFileListSource) Set the azureBlobFileListSource property: Azure Blob Storage file list specifying the batch documents.setAzureBlobSource
(AzureBlobContentSource azureBlobSource) Set the azureBlobSource property: Azure Blob Storage location containing the batch documents.setOverwriteExisting
(Boolean overwriteExisting) Set the overwriteExisting property: Overwrite existing analyze result files?.setResultPrefix
(String resultPrefix) Set the resultPrefix property: Blob name prefix of result files.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AnalyzeBatchDocumentsRequest
Creates an instance of AnalyzeBatchDocumentsRequest class.- Parameters:
resultContainerUrl
- the resultContainerUrl value to set.
-
-
Method Details
-
getAzureBlobSource
Get the azureBlobSource property: Azure Blob Storage location containing the batch documents. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobSource value.
-
setAzureBlobSource
Set the azureBlobSource property: Azure Blob Storage location containing the batch documents. Either azureBlobSource or azureBlobFileListSource must be specified.- Parameters:
azureBlobSource
- the azureBlobSource value to set.- Returns:
- the AnalyzeBatchDocumentsRequest object itself.
-
getAzureBlobFileListSource
Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the batch documents. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobFileListSource value.
-
setAzureBlobFileListSource
public AnalyzeBatchDocumentsRequest setAzureBlobFileListSource(AzureBlobFileListContentSource azureBlobFileListSource) Set the azureBlobFileListSource property: Azure Blob Storage file list specifying the batch documents. Either azureBlobSource or azureBlobFileListSource must be specified.- Parameters:
azureBlobFileListSource
- the azureBlobFileListSource value to set.- Returns:
- the AnalyzeBatchDocumentsRequest object itself.
-
getResultContainerUrl
Get the resultContainerUrl property: Azure Blob Storage container URL where analyze result files will be stored.- Returns:
- the resultContainerUrl value.
-
getResultPrefix
Get the resultPrefix property: Blob name prefix of result files.- Returns:
- the resultPrefix value.
-
setResultPrefix
Set the resultPrefix property: Blob name prefix of result files.- Parameters:
resultPrefix
- the resultPrefix value to set.- Returns:
- the AnalyzeBatchDocumentsRequest object itself.
-
isOverwriteExisting
Get the overwriteExisting property: Overwrite existing analyze result files?.- Returns:
- the overwriteExisting value.
-
setOverwriteExisting
Set the overwriteExisting property: Overwrite existing analyze result files?.- Parameters:
overwriteExisting
- the overwriteExisting value to set.- Returns:
- the AnalyzeBatchDocumentsRequest object itself.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AnalyzeBatchDocumentsRequest>
- Throws:
IOException
-
fromJson
public static AnalyzeBatchDocumentsRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AnalyzeBatchDocumentsRequest from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AnalyzeBatchDocumentsRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the AnalyzeBatchDocumentsRequest.
-