DomainModelResults Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. DomainModelResults
- com.
public class DomainModelResults
Result of image analysis using a specific domain model including additional metadata.
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
metadata()
Get the metadata value. |
String |
modelVersion()
Get the modelVersion value. |
String |
requestId()
Get the requestId value. |
Object |
result()
Get the result value. |
Domain |
withMetadata(ImageMetadata metadata)
Set the metadata value. |
Domain |
withModelVersion(String modelVersion)
Set the modelVersion value. |
Domain |
withRequestId(String requestId)
Set the requestId value. |
Domain |
withResult(Object result)
Set the result value. |
Method Details
metadata
public ImageMetadata metadata()
Get the metadata value.
Returns:
modelVersion
public String modelVersion()
Get the modelVersion value.
Returns:
requestId
public String requestId()
Get the requestId value.
Returns:
result
public Object result()
Get the result value.
Returns:
withMetadata
public DomainModelResults withMetadata(ImageMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withModelVersion
public DomainModelResults withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withRequestId
public DomainModelResults withRequestId(String requestId)
Set the requestId value.
Parameters:
Returns:
withResult
public DomainModelResults withResult(Object result)
Set the result value.
Parameters:
Returns: