DocumentModelDetails Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentModelDetails
- com.
Implements
public final class DocumentModelDetails
implements JsonSerializable<DocumentModelDetails>
Document model info.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
String |
getApiVersion()
Get the api |
Azure |
getAzureBlobFileListSource()
Get the azure |
Azure |
getAzureBlobSource()
Get the azure |
Document |
getBuildMode()
Get the build |
String |
getClassifierId()
Get the classifier |
Offset |
getCreatedOn()
Get the created |
String |
getDescription()
Get the description property: Document model description. |
Map<String,Document |
getDocumentTypes()
Get the document |
Offset |
getExpiresOn()
Get the expires |
String |
getModelId()
Get the model |
Offset |
getModifiedOn()
Get the modified |
Split |
getSplit()
Get the split property: For composed models, the file splitting behavior. |
Map<String,String> |
getTags()
Get the tags property: List of key-value tag attributes associated with the document model. |
Double |
getTrainingHours()
Get the training |
List<Document |
getWarnings()
Get the warnings property: List of warnings encountered while building the model. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentModelDetails fromJson(JsonReader jsonReader)
Reads an instance of DocumentModelDetails from the JsonReader.
Parameters:
Returns:
Throws:
getApiVersion
public String getApiVersion()
Get the apiVersion property: API version used to create this document model.
Returns:
getAzureBlobFileListSource
public AzureBlobFileListContentSource getAzureBlobFileListSource()
Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.
Returns:
getAzureBlobSource
public AzureBlobContentSource getAzureBlobSource()
Get the azureBlobSource property: Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.
Returns:
getBuildMode
public DocumentBuildMode getBuildMode()
Get the buildMode property: Custom document model build mode.
Returns:
getClassifierId
public String getClassifierId()
Get the classifierId property: For composed models, the custom classifier to split and classify the input file.
Returns:
getCreatedOn
public OffsetDateTime getCreatedOn()
Get the createdOn property: Date and time (UTC) when the document model was created.
Returns:
getDescription
public String getDescription()
Get the description property: Document model description.
Returns:
getDocumentTypes
public Map
Get the documentTypes property: Supported document types.
Returns:
getExpiresOn
public OffsetDateTime getExpiresOn()
Get the expiresOn property: Date and time (UTC) when the document model will expire.
Returns:
getModelId
public String getModelId()
Get the modelId property: Unique document model name.
Returns:
getModifiedOn
public OffsetDateTime getModifiedOn()
Get the modifiedOn property: Date and time (UTC) when the document model was last modified.
Returns:
getSplit
public SplitMode getSplit()
Get the split property: For composed models, the file splitting behavior.
Returns:
getTags
public Map
Get the tags property: List of key-value tag attributes associated with the document model.
Returns:
getTrainingHours
public Double getTrainingHours()
Get the trainingHours property: Number of V100-equivalent GPU hours consumed for model training.
Returns:
getWarnings
public List
Get the warnings property: List of warnings encountered while building the model.
Returns:
toJson
Applies to
Azure SDK for Java