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

DomainModelResults Class

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

public class DomainModelResults

Result of image analysis using a specific domain model including additional metadata.

Constructor Summary

Constructor Description
DomainModelResults()

Method Summary

Modifier and Type Method and Description
ImageMetadata metadata()

Get the metadata value.

String modelVersion()

Get the modelVersion value.

String requestId()

Get the requestId value.

Object result()

Get the result value.

DomainModelResults withMetadata(ImageMetadata metadata)

Set the metadata value.

DomainModelResults withModelVersion(String modelVersion)

Set the modelVersion value.

DomainModelResults withRequestId(String requestId)

Set the requestId value.

DomainModelResults withResult(Object result)

Set the result value.

Methods inherited from java.lang.Object

Constructor Details

DomainModelResults

public DomainModelResults()

Method Details

metadata

public ImageMetadata metadata()

Get the metadata value.

Returns:

the metadata value

modelVersion

public String modelVersion()

Get the modelVersion value.

Returns:

the modelVersion value

requestId

public String requestId()

Get the requestId value.

Returns:

the requestId value

result

public Object result()

Get the result value.

Returns:

the result value

withMetadata

public DomainModelResults withMetadata(ImageMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the DomainModelResults object itself.

withModelVersion

public DomainModelResults withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the DomainModelResults object itself.

withRequestId

public DomainModelResults withRequestId(String requestId)

Set the requestId value.

Parameters:

requestId - the requestId value to set

Returns:

the DomainModelResults object itself.

withResult

public DomainModelResults withResult(Object result)

Set the result value.

Parameters:

result - the result value to set

Returns:

the DomainModelResults object itself.

Applies to