Class AreaOfInterestResult
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.AreaOfInterestResult
-
public class AreaOfInterestResult extends Object
Result of AreaOfInterest operation.
-
-
Constructor Summary
Constructors Constructor Description AreaOfInterestResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingRect
areaOfInterest()
Get the areaOfInterest value.ImageMetadata
metadata()
Get the metadata value.String
modelVersion()
Get the modelVersion value.String
requestId()
Get the requestId value.AreaOfInterestResult
withMetadata(ImageMetadata metadata)
Set the metadata value.AreaOfInterestResult
withModelVersion(String modelVersion)
Set the modelVersion value.AreaOfInterestResult
withRequestId(String requestId)
Set the requestId value.
-
-
-
Method Detail
-
areaOfInterest
public BoundingRect areaOfInterest()
Get the areaOfInterest value.- Returns:
- the areaOfInterest value
-
requestId
public String requestId()
Get the requestId value.- Returns:
- the requestId value
-
withRequestId
public AreaOfInterestResult withRequestId(String requestId)
Set the requestId value.- Parameters:
requestId
- the requestId value to set- Returns:
- the AreaOfInterestResult object itself.
-
metadata
public ImageMetadata metadata()
Get the metadata value.- Returns:
- the metadata value
-
withMetadata
public AreaOfInterestResult withMetadata(ImageMetadata metadata)
Set the metadata value.- Parameters:
metadata
- the metadata value to set- Returns:
- the AreaOfInterestResult object itself.
-
modelVersion
public String modelVersion()
Get the modelVersion value.- Returns:
- the modelVersion value
-
withModelVersion
public AreaOfInterestResult withModelVersion(String modelVersion)
Set the modelVersion value.- Parameters:
modelVersion
- the modelVersion value to set- Returns:
- the AreaOfInterestResult object itself.
-
-