ImageInsightsImageCaption Class

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

public class ImageInsightsImageCaption

Defines an image's caption.

Constructor Summary

Constructor Description
ImageInsightsImageCaption()

Method Summary

Modifier and Type Method and Description
java.lang.String caption()

Get the caption value.

java.lang.String dataSourceUrl()

Get the dataSourceUrl value.

java.util.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ImageInsightsImageCaption

public ImageInsightsImageCaption()

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

Azure SDK for Java

Legacy