static QnAMakerClient |
QnAMakerManager.authenticate(com.microsoft.rest.credentials.ServiceClientCredentials credentials,
String endpoint) |
Initializes an instance of QnA Maker API client.
|
static QnAMakerClient |
QnAMakerManager.authenticate(com.microsoft.rest.RestClient restClient) |
Initializes an instance of QnA Maker API client.
|
static QnAMakerClient |
QnAMakerManager.authenticate(String subscriptionKey) |
Initializes an instance of QnA Maker API client.
|
static QnAMakerClient |
QnAMakerManager.authenticate(String baseUrl,
com.microsoft.rest.credentials.ServiceClientCredentials credentials) |
Initializes an instance of QnA Maker API client.
|
static QnAMakerClient |
QnAMakerManager.authenticate(String baseUrl,
String subscriptionKey) |
Initializes an instance of QnA Maker API client.
|
QnAMakerClient |
QnAMakerClient.withAcceptLanguage(String acceptLanguage) |
Sets Gets or sets the preferred language for the response..
|
QnAMakerClient |
QnAMakerClient.withEndpoint(String endpoint) |
Sets Supported Cognitive Services endpoint (e.g., https://< qnamaker-resource-name >.api.cognitiveservices.azure.com)..
|
QnAMakerClient |
QnAMakerClient.withGenerateClientRequestId(boolean generateClientRequestId) |
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request.
|
QnAMakerClient |
QnAMakerClient.withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) |
Sets Gets or sets the retry timeout in seconds for Long Running Operations.
|