Partager via


Filters Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.visualsearch.models.Filters

public class Filters

A key-value object consisting of filters that may be specified to limit the results returned by the API. Current available filters: site.

Constructor Summary

Constructor Description
Filters()

Method Summary

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

Get the site value.

Filters withSite(String site)

Set the site 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

Filters

public Filters()

Method Details

site

public String site()

Get the site value.

Returns:

the site value

withSite

public Filters withSite(String site)

Set the site value.

Parameters:

site - the site value to set

Returns:

the Filters object itself.

Applies to