TagResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. TagResult
- com.
public class TagResult
The results of a image tag operation, including any tags and image 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. |
List<Image |
tags()
Get the tags value. |
Tag |
withMetadata(ImageMetadata metadata)
Set the metadata value. |
Tag |
withModelVersion(String modelVersion)
Set the modelVersion value. |
Tag |
withRequestId(String requestId)
Set the requestId value. |
Tag |
withTags(List<ImageTag> tags)
Set the tags 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:
tags
public List
Get the tags value.
Returns:
withMetadata
public TagResult withMetadata(ImageMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withModelVersion
public TagResult withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withRequestId
public TagResult withRequestId(String requestId)
Set the requestId value.
Parameters:
Returns:
withTags
public TagResult withTags(List
Set the tags value.
Parameters:
Returns: