Class ClassifierDocumentTypeDetails
java.lang.Object
com.azure.ai.documentintelligence.models.ClassifierDocumentTypeDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ClassifierDocumentTypeDetails>
public final class ClassifierDocumentTypeDetails
extends Object
implements com.azure.json.JsonSerializable<ClassifierDocumentTypeDetails>
Classifier document type info.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClassifierDocumentTypeDetails class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClassifierDocumentTypeDetails from the JsonReader.Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data for a classifier document type.Get the azureBlobSource property: Azure Blob Storage location containing the training data for a classifier document type.Get the sourceKind property: Type of training data source.setAzureBlobFileListSource(AzureBlobFileListContentSource azureBlobFileListSource) Set the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data for a classifier document type.setAzureBlobSource(AzureBlobContentSource azureBlobSource) Set the azureBlobSource property: Azure Blob Storage location containing the training data for a classifier document type.setSourceKind(ContentSourceKind sourceKind) Set the sourceKind property: Type of training data source.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ClassifierDocumentTypeDetails
public ClassifierDocumentTypeDetails()Creates an instance of ClassifierDocumentTypeDetails class.
-
-
Method Details
-
getSourceKind
Get the sourceKind property: Type of training data source.- Returns:
- the sourceKind value.
-
setSourceKind
Set the sourceKind property: Type of training data source.- Parameters:
sourceKind- the sourceKind value to set.- Returns:
- the ClassifierDocumentTypeDetails object itself.
-
getAzureBlobSource
Get the azureBlobSource property: Azure Blob Storage location containing the training data for a classifier document type. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobSource value.
-
setAzureBlobSource
Set the azureBlobSource property: Azure Blob Storage location containing the training data for a classifier document type. Either azureBlobSource or azureBlobFileListSource must be specified.- Parameters:
azureBlobSource- the azureBlobSource value to set.- Returns:
- the ClassifierDocumentTypeDetails object itself.
-
getAzureBlobFileListSource
Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data for a classifier document type. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobFileListSource value.
-
setAzureBlobFileListSource
public ClassifierDocumentTypeDetails setAzureBlobFileListSource(AzureBlobFileListContentSource azureBlobFileListSource) Set the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data for a classifier document type. Either azureBlobSource or azureBlobFileListSource must be specified.- Parameters:
azureBlobFileListSource- the azureBlobFileListSource value to set.- Returns:
- the ClassifierDocumentTypeDetails object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ClassifierDocumentTypeDetails>- Throws:
IOException
-
fromJson
public static ClassifierDocumentTypeDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ClassifierDocumentTypeDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ClassifierDocumentTypeDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ClassifierDocumentTypeDetails.
-