다음을 통해 공유


CustomFormModelInfo Class

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

public final class CustomFormModelInfo

The CustomFormModelInfo model.

Constructor Summary

Constructor Description
CustomFormModelInfo(String modelId, CustomFormModelStatus status, OffsetDateTime trainingStartedOn, OffsetDateTime trainingCompletedOn)

Constructs a CustomFormModelInfo object.

Method Summary

Modifier and Type Method and Description
CustomFormModelProperties getCustomModelProperties()

Get model metadata properties.

String getModelId()

Get the model identifier.

String getModelName()

Get the user defined model display name.

CustomFormModelStatus getStatus()

Get the Status of the model.

OffsetDateTime getTrainingCompletedOn()

Get the date and time (UTC) when the model training was completed.

OffsetDateTime getTrainingStartedOn()

Get the date and time (UTC) when the training of the model was started.

Methods inherited from java.lang.Object

Constructor Details

CustomFormModelInfo

public CustomFormModelInfo(String modelId, CustomFormModelStatus status, OffsetDateTime trainingStartedOn, OffsetDateTime trainingCompletedOn)

Constructs a CustomFormModelInfo object.

Parameters:

modelId - The model identifier.
status - The status of the model.
trainingStartedOn - Date and time (UTC) when the training of the model was started.
trainingCompletedOn - Date and time (UTC) when the model training was completed.

Method Details

getCustomModelProperties

public CustomFormModelProperties getCustomModelProperties()

Get model metadata properties.

Returns:

the custom model metadata properties.

getModelId

public String getModelId()

Get the model identifier.

Returns:

the modelId value.

getModelName

public String getModelName()

Get the user defined model display name.

Returns:

the modelName value.

getStatus

public CustomFormModelStatus getStatus()

Get the Status of the model.

Returns:

the status value.

getTrainingCompletedOn

public OffsetDateTime getTrainingCompletedOn()

Get the date and time (UTC) when the model training was completed.

Returns:

the trainingCompletedOn value.

getTrainingStartedOn

public OffsetDateTime getTrainingStartedOn()

Get the date and time (UTC) when the training of the model was started.

Returns:

the trainingStartedOn value.

Applies to