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