Dela via


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.

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.

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