Class DomainModelResults
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.DomainModelResults
-
public class DomainModelResults extends Object
Result of image analysis using a specific domain model including additional metadata.
-
-
Constructor Summary
Constructors Constructor Description DomainModelResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
result
public Object result()
Get the result value.- Returns:
- the result value
-
withResult
public DomainModelResults withResult(Object result)
Set the result value.- Parameters:
result
- the result value to set- Returns:
- the DomainModelResults object itself.
-
requestId
public String requestId()
Get the requestId value.- Returns:
- the requestId value
-
withRequestId
public DomainModelResults withRequestId(String requestId)
Set the requestId value.- Parameters:
requestId
- the requestId value to set- Returns:
- the DomainModelResults object itself.
-
metadata
public ImageMetadata metadata()
Get the metadata value.- Returns:
- the metadata value
-
withMetadata
public DomainModelResults withMetadata(ImageMetadata metadata)
Set the metadata value.- Parameters:
metadata
- the metadata value to set- Returns:
- the DomainModelResults object itself.
-
modelVersion
public String modelVersion()
Get the modelVersion value.- Returns:
- the modelVersion value
-
withModelVersion
public DomainModelResults withModelVersion(String modelVersion)
Set the modelVersion value.- Parameters:
modelVersion
- the modelVersion value to set- Returns:
- the DomainModelResults object itself.
-
-