你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TrainingDocumentInfo Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.training.models.TrainingDocumentInfo

public final class TrainingDocumentInfo

The TrainingDocumentInfo model.

Constructor Summary

Constructor Description
TrainingDocumentInfo(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors)

Constructs a TrainingDocumentInfo object.

Method Summary

Modifier and Type Method and Description
List<FormRecognizerError> getErrors()

Get the list of errors.

String getModelId()

Get the Model identifier.

String getName()

Get the training document name.

int getPageCount()

Get the total number of pages trained.

TrainingStatus getStatus()

Get the status of the training operation.

Methods inherited from java.lang.Object

Constructor Details

TrainingDocumentInfo

public TrainingDocumentInfo(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors)

Constructs a TrainingDocumentInfo object.

Parameters:

name - the training document name.
status - the status of the training operation for that document.
pageCount - the total number of pages trained.
errors - the list of errors.

Method Details

getErrors

public List<FormRecognizerError> getErrors()

Get the list of errors.

Returns:

the unmodifiable list of errors.

getModelId

public String getModelId()

Get the Model identifier.

Returns:

the modelId value.

getName

public String getName()

Get the training document name.

Returns:

the training document name.

getPageCount

public int getPageCount()

Get the total number of pages trained.

Returns:

the total number of pages trained.

getStatus

public TrainingStatus getStatus()

Get the status of the training operation.

Returns:

the status of the training operation.

Applies to