Dela via


ReadOperationResult Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.ReadOperationResult

public class ReadOperationResult

OCR result of the read operation.

Method Summary

Modifier and Type Method and Description
AnalyzeResults analyzeResult()

Get the analyzeResult value.

String createdDateTime()

Get the createdDateTime value.

String lastUpdatedDateTime()

Get the lastUpdatedDateTime value.

OperationStatusCodes status()

Get the status value.

ReadOperationResult withAnalyzeResult(AnalyzeResults analyzeResult)

Set the analyzeResult value.

ReadOperationResult withCreatedDateTime(String createdDateTime)

Set the createdDateTime value.

ReadOperationResult withLastUpdatedDateTime(String lastUpdatedDateTime)

Set the lastUpdatedDateTime value.

ReadOperationResult withStatus(OperationStatusCodes status)

Set the status value.

Method Details

analyzeResult

public AnalyzeResults analyzeResult()

Get the analyzeResult value.

Returns:

the analyzeResult value

createdDateTime

public String createdDateTime()

Get the createdDateTime value.

Returns:

the createdDateTime value

lastUpdatedDateTime

public String lastUpdatedDateTime()

Get the lastUpdatedDateTime value.

Returns:

the lastUpdatedDateTime value

status

public OperationStatusCodes status()

Get the status value.

Returns:

the status value

withAnalyzeResult

public ReadOperationResult withAnalyzeResult(AnalyzeResults analyzeResult)

Set the analyzeResult value.

Parameters:

analyzeResult - the analyzeResult value to set

Returns:

the ReadOperationResult object itself.

withCreatedDateTime

public ReadOperationResult withCreatedDateTime(String createdDateTime)

Set the createdDateTime value.

Parameters:

createdDateTime - the createdDateTime value to set

Returns:

the ReadOperationResult object itself.

withLastUpdatedDateTime

public ReadOperationResult withLastUpdatedDateTime(String lastUpdatedDateTime)

Set the lastUpdatedDateTime value.

Parameters:

lastUpdatedDateTime - the lastUpdatedDateTime value to set

Returns:

the ReadOperationResult object itself.

withStatus

public ReadOperationResult withStatus(OperationStatusCodes status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the ReadOperationResult object itself.

Applies to