Interface LUISAuthoringClient
-
- All Known Implementing Classes:
LUISAuthoringClientImpl
public interface LUISAuthoringClient
The interface for LUISAuthoringClient class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
acceptLanguage()
Gets Gets or sets the preferred language for the response..Apps
apps()
Gets the Apps object to access its operations.AzureAccounts
azureAccounts()
Gets the AzureAccounts object to access its operations.String
endpoint()
Gets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)..Examples
examples()
Gets the Examples object to access its operations.Features
features()
Gets the Features object to access its operations.boolean
generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request.com.microsoft.azure.AzureClient
getAzureClient()
Gets theAzureClient
used for long running operations.int
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations.Models
models()
Gets the Models object to access its operations.Patterns
patterns()
Gets the Patterns object to access its operations.com.microsoft.rest.RestClient
restClient()
Gets the REST client.Settings
settings()
Gets the Settings object to access its operations.Trains
trains()
Gets the Trains object to access its operations.String
userAgent()
Gets the User-Agent header for the client.Versions
versions()
Gets the Versions object to access its operations.LUISAuthoringClient
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..LUISAuthoringClient
withEndpoint(String endpoint)
Sets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)..LUISAuthoringClient
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request.LUISAuthoringClient
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations.
-
-
-
Method Detail
-
restClient
com.microsoft.rest.RestClient restClient()
Gets the REST client.- Returns:
- the
RestClient
object.
-
getAzureClient
com.microsoft.azure.AzureClient getAzureClient()
Gets theAzureClient
used for long running operations.- Returns:
- the azure client;
-
userAgent
String userAgent()
Gets the User-Agent header for the client.- Returns:
- the user agent string.
-
endpoint
String endpoint()
Gets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)..- Returns:
- the endpoint value.
-
withEndpoint
LUISAuthoringClient withEndpoint(String endpoint)
Sets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)..- Parameters:
endpoint
- the endpoint value.- Returns:
- the service client itself
-
acceptLanguage
String acceptLanguage()
Gets Gets or sets the preferred language for the response..- Returns:
- the acceptLanguage value.
-
withAcceptLanguage
LUISAuthoringClient withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..- Parameters:
acceptLanguage
- the acceptLanguage value.- Returns:
- the service client itself
-
longRunningOperationRetryTimeout
int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..- Returns:
- the longRunningOperationRetryTimeout value.
-
withLongRunningOperationRetryTimeout
LUISAuthoringClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..- Parameters:
longRunningOperationRetryTimeout
- the longRunningOperationRetryTimeout value.- Returns:
- the service client itself
-
generateClientRequestId
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:
- the generateClientRequestId value.
-
withGenerateClientRequestId
LUISAuthoringClient 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:
generateClientRequestId
- the generateClientRequestId value.- Returns:
- the service client itself
-
features
Features features()
Gets the Features object to access its operations.- Returns:
- the Features object.
-
examples
Examples examples()
Gets the Examples object to access its operations.- Returns:
- the Examples object.
-
models
Models models()
Gets the Models object to access its operations.- Returns:
- the Models object.
-
apps
Apps apps()
Gets the Apps object to access its operations.- Returns:
- the Apps object.
-
versions
Versions versions()
Gets the Versions object to access its operations.- Returns:
- the Versions object.
-
trains
Trains trains()
Gets the Trains object to access its operations.- Returns:
- the Trains object.
-
patterns
Patterns patterns()
Gets the Patterns object to access its operations.- Returns:
- the Patterns object.
-
settings
Settings settings()
Gets the Settings object to access its operations.- Returns:
- the Settings object.
-
azureAccounts
AzureAccounts azureAccounts()
Gets the AzureAccounts object to access its operations.- Returns:
- the AzureAccounts object.
-
-