Class AppsImpl

  • All Implemented Interfaces:
    Apps

    public class AppsImpl
    extends Object
    implements Apps
    An instance of this class provides access to all the operations defined in Apps.
    • Constructor Detail

      • AppsImpl

        public AppsImpl​(retrofit2.Retrofit retrofit,
                        LUISAuthoringClientImpl client)
        Initializes an instance of AppsImpl.
        Parameters:
        retrofit - the Retrofit instance built from a Retrofit Builder.
        client - the instance of the service client containing this operation class.
    • Method Detail

      • add

        public UUID add​(ApplicationCreateObject applicationCreateObject)
        Creates a new LUIS app.
        Specified by:
        add in interface Apps
        Parameters:
        applicationCreateObject - An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addAsync

        public com.microsoft.rest.ServiceFuture<UUID> addAsync​(ApplicationCreateObject applicationCreateObject,
                                                               com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Creates a new LUIS app.
        Parameters:
        applicationCreateObject - An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addAsync

        public rx.Observable<UUID> addAsync​(ApplicationCreateObject applicationCreateObject)
        Creates a new LUIS app.
        Specified by:
        addAsync in interface Apps
        Parameters:
        applicationCreateObject - An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addWithServiceResponseAsync​(ApplicationCreateObject applicationCreateObject)
        Creates a new LUIS app.
        Parameters:
        applicationCreateObject - An application containing Name, Description (optional), Culture, Usage Scenario (optional), Domain (optional) and initial version ID (optional) of the application. Default value for the version ID is "0.1". Note: the culture cannot be changed after the app is created.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAsync

        public com.microsoft.rest.ServiceFuture<List<ApplicationInfoResponse>> listAsync​(ListAppsOptionalParameter listOptionalParameter,
                                                                                         com.microsoft.rest.ServiceCallback<List<ApplicationInfoResponse>> serviceCallback)
        Lists all of the user's applications.
        Parameters:
        listOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAsync

        public rx.Observable<List<ApplicationInfoResponse>> listAsync​(ListAppsOptionalParameter listOptionalParameter)
        Lists all of the user's applications.
        Specified by:
        listAsync in interface Apps
        Parameters:
        listOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<ApplicationInfoResponse> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ApplicationInfoResponse>>> listWithServiceResponseAsync​(ListAppsOptionalParameter listOptionalParameter)
        Lists all of the user's applications.
        Parameters:
        listOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the List<ApplicationInfoResponse> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<ApplicationInfoResponse>>> listWithServiceResponseAsync​(Integer skip,
                                                                                                                             Integer take)
        Lists all of the user's applications.
        Parameters:
        skip - The number of entries to skip. Default value is 0.
        take - The number of entries to return. Maximum page size is 500. Default is 100.
        Returns:
        the observable to the List<ApplicationInfoResponse> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • list

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsListParameters list()
        Description copied from interface: Apps
        Lists all of the user's applications.
        Specified by:
        list in interface Apps
        Returns:
        the first stage of the list call
      • importMethod

        public UUID importMethod​(LuisApp luisApp,
                                 ImportMethodAppsOptionalParameter importMethodOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importMethod in interface Apps
        Parameters:
        luisApp - A LUIS application structure.
        importMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • importMethodAsync

        public com.microsoft.rest.ServiceFuture<UUID> importMethodAsync​(LuisApp luisApp,
                                                                        ImportMethodAppsOptionalParameter importMethodOptionalParameter,
                                                                        com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisApp - A LUIS application structure.
        importMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importMethodAsync

        public rx.Observable<UUID> importMethodAsync​(LuisApp luisApp,
                                                     ImportMethodAppsOptionalParameter importMethodOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importMethodAsync in interface Apps
        Parameters:
        luisApp - A LUIS application structure.
        importMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importMethodWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importMethodWithServiceResponseAsync​(LuisApp luisApp,
                                                                                                            ImportMethodAppsOptionalParameter importMethodOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisApp - A LUIS application structure.
        importMethodOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importMethodWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importMethodWithServiceResponseAsync​(LuisApp luisApp,
                                                                                                            String appName)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisApp - A LUIS application structure.
        appName - The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importMethod

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportMethodParameters importMethod()
        Description copied from interface: Apps
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importMethod in interface Apps
        Returns:
        the first stage of the importMethod call
      • listCortanaEndpointsAsync

        public com.microsoft.rest.ServiceFuture<PersonalAssistantsResponse> listCortanaEndpointsAsync​(com.microsoft.rest.ServiceCallback<PersonalAssistantsResponse> serviceCallback)
        Gets the endpoint URLs for the prebuilt Cortana applications.
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listCortanaEndpointsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<PersonalAssistantsResponse>> listCortanaEndpointsWithServiceResponseAsync()
        Gets the endpoint URLs for the prebuilt Cortana applications.
        Returns:
        the observable to the PersonalAssistantsResponse object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listDomainsAsync

        public com.microsoft.rest.ServiceFuture<List<String>> listDomainsAsync​(com.microsoft.rest.ServiceCallback<List<String>> serviceCallback)
        Gets the available application domains.
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listDomainsAsync

        public rx.Observable<List<String>> listDomainsAsync()
        Gets the available application domains.
        Specified by:
        listDomainsAsync in interface Apps
        Returns:
        the observable to the List<String> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listDomainsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<String>>> listDomainsWithServiceResponseAsync()
        Gets the available application domains.
        Returns:
        the observable to the List<String> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listUsageScenariosAsync

        public com.microsoft.rest.ServiceFuture<List<String>> listUsageScenariosAsync​(com.microsoft.rest.ServiceCallback<List<String>> serviceCallback)
        Gets the application available usage scenarios.
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listUsageScenariosAsync

        public rx.Observable<List<String>> listUsageScenariosAsync()
        Gets the application available usage scenarios.
        Specified by:
        listUsageScenariosAsync in interface Apps
        Returns:
        the observable to the List<String> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listUsageScenariosWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<String>>> listUsageScenariosWithServiceResponseAsync()
        Gets the application available usage scenarios.
        Returns:
        the observable to the List<String> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedCultures

        public List<AvailableCulture> listSupportedCultures()
        Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
        Specified by:
        listSupportedCultures in interface Apps
        Returns:
        the List<AvailableCulture> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listSupportedCulturesAsync

        public com.microsoft.rest.ServiceFuture<List<AvailableCulture>> listSupportedCulturesAsync​(com.microsoft.rest.ServiceCallback<List<AvailableCulture>> serviceCallback)
        Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedCulturesAsync

        public rx.Observable<List<AvailableCulture>> listSupportedCulturesAsync()
        Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
        Specified by:
        listSupportedCulturesAsync in interface Apps
        Returns:
        the observable to the List<AvailableCulture> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listSupportedCulturesWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<AvailableCulture>>> listSupportedCulturesWithServiceResponseAsync()
        Gets a list of supported cultures. Cultures are equivalent to the written language and locale. For example,"en-us" represents the U.S. variation of English.
        Returns:
        the observable to the List<AvailableCulture> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • downloadQueryLogs

        public InputStream downloadQueryLogs​(UUID appId)
        Gets the logs of the past month's endpoint queries for the application.
        Specified by:
        downloadQueryLogs in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the InputStream object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.azure.CloudException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • downloadQueryLogsAsync

        public com.microsoft.rest.ServiceFuture<InputStream> downloadQueryLogsAsync​(UUID appId,
                                                                                    com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
        Gets the logs of the past month's endpoint queries for the application.
        Parameters:
        appId - The application ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • downloadQueryLogsAsync

        public rx.Observable<InputStream> downloadQueryLogsAsync​(UUID appId)
        Gets the logs of the past month's endpoint queries for the application.
        Specified by:
        downloadQueryLogsAsync in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • downloadQueryLogsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>> downloadQueryLogsWithServiceResponseAsync​(UUID appId)
        Gets the logs of the past month's endpoint queries for the application.
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getAsync

        public com.microsoft.rest.ServiceFuture<ApplicationInfoResponse> getAsync​(UUID appId,
                                                                                  com.microsoft.rest.ServiceCallback<ApplicationInfoResponse> serviceCallback)
        Gets the application info.
        Parameters:
        appId - The application ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getAsync

        public rx.Observable<ApplicationInfoResponse> getAsync​(UUID appId)
        Gets the application info.
        Specified by:
        getAsync in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the ApplicationInfoResponse object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<ApplicationInfoResponse>> getWithServiceResponseAsync​(UUID appId)
        Gets the application info.
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the ApplicationInfoResponse object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • update

        public OperationStatus update​(UUID appId,
                                      ApplicationUpdateObject applicationUpdateObject)
        Updates the name or description of the application.
        Specified by:
        update in interface Apps
        Parameters:
        appId - The application ID.
        applicationUpdateObject - A model containing Name and Description of the application.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateAsync​(UUID appId,
                                                                             ApplicationUpdateObject applicationUpdateObject,
                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the name or description of the application.
        Parameters:
        appId - The application ID.
        applicationUpdateObject - A model containing Name and Description of the application.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateAsync

        public rx.Observable<OperationStatus> updateAsync​(UUID appId,
                                                          ApplicationUpdateObject applicationUpdateObject)
        Updates the name or description of the application.
        Specified by:
        updateAsync in interface Apps
        Parameters:
        appId - The application ID.
        applicationUpdateObject - A model containing Name and Description of the application.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateWithServiceResponseAsync​(UUID appId,
                                                                                                                 ApplicationUpdateObject applicationUpdateObject)
        Updates the name or description of the application.
        Parameters:
        appId - The application ID.
        applicationUpdateObject - A model containing Name and Description of the application.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • delete

        public OperationStatus delete​(UUID appId,
                                      DeleteAppsOptionalParameter deleteOptionalParameter)
        Deletes an application.
        Specified by:
        delete in interface Apps
        Parameters:
        appId - The application ID.
        deleteOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • deleteAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> deleteAsync​(UUID appId,
                                                                             DeleteAppsOptionalParameter deleteOptionalParameter,
                                                                             com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Deletes an application.
        Parameters:
        appId - The application ID.
        deleteOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteAsync

        public rx.Observable<OperationStatus> deleteAsync​(UUID appId,
                                                          DeleteAppsOptionalParameter deleteOptionalParameter)
        Deletes an application.
        Specified by:
        deleteAsync in interface Apps
        Parameters:
        appId - The application ID.
        deleteOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteWithServiceResponseAsync​(UUID appId,
                                                                                                                 DeleteAppsOptionalParameter deleteOptionalParameter)
        Deletes an application.
        Parameters:
        appId - The application ID.
        deleteOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • deleteWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> deleteWithServiceResponseAsync​(UUID appId,
                                                                                                                 Boolean force)
        Deletes an application.
        Parameters:
        appId - The application ID.
        force - A flag to indicate whether to force an operation.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • delete

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsDeleteParameters delete()
        Description copied from interface: Apps
        Deletes an application.
        Specified by:
        delete in interface Apps
        Returns:
        the first stage of the delete call
      • publish

        public ProductionOrStagingEndpointInfo publish​(UUID appId,
                                                       ApplicationPublishObject applicationPublishObject)
        Publishes a specific version of the application.
        Specified by:
        publish in interface Apps
        Parameters:
        appId - The application ID.
        applicationPublishObject - The application publish object. The region is the target region that the application is published to.
        Returns:
        the ProductionOrStagingEndpointInfo object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • publishAsync

        public com.microsoft.rest.ServiceFuture<ProductionOrStagingEndpointInfo> publishAsync​(UUID appId,
                                                                                              ApplicationPublishObject applicationPublishObject,
                                                                                              com.microsoft.rest.ServiceCallback<ProductionOrStagingEndpointInfo> serviceCallback)
        Publishes a specific version of the application.
        Parameters:
        appId - The application ID.
        applicationPublishObject - The application publish object. The region is the target region that the application is published to.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • publishAsync

        public rx.Observable<ProductionOrStagingEndpointInfo> publishAsync​(UUID appId,
                                                                           ApplicationPublishObject applicationPublishObject)
        Publishes a specific version of the application.
        Specified by:
        publishAsync in interface Apps
        Parameters:
        appId - The application ID.
        applicationPublishObject - The application publish object. The region is the target region that the application is published to.
        Returns:
        the observable to the ProductionOrStagingEndpointInfo object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • publishWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<ProductionOrStagingEndpointInfo>> publishWithServiceResponseAsync​(UUID appId,
                                                                                                                                  ApplicationPublishObject applicationPublishObject)
        Publishes a specific version of the application.
        Parameters:
        appId - The application ID.
        applicationPublishObject - The application publish object. The region is the target region that the application is published to.
        Returns:
        the observable to the ProductionOrStagingEndpointInfo object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getSettings

        public ApplicationSettings getSettings​(UUID appId)
        Get the application settings including 'UseAllTrainingData'.
        Specified by:
        getSettings in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the ApplicationSettings object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getSettingsAsync

        public com.microsoft.rest.ServiceFuture<ApplicationSettings> getSettingsAsync​(UUID appId,
                                                                                      com.microsoft.rest.ServiceCallback<ApplicationSettings> serviceCallback)
        Get the application settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getSettingsAsync

        public rx.Observable<ApplicationSettings> getSettingsAsync​(UUID appId)
        Get the application settings including 'UseAllTrainingData'.
        Specified by:
        getSettingsAsync in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the ApplicationSettings object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getSettingsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<ApplicationSettings>> getSettingsWithServiceResponseAsync​(UUID appId)
        Get the application settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the ApplicationSettings object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSettings

        public OperationStatus updateSettings​(UUID appId,
                                              UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
        Updates the application settings including 'UseAllTrainingData'.
        Specified by:
        updateSettings in interface Apps
        Parameters:
        appId - The application ID.
        updateSettingsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updateSettingsAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updateSettingsAsync​(UUID appId,
                                                                                     UpdateSettingsOptionalParameter updateSettingsOptionalParameter,
                                                                                     com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the application settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        updateSettingsOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSettingsAsync

        public rx.Observable<OperationStatus> updateSettingsAsync​(UUID appId,
                                                                  UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
        Updates the application settings including 'UseAllTrainingData'.
        Specified by:
        updateSettingsAsync in interface Apps
        Parameters:
        appId - The application ID.
        updateSettingsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSettingsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateSettingsWithServiceResponseAsync​(UUID appId,
                                                                                                                         UpdateSettingsOptionalParameter updateSettingsOptionalParameter)
        Updates the application settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        updateSettingsOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSettingsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updateSettingsWithServiceResponseAsync​(UUID appId,
                                                                                                                         boolean isPublic)
        Updates the application settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        isPublic - Setting your application as public allows other people to use your application's endpoint using their own keys.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updateSettings

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsUpdateSettingsParameters updateSettings()
        Description copied from interface: Apps
        Updates the application settings including 'UseAllTrainingData'.
        Specified by:
        updateSettings in interface Apps
        Returns:
        the first stage of the updateSettings call
      • getPublishSettings

        public PublishSettings getPublishSettings​(UUID appId)
        Get the application publish settings including 'UseAllTrainingData'.
        Specified by:
        getPublishSettings in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the PublishSettings object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • getPublishSettingsAsync

        public com.microsoft.rest.ServiceFuture<PublishSettings> getPublishSettingsAsync​(UUID appId,
                                                                                         com.microsoft.rest.ServiceCallback<PublishSettings> serviceCallback)
        Get the application publish settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPublishSettingsAsync

        public rx.Observable<PublishSettings> getPublishSettingsAsync​(UUID appId)
        Get the application publish settings including 'UseAllTrainingData'.
        Specified by:
        getPublishSettingsAsync in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the PublishSettings object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • getPublishSettingsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<PublishSettings>> getPublishSettingsWithServiceResponseAsync​(UUID appId)
        Get the application publish settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the PublishSettings object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePublishSettings

        public OperationStatus updatePublishSettings​(UUID appId,
                                                     PublishSettingUpdateObject publishSettingUpdateObject)
        Updates the application publish settings including 'UseAllTrainingData'.
        Specified by:
        updatePublishSettings in interface Apps
        Parameters:
        appId - The application ID.
        publishSettingUpdateObject - An object containing the new publish application settings.
        Returns:
        the OperationStatus object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • updatePublishSettingsAsync

        public com.microsoft.rest.ServiceFuture<OperationStatus> updatePublishSettingsAsync​(UUID appId,
                                                                                            PublishSettingUpdateObject publishSettingUpdateObject,
                                                                                            com.microsoft.rest.ServiceCallback<OperationStatus> serviceCallback)
        Updates the application publish settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        publishSettingUpdateObject - An object containing the new publish application settings.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePublishSettingsAsync

        public rx.Observable<OperationStatus> updatePublishSettingsAsync​(UUID appId,
                                                                         PublishSettingUpdateObject publishSettingUpdateObject)
        Updates the application publish settings including 'UseAllTrainingData'.
        Specified by:
        updatePublishSettingsAsync in interface Apps
        Parameters:
        appId - The application ID.
        publishSettingUpdateObject - An object containing the new publish application settings.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • updatePublishSettingsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<OperationStatus>> updatePublishSettingsWithServiceResponseAsync​(UUID appId,
                                                                                                                                PublishSettingUpdateObject publishSettingUpdateObject)
        Updates the application publish settings including 'UseAllTrainingData'.
        Parameters:
        appId - The application ID.
        publishSettingUpdateObject - An object containing the new publish application settings.
        Returns:
        the observable to the OperationStatus object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEndpoints

        public Map<String,​String> listEndpoints​(UUID appId)
        Returns the available endpoint deployment regions and URLs.
        Specified by:
        listEndpoints in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the Map<String, String> object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • listEndpointsAsync

        public com.microsoft.rest.ServiceFuture<Map<String,​String>> listEndpointsAsync​(UUID appId,
                                                                                             com.microsoft.rest.ServiceCallback<Map<String,​String>> serviceCallback)
        Returns the available endpoint deployment regions and URLs.
        Parameters:
        appId - The application ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEndpointsAsync

        public rx.Observable<Map<String,​String>> listEndpointsAsync​(UUID appId)
        Returns the available endpoint deployment regions and URLs.
        Specified by:
        listEndpointsAsync in interface Apps
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the Map<String, String> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listEndpointsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Map<String,​String>>> listEndpointsWithServiceResponseAsync​(UUID appId)
        Returns the available endpoint deployment regions and URLs.
        Parameters:
        appId - The application ID.
        Returns:
        the observable to the Map<String, String> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAvailableCustomPrebuiltDomainsAsync

        public com.microsoft.rest.ServiceFuture<List<PrebuiltDomain>> listAvailableCustomPrebuiltDomainsAsync​(com.microsoft.rest.ServiceCallback<List<PrebuiltDomain>> serviceCallback)
        Gets all the available custom prebuilt domains for all cultures.
        Parameters:
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAvailableCustomPrebuiltDomainsWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltDomain>>> listAvailableCustomPrebuiltDomainsWithServiceResponseAsync()
        Gets all the available custom prebuilt domains for all cultures.
        Returns:
        the observable to the List<PrebuiltDomain> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomain

        public UUID addCustomPrebuiltDomain​(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
        Adds a prebuilt domain along with its intent and entity models as a new application.
        Specified by:
        addCustomPrebuiltDomain in interface Apps
        Parameters:
        prebuiltDomainCreateObject - A prebuilt domain create object containing the name and culture of the domain.
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • addCustomPrebuiltDomainAsync

        public com.microsoft.rest.ServiceFuture<UUID> addCustomPrebuiltDomainAsync​(PrebuiltDomainCreateObject prebuiltDomainCreateObject,
                                                                                   com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Adds a prebuilt domain along with its intent and entity models as a new application.
        Parameters:
        prebuiltDomainCreateObject - A prebuilt domain create object containing the name and culture of the domain.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomainAsync

        public rx.Observable<UUID> addCustomPrebuiltDomainAsync​(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
        Adds a prebuilt domain along with its intent and entity models as a new application.
        Specified by:
        addCustomPrebuiltDomainAsync in interface Apps
        Parameters:
        prebuiltDomainCreateObject - A prebuilt domain create object containing the name and culture of the domain.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • addCustomPrebuiltDomainWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> addCustomPrebuiltDomainWithServiceResponseAsync​(PrebuiltDomainCreateObject prebuiltDomainCreateObject)
        Adds a prebuilt domain along with its intent and entity models as a new application.
        Parameters:
        prebuiltDomainCreateObject - A prebuilt domain create object containing the name and culture of the domain.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAvailableCustomPrebuiltDomainsForCultureAsync

        public com.microsoft.rest.ServiceFuture<List<PrebuiltDomain>> listAvailableCustomPrebuiltDomainsForCultureAsync​(String culture,
                                                                                                                        com.microsoft.rest.ServiceCallback<List<PrebuiltDomain>> serviceCallback)
        Gets all the available prebuilt domains for a specific culture.
        Parameters:
        culture - Culture.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • listAvailableCustomPrebuiltDomainsForCultureWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<List<PrebuiltDomain>>> listAvailableCustomPrebuiltDomainsForCultureWithServiceResponseAsync​(String culture)
        Gets all the available prebuilt domains for a specific culture.
        Parameters:
        culture - Culture.
        Returns:
        the observable to the List<PrebuiltDomain> object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • packagePublishedApplicationAsGzip

        public InputStream packagePublishedApplicationAsGzip​(UUID appId,
                                                             String slotName)
        package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container.
        Specified by:
        packagePublishedApplicationAsGzip in interface Apps
        Parameters:
        appId - The application ID.
        slotName - The publishing slot name.
        Returns:
        the InputStream object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • packagePublishedApplicationAsGzipAsync

        public com.microsoft.rest.ServiceFuture<InputStream> packagePublishedApplicationAsGzipAsync​(UUID appId,
                                                                                                    String slotName,
                                                                                                    com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
        package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container.
        Parameters:
        appId - The application ID.
        slotName - The publishing slot name.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • packagePublishedApplicationAsGzipAsync

        public rx.Observable<InputStream> packagePublishedApplicationAsGzipAsync​(UUID appId,
                                                                                 String slotName)
        package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container.
        Specified by:
        packagePublishedApplicationAsGzipAsync in interface Apps
        Parameters:
        appId - The application ID.
        slotName - The publishing slot name.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • packagePublishedApplicationAsGzipWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>> packagePublishedApplicationAsGzipWithServiceResponseAsync​(UUID appId,
                                                                                                                                        String slotName)
        package - Gets published LUIS application package in binary stream GZip format. Packages a published LUIS application as a GZip file to be used in the LUIS container.
        Parameters:
        appId - The application ID.
        slotName - The publishing slot name.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • packageTrainedApplicationAsGzip

        public InputStream packageTrainedApplicationAsGzip​(UUID appId,
                                                           String versionId)
        package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container.
        Specified by:
        packageTrainedApplicationAsGzip in interface Apps
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the InputStream object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • packageTrainedApplicationAsGzipAsync

        public com.microsoft.rest.ServiceFuture<InputStream> packageTrainedApplicationAsGzipAsync​(UUID appId,
                                                                                                  String versionId,
                                                                                                  com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
        package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • packageTrainedApplicationAsGzipAsync

        public rx.Observable<InputStream> packageTrainedApplicationAsGzipAsync​(UUID appId,
                                                                               String versionId)
        package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container.
        Specified by:
        packageTrainedApplicationAsGzipAsync in interface Apps
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • packageTrainedApplicationAsGzipWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<InputStream>> packageTrainedApplicationAsGzipWithServiceResponseAsync​(UUID appId,
                                                                                                                                      String versionId)
        package - Gets trained LUIS application package in binary stream GZip format. Packages trained LUIS application as GZip file to be used in the LUIS container.
        Parameters:
        appId - The application ID.
        versionId - The version ID.
        Returns:
        the observable to the InputStream object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importV2App

        public UUID importV2App​(LuisAppV2 luisAppV2,
                                ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importV2App in interface Apps
        Parameters:
        luisAppV2 - A LUIS application structure.
        importV2AppOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • importV2AppAsync

        public com.microsoft.rest.ServiceFuture<UUID> importV2AppAsync​(LuisAppV2 luisAppV2,
                                                                       ImportV2AppAppsOptionalParameter importV2AppOptionalParameter,
                                                                       com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisAppV2 - A LUIS application structure.
        importV2AppOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importV2AppAsync

        public rx.Observable<UUID> importV2AppAsync​(LuisAppV2 luisAppV2,
                                                    ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importV2AppAsync in interface Apps
        Parameters:
        luisAppV2 - A LUIS application structure.
        importV2AppOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importV2AppWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importV2AppWithServiceResponseAsync​(LuisAppV2 luisAppV2,
                                                                                                           ImportV2AppAppsOptionalParameter importV2AppOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisAppV2 - A LUIS application structure.
        importV2AppOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importV2AppWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importV2AppWithServiceResponseAsync​(LuisAppV2 luisAppV2,
                                                                                                           String appName)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisAppV2 - A LUIS application structure.
        appName - The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importV2App

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportV2AppParameters importV2App()
        Description copied from interface: Apps
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importV2App in interface Apps
        Returns:
        the first stage of the importV2App call
      • importLuFormat

        public UUID importLuFormat​(String luisAppLu,
                                   ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importLuFormat in interface Apps
        Parameters:
        luisAppLu - A LUIS application structure.
        importLuFormatOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the UUID object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        ErrorResponseException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • importLuFormatAsync

        public com.microsoft.rest.ServiceFuture<UUID> importLuFormatAsync​(String luisAppLu,
                                                                          ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter,
                                                                          com.microsoft.rest.ServiceCallback<UUID> serviceCallback)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisAppLu - A LUIS application structure.
        importLuFormatOptionalParameter - the object representing the optional parameters to be set before calling this API
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importLuFormatAsync

        public rx.Observable<UUID> importLuFormatAsync​(String luisAppLu,
                                                       ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importLuFormatAsync in interface Apps
        Parameters:
        luisAppLu - A LUIS application structure.
        importLuFormatOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importLuFormatWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importLuFormatWithServiceResponseAsync​(String luisAppLu,
                                                                                                              ImportLuFormatAppsOptionalParameter importLuFormatOptionalParameter)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisAppLu - A LUIS application structure.
        importLuFormatOptionalParameter - the object representing the optional parameters to be set before calling this API
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importLuFormatWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<UUID>> importLuFormatWithServiceResponseAsync​(String luisAppLu,
                                                                                                              String appName)
        Imports an application to LUIS, the application's structure is included in the request body.
        Parameters:
        luisAppLu - A LUIS application structure.
        appName - The application name to create. If not specified, the application name will be read from the imported object. If the application name already exists, an error is returned.
        Returns:
        the observable to the UUID object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • importLuFormat

        public com.microsoft.azure.cognitiveservices.language.luis.authoring.implementation.AppsImpl.AppsImportLuFormatParameters importLuFormat()
        Description copied from interface: Apps
        Imports an application to LUIS, the application's structure is included in the request body.
        Specified by:
        importLuFormat in interface Apps
        Returns:
        the first stage of the importLuFormat call