CustomVisionTrainingManager Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.customvision.training.CustomVisionTrainingManager

public class CustomVisionTrainingManager

Entry point to Azure Cognitive Services Custom Vision Training manager.

Method Summary

Modifier and Type Method and Description
CustomVisionTrainingClient authenticate(RestClient restClient, final String apiKey)

Initializes an instance of Custom Vision Training API client.

CustomVisionTrainingClient authenticate(ServiceClientCredentials credentials, final String apiKey)

Initializes an instance of Custom Vision Training API client.

CustomVisionTrainingClient authenticate(String apiKey)

Initializes an instance of Custom Vision Training API client.

CustomVisionTrainingClient authenticate(String baseUrl, final String apiKey)

Initializes an instance of Custom Vision Training API client.

CustomVisionTrainingClient authenticate(String baseUrl, ServiceClientCredentials credentials, final String apiKey)

Initializes an instance of Custom Vision Training API client.

Method Details

authenticate

public static CustomVisionTrainingClient authenticate(RestClient restClient, final String apiKey)

Initializes an instance of Custom Vision Training API client.

Parameters:

restClient - the REST client to connect to Azure.
apiKey - the Custom Vision Training API key

Returns:

the Custom Vision Training API client

authenticate

public static CustomVisionTrainingClient authenticate(ServiceClientCredentials credentials, final String apiKey)

Initializes an instance of Custom Vision Training API client.

Parameters:

credentials - the management credentials for Azure
apiKey - the Custom Vision Training API key

Returns:

the Computer Vision Training API client

authenticate

public static CustomVisionTrainingClient authenticate(String apiKey)

Initializes an instance of Custom Vision Training API client.

Parameters:

apiKey - the Custom Vision Training API key

Returns:

the Computer Vision Training API client

authenticate

public static CustomVisionTrainingClient authenticate(String baseUrl, final String apiKey)

Initializes an instance of Custom Vision Training API client.

Parameters:

baseUrl - the base URL of the service
apiKey - the Custom Vision Training API key

Returns:

the Custom Vision Training API client

authenticate

public static CustomVisionTrainingClient authenticate(String baseUrl, ServiceClientCredentials credentials, final String apiKey)

Initializes an instance of Custom Vision Training API client.

Parameters:

baseUrl - the base URL of the service
credentials - the management credentials for Azure
apiKey - the Custom Vision Training API key

Returns:

the Custom Vision Training API client

Applies to