Class LUISAuthoringClientImpl

  • All Implemented Interfaces:
    LUISAuthoringClient

    public class LUISAuthoringClientImpl
    extends com.microsoft.azure.AzureServiceClient
    implements LUISAuthoringClient
    Initializes a new instance of the LUISAuthoringClientImpl class.
    • Constructor Detail

      • LUISAuthoringClientImpl

        public LUISAuthoringClientImpl​(com.microsoft.rest.credentials.ServiceClientCredentials credentials)
        Initializes an instance of LUISAuthoringClient client.
        Parameters:
        credentials - the management credentials for Azure
      • LUISAuthoringClientImpl

        public LUISAuthoringClientImpl​(String baseUrl,
                                       com.microsoft.rest.credentials.ServiceClientCredentials credentials)
        Initializes an instance of LUISAuthoringClient client.
        Parameters:
        baseUrl - the base URL of the host
        credentials - the management credentials for Azure
      • LUISAuthoringClientImpl

        public LUISAuthoringClientImpl​(com.microsoft.rest.RestClient restClient)
        Initializes an instance of LUISAuthoringClient client.
        Parameters:
        restClient - the REST client to connect to Azure.
    • Method Detail

      • getAzureClient

        public com.microsoft.azure.AzureClient getAzureClient()
        Gets the AzureClient used for long running operations.
        Specified by:
        getAzureClient in interface LUISAuthoringClient
        Returns:
        the azure client;
      • endpoint

        public String endpoint()
        Gets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).
        Specified by:
        endpoint in interface LUISAuthoringClient
        Returns:
        the endpoint value.
      • withEndpoint

        public LUISAuthoringClientImpl withEndpoint​(String endpoint)
        Sets Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).
        Specified by:
        withEndpoint in interface LUISAuthoringClient
        Parameters:
        endpoint - the endpoint value.
        Returns:
        the service client itself
      • acceptLanguage

        public String acceptLanguage()
        Gets Gets or sets the preferred language for the response.
        Specified by:
        acceptLanguage in interface LUISAuthoringClient
        Returns:
        the acceptLanguage value.
      • longRunningOperationRetryTimeout

        public int longRunningOperationRetryTimeout()
        Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
        Specified by:
        longRunningOperationRetryTimeout in interface LUISAuthoringClient
        Returns:
        the longRunningOperationRetryTimeout value.
      • withLongRunningOperationRetryTimeout

        public LUISAuthoringClientImpl withLongRunningOperationRetryTimeout​(int longRunningOperationRetryTimeout)
        Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
        Specified by:
        withLongRunningOperationRetryTimeout in interface LUISAuthoringClient
        Parameters:
        longRunningOperationRetryTimeout - the longRunningOperationRetryTimeout value.
        Returns:
        the service client itself
      • 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.
        Specified by:
        generateClientRequestId in interface LUISAuthoringClient
        Returns:
        the generateClientRequestId value.
      • withGenerateClientRequestId

        public LUISAuthoringClientImpl 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.
        Specified by:
        withGenerateClientRequestId in interface LUISAuthoringClient
        Parameters:
        generateClientRequestId - the generateClientRequestId value.
        Returns:
        the service client itself
      • features

        public Features features()
        Gets the Features object to access its operations.
        Specified by:
        features in interface LUISAuthoringClient
        Returns:
        the Features object.
      • examples

        public Examples examples()
        Gets the Examples object to access its operations.
        Specified by:
        examples in interface LUISAuthoringClient
        Returns:
        the Examples object.
      • models

        public Models models()
        Gets the Models object to access its operations.
        Specified by:
        models in interface LUISAuthoringClient
        Returns:
        the Models object.
      • apps

        public Apps apps()
        Gets the Apps object to access its operations.
        Specified by:
        apps in interface LUISAuthoringClient
        Returns:
        the Apps object.
      • versions

        public Versions versions()
        Gets the Versions object to access its operations.
        Specified by:
        versions in interface LUISAuthoringClient
        Returns:
        the Versions object.
      • trains

        public Trains trains()
        Gets the Trains object to access its operations.
        Specified by:
        trains in interface LUISAuthoringClient
        Returns:
        the Trains object.
      • patterns

        public Patterns patterns()
        Gets the Patterns object to access its operations.
        Specified by:
        patterns in interface LUISAuthoringClient
        Returns:
        the Patterns object.
      • settings

        public Settings settings()
        Gets the Settings object to access its operations.
        Specified by:
        settings in interface LUISAuthoringClient
        Returns:
        the Settings object.
      • initialize

        protected void initialize()
      • userAgent

        public String userAgent()
        Gets the User-Agent header for the client.
        Specified by:
        userAgent in interface LUISAuthoringClient
        Overrides:
        userAgent in class com.microsoft.azure.AzureServiceClient
        Returns:
        the user agent string.