ClassifierDocumentTypeDetails Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. ClassifierDocumentTypeDetails
- com.
Implements
public final class ClassifierDocumentTypeDetails
implements JsonSerializable<ClassifierDocumentTypeDetails>
Classifier document type info.
Constructor Summary
Constructor | Description |
---|---|
ClassifierDocumentTypeDetails() |
Creates an instance of Classifier |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Classifier |
fromJson(JsonReader jsonReader)
Reads an instance of Classifier |
Azure |
getAzureBlobFileListSource()
Get the azure |
Azure |
getAzureBlobSource()
Get the azure |
Content |
getSourceKind()
Get the source |
Classifier |
setAzureBlobFileListSource(AzureBlobFileListContentSource azureBlobFileListSource)
Set the azure |
Classifier |
setAzureBlobSource(AzureBlobContentSource azureBlobSource)
Set the azure |
Classifier |
setSourceKind(ContentSourceKind sourceKind)
Set the source |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ClassifierDocumentTypeDetails
public ClassifierDocumentTypeDetails()
Creates an instance of ClassifierDocumentTypeDetails class.
Method Details
fromJson
public static ClassifierDocumentTypeDetails fromJson(JsonReader jsonReader)
Reads an instance of ClassifierDocumentTypeDetails from the JsonReader.
Parameters:
Returns:
Throws:
getAzureBlobFileListSource
public AzureBlobFileListContentSource 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:
getAzureBlobSource
public AzureBlobContentSource 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:
getSourceKind
public ContentSourceKind getSourceKind()
Get the sourceKind property: Type of training data source.
Returns:
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:
Returns:
setAzureBlobSource
public ClassifierDocumentTypeDetails setAzureBlobSource(AzureBlobContentSource azureBlobSource)
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:
Returns:
setSourceKind
public ClassifierDocumentTypeDetails setSourceKind(ContentSourceKind sourceKind)
Set the sourceKind property: Type of training data source.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java