Class BingCustomSearchManager
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.search.customsearch.BingCustomSearchManager
-
public class BingCustomSearchManager extends Object
Entry point to Azure Cognitive Services Bing Custom Search manager.
-
-
Constructor Summary
Constructors Constructor Description BingCustomSearchManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BingCustomSearchAPIauthenticate(com.microsoft.rest.credentials.ServiceClientCredentials credentials)Initializes an instance of Bing Custom Search API client.static BingCustomSearchAPIauthenticate(com.microsoft.rest.RestClient restClient)Initializes an instance of Bing Custom Search API client.static BingCustomSearchAPIauthenticate(String subscriptionKey)Initializes an instance of Bing Custom Search API client.static BingCustomSearchAPIauthenticate(String baseUrl, com.microsoft.rest.credentials.ServiceClientCredentials credentials)Initializes an instance of Bing Custom Search API client.static BingCustomSearchAPIauthenticate(String baseUrl, String subscriptionKey)Initializes an instance of Bing Custom Search API client.
-
-
-
Method Detail
-
authenticate
public static BingCustomSearchAPI authenticate(String subscriptionKey)
Initializes an instance of Bing Custom Search API client.- Parameters:
subscriptionKey- the Bing Search API key- Returns:
- the Bing Custom Search API client
-
authenticate
public static BingCustomSearchAPI authenticate(String baseUrl, String subscriptionKey)
Initializes an instance of Bing Custom Search API client.- Parameters:
baseUrl- the base URL of the servicesubscriptionKey- the Bing Search API key- Returns:
- the Bing Custom Search API client
-
authenticate
public static BingCustomSearchAPI authenticate(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
Initializes an instance of Bing Custom Search API client.- Parameters:
credentials- the management credentials for Azure- Returns:
- the Bing Custom Search API client
-
authenticate
public static BingCustomSearchAPI authenticate(String baseUrl, com.microsoft.rest.credentials.ServiceClientCredentials credentials)
Initializes an instance of Bing Custom Search API client.- Parameters:
baseUrl- the base URL of the servicecredentials- the management credentials for Azure- Returns:
- the Bing Custom Search API client
-
authenticate
public static BingCustomSearchAPI authenticate(com.microsoft.rest.RestClient restClient)
Initializes an instance of Bing Custom Search API client.- Parameters:
restClient- the REST client to connect to Azure.- Returns:
- the Bing Custom Search API client
-
-