CustomVisionTrainingClient Interface
public interface CustomVisionTrainingClient
The interface for CustomVisionTrainingClient class.
Modifier and Type | Method and Description |
---|---|
String |
accept Gets Gets or sets the preferred language for the response.. |
String |
api Gets API key.. |
String |
endpoint()
Gets Supported Cognitive Services endpoints.. |
boolean |
generate Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. |
AzureClient |
get Gets the AzureClient used for long running operations. |
int |
long Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. |
RestClient |
rest Gets the REST client. |
Trainings |
trainings()
Gets the Trainings object to access its operations. |
String |
user Gets the User-Agent header for the client. |
Custom |
with Sets Gets or sets the preferred language for the response.. |
Custom |
with Sets API key.. |
Custom |
with Sets Supported Cognitive Services endpoints.. |
Custom |
with Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. |
Custom |
with Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. |
acceptLanguage
public String acceptLanguage()
Gets Gets or sets the preferred language for the response..
Returns:
apiKey
public String apiKey()
Gets API key..
Returns:
endpoint
public String endpoint()
Gets Supported Cognitive Services endpoints..
Returns:
generateClientRequestId
public boolean generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Returns:
getAzureClient
public AzureClient getAzureClient()
Gets the AzureClient used for long running operations.
Returns:
longRunningOperationRetryTimeout
public int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
restClient
public RestClient restClient()
Gets the REST client.
Returns:
trainings
public Trainings trainings()
Gets the Trainings object to access its operations.
Returns:
userAgent
public String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public CustomVisionTrainingClient withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..
Parameters:
Returns:
withApiKey
public CustomVisionTrainingClient withApiKey(String apiKey)
Sets API key..
Parameters:
Returns:
withEndpoint
public CustomVisionTrainingClient withEndpoint(String endpoint)
Sets Supported Cognitive Services endpoints..
Parameters:
Returns:
withGenerateClientRequestId
public CustomVisionTrainingClient 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..
Parameters:
Returns:
withLongRunningOperationRetryTimeout
public CustomVisionTrainingClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Parameters:
Returns:
Commentaires sur Azure SDK for Java
Azure SDK for Java est un projet open source. Sélectionnez un lien pour fournir des commentaires :