CustomVisionPredictionClient Interface

Definition

The interface for CustomVisionPredictionClient class.

public interface CustomVisionPredictionClient

Methods

acceptLanguage()

Gets Gets or sets the preferred language for the response..

apiKey()

Gets API key..

endpoint()

Gets Supported Cognitive Services endpoints..

generateClientRequestId()

Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..

getAzureClient()

Gets the AzureClient used for long running operations.

longRunningOperationRetryTimeout()

Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..

predictions()

Gets the Predictions object to access its operations.

restClient()

Gets the REST client.

userAgent()

Gets the User-Agent header for the client.

withAcceptLanguage(String acceptLanguage)

Sets Gets or sets the preferred language for the response..

withApiKey(String apiKey)

Sets API key..

withEndpoint(String endpoint)

Sets Supported Cognitive Services endpoints..

withGenerateClientRequestId(boolean generateClientRequestId)

Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..

withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..

Applies to