code: public static PredictionEndpoint authenticate(String baseUrl, ServiceClientCredentials credentials, final String apiKey) {
          return new PredictionEndpointImpl(baseUrl, credentials).withApiKey(apiKey);
      }
docs: Initializes an instance of Custom Vision Prediction API client.
  
  @param baseUrl the base URL of the service
  @param credentials the management credentials for Azure
  @param apiKey the Custom Vision Prediction API key
  @return the Custom Vision Prediction API client