BingAutoSuggestSearchManager Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.autosuggest.BingAutoSuggestSearchManager

public class BingAutoSuggestSearchManager

Entry point to Azure Cognitive Services Bing Auto Suggest Search manager.

Method Summary

Modifier and Type Method and Description
BingAutoSuggestSearchAPI authenticate(RestClient restClient)

Initializes an instance of Bing Auto Suggest Search API client.

BingAutoSuggestSearchAPI authenticate(ServiceClientCredentials credentials)

Initializes an instance of Bing Auto Suggest Search API client.

BingAutoSuggestSearchAPI authenticate(String subscriptionKey)

Initializes an instance of Bing Auto Suggest Search API client.

BingAutoSuggestSearchAPI authenticate(String baseUrl, final String subscriptionKey)

Initializes an instance of Bing Auto Suggest Search API client.

BingAutoSuggestSearchAPI authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Bing Auto Suggest Search API client.

Method Details

authenticate

public static BingAutoSuggestSearchAPI authenticate(RestClient restClient)

Initializes an instance of Bing Auto Suggest Search API client.

Parameters:

restClient - the REST client to connect to Azure.

Returns:

the Bing Custom Image Search API client

authenticate

public static BingAutoSuggestSearchAPI authenticate(ServiceClientCredentials credentials)

Initializes an instance of Bing Auto Suggest Search API client.

Parameters:

credentials - the management credentials for Azure

Returns:

the Bing Auto Suggest Search API client

authenticate

public static BingAutoSuggestSearchAPI authenticate(String subscriptionKey)

Initializes an instance of Bing Auto Suggest Search API client.

Parameters:

subscriptionKey - the Bing Search API key

Returns:

the Bing Custom Search API client

authenticate

public static BingAutoSuggestSearchAPI authenticate(String baseUrl, final String subscriptionKey)

Initializes an instance of Bing Auto Suggest Search API client.

Parameters:

baseUrl - the base URL of the service
subscriptionKey - the Bing Search API key

Returns:

the Bing Custom Search API client

authenticate

public static BingAutoSuggestSearchAPI authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Bing Auto Suggest Search API client.

Parameters:

baseUrl - the base URL of the service
credentials - the management credentials for Azure

Returns:

the Bing Custom Image Search API client

Applies to