I
InsightNexus

CustomVisionPredictionManager (Azure SDK for Java Reference Documentation)

Author

Rachel Ross

Published Feb 16, 2026

CustomVisionPredictionManager (Azure SDK for Java Reference Documentation)
  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.customvision.prediction.CustomVisionPredictionManager


  • public class CustomVisionPredictionManagerextends Object

    Entry point to Azure Cognitive Services Custom Vision Prediction manager.

    • Constructor Detail

    • Method Detail

      • authenticate

        public static CustomVisionPredictionClient authenticate(String apiKey)

        Initializes an instance of Custom Vision Prediction API client.

        Parameters:
        apiKey - the Custom Vision Prediction API key
        Returns:
        the Computer Vision API client
      • authenticate

        public static CustomVisionPredictionClient authenticate(String baseUrl, String apiKey)

        Initializes an instance of Custom Vision Prediction API client.

        Parameters:
        baseUrl - the base URL of the service
        apiKey - the Custom Vision Prediction API key
        Returns:
        the Custom Vision Prediction API client
      • authenticate

        public static CustomVisionPredictionClient authenticate(com.microsoft.rest.credentials.ServiceClientCredentials credentials, String apiKey)

        Initializes an instance of Custom Vision Prediction API client.

        Parameters:
        credentials - the management credentials for Azure
        apiKey - the Custom Vision Prediction API key
        Returns:
        the Computer Vision API client
      • authenticate

        public static CustomVisionPredictionClient authenticate(String baseUrl, com.microsoft.rest.credentials.ServiceClientCredentials credentials, String apiKey)

        Initializes an instance of Custom Vision Prediction API client.

        Parameters:
        baseUrl - the base URL of the service
        credentials - the management credentials for Azure
        apiKey - the Custom Vision Prediction API key
        Returns:
        the Custom Vision Prediction API client
      • authenticate

        public static CustomVisionPredictionClient authenticate(com.microsoft.rest.RestClient restClient, String apiKey)

        Initializes an instance of Custom Vision Prediction API client.

        Parameters:
        restClient - the REST client to connect to Azure.
        apiKey - the Custom Vision Prediction API key
        Returns:
        the Custom Vision Prediction API client

/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/