LUISAuthoringClient Interface
public interface LUISAuthoringClient
The interface for LUISAuthoringClient class.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
Gets Gets or sets the preferred language for the response.. |
Apps |
apps()
Gets the Apps object to access its operations. |
Azure |
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. Default is true.. |
AzureClient |
getAzureClient()
Gets the AzureClient used for long running operations. |
int |
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. |
Models |
models()
Gets the Models object to access its operations. |
Patterns |
patterns()
Gets the Patterns object to access its operations. |
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. |
LUISAuthoring |
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.. |
LUISAuthoring |
withEndpoint(String endpoint)
Sets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).. |
LUISAuthoring |
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.. |
LUISAuthoring |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. |
Method Details
acceptLanguage
public String acceptLanguage()
Gets Gets or sets the preferred language for the response..
Returns:
apps
public Apps apps()
Gets the Apps object to access its operations.
Returns:
azureAccounts
public AzureAccounts azureAccounts()
Gets the AzureAccounts object to access its operations.
Returns:
endpoint
public String endpoint()
Gets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)..
Returns:
examples
public Examples examples()
Gets the Examples object to access its operations.
Returns:
features
public Features features()
Gets the Features object to access its operations.
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:
models
public Models models()
Gets the Models object to access its operations.
Returns:
patterns
public Patterns patterns()
Gets the Patterns object to access its operations.
Returns:
restClient
public RestClient restClient()
Gets the REST client.
Returns:
settings
public Settings settings()
Gets the Settings object to access its operations.
Returns:
trains
public Trains trains()
Gets the Trains object to access its operations.
Returns:
userAgent
public String userAgent()
Gets the User-Agent header for the client.
Returns:
versions
public Versions versions()
Gets the Versions object to access its operations.
Returns:
withAcceptLanguage
public LUISAuthoringClient withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..
Parameters:
Returns:
withEndpoint
public LUISAuthoringClient withEndpoint(String endpoint)
Sets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)..
Parameters:
Returns:
withGenerateClientRequestId
public 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:
Returns:
withLongRunningOperationRetryTimeout
public LUISAuthoringClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Parameters:
Returns:
Applies to
Azure SDK for Java