Class BingCustomSearchManager


  • public class BingCustomSearchManager
    extends Object
    Entry point to Azure Cognitive Services Bing Custom Search manager.
    • Constructor Detail

      • BingCustomSearchManager

        public BingCustomSearchManager()
    • 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 service
        subscriptionKey - 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 service
        credentials - 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