ImageInsightsImageCaption Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageInsightsImageCaption
- com.
public class ImageInsightsImageCaption
Defines an image's caption.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
caption()
Get the caption value. |
String |
dataSourceUrl()
Get the dataSourceUrl value. |
List<Query> |
relatedSearches()
Get the relatedSearches value. |
Image |
withCaption(String caption)
Set the caption value. |
Image |
withDataSourceUrl(String dataSourceUrl)
Set the dataSourceUrl value. |
Image |
withRelatedSearches(List<Query> relatedSearches)
Set the relatedSearches value. |
Method Details
caption
public String caption()
Get the caption value.
Returns:
dataSourceUrl
public String dataSourceUrl()
Get the dataSourceUrl value.
Returns:
relatedSearches
public List
Get the relatedSearches value.
Returns:
withCaption
public ImageInsightsImageCaption withCaption(String caption)
Set the caption value.
Parameters:
Returns:
withDataSourceUrl
public ImageInsightsImageCaption withDataSourceUrl(String dataSourceUrl)
Set the dataSourceUrl value.
Parameters:
Returns:
withRelatedSearches
public ImageInsightsImageCaption withRelatedSearches(List
Set the relatedSearches value.
Parameters:
Returns:
Applies to
Azure SDK for Java