Class ImageDescriptionDetails
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.ImageDescriptionDetails
-
public class ImageDescriptionDetails extends Object
A collection of content tags, along with a list of captions sorted by confidence level, and image metadata.
-
-
Constructor Summary
Constructors Constructor Description ImageDescriptionDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ImageCaption>
captions()
Get the captions value.List<String>
tags()
Get the tags value.ImageDescriptionDetails
withCaptions(List<ImageCaption> captions)
Set the captions value.ImageDescriptionDetails
withTags(List<String> tags)
Set the tags value.
-
-
-
Method Detail
-
withTags
public ImageDescriptionDetails withTags(List<String> tags)
Set the tags value.- Parameters:
tags
- the tags value to set- Returns:
- the ImageDescriptionDetails object itself.
-
captions
public List<ImageCaption> captions()
Get the captions value.- Returns:
- the captions value
-
withCaptions
public ImageDescriptionDetails withCaptions(List<ImageCaption> captions)
Set the captions value.- Parameters:
captions
- the captions value to set- Returns:
- the ImageDescriptionDetails object itself.
-
-