ImageInsightsImageCaption Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.imagesearch.models.ImageInsightsImageCaption

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.

ImageInsightsImageCaption withCaption(String caption)

Set the caption value.

ImageInsightsImageCaption withDataSourceUrl(String dataSourceUrl)

Set the dataSourceUrl value.

ImageInsightsImageCaption withRelatedSearches(List<Query> relatedSearches)

Set the relatedSearches value.

Method Details

caption

public String caption()

Get the caption value.

Returns:

the caption value

dataSourceUrl

public String dataSourceUrl()

Get the dataSourceUrl value.

Returns:

the dataSourceUrl value

relatedSearches

public List relatedSearches()

Get the relatedSearches value.

Returns:

the relatedSearches value

withCaption

public ImageInsightsImageCaption withCaption(String caption)

Set the caption value.

Parameters:

caption - the caption value to set

Returns:

the ImageInsightsImageCaption object itself.

withDataSourceUrl

public ImageInsightsImageCaption withDataSourceUrl(String dataSourceUrl)

Set the dataSourceUrl value.

Parameters:

dataSourceUrl - the dataSourceUrl value to set

Returns:

the ImageInsightsImageCaption object itself.

withRelatedSearches

public ImageInsightsImageCaption withRelatedSearches(List relatedSearches)

Set the relatedSearches value.

Parameters:

relatedSearches - the relatedSearches value to set

Returns:

the ImageInsightsImageCaption object itself.

Applies to