ServicesResourceApi (cloudera-manager-api-swagger 7.8.1 API)
Date: 2022-11-17

com.cloudera.api.swagger

## Class ServicesResourceApi

- java.lang.Object
- - com.cloudera.api.swagger.ServicesResourceApi

-     public class ServicesResourceApi
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServicesResourceApi()`
    `ServicesResourceApi(ApiClient apiClient)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<ApiEntityTag>` | `addTags(String clusterName, String serviceName, List<ApiEntityTag> body)` Attach tags to the service.
    `com.squareup.okhttp.Call` | `addTagsAsync(String clusterName, String serviceName, List<ApiEntityTag> body, ApiCallback<List<ApiEntityTag>> callback)` Attach tags to the service.
    `com.squareup.okhttp.Call` | `addTagsCall(String clusterName, String serviceName, List<ApiEntityTag> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for addTags
    `ApiResponse<List<ApiEntityTag>>` | `addTagsWithHttpInfo(String clusterName, String serviceName, List<ApiEntityTag> body)` Attach tags to the service.
    `ApiCommand` | `collectYarnApplicationDiagnostics(String clusterName, String serviceName, ApiYarnApplicationDiagnosticsCollectionArgs body)` Collect the Diagnostics data for Yarn applications.
    `com.squareup.okhttp.Call` | `collectYarnApplicationDiagnosticsAsync(String clusterName, String serviceName, ApiYarnApplicationDiagnosticsCollectionArgs body, ApiCallback<ApiCommand> callback)` Collect the Diagnostics data for Yarn applications.
    `com.squareup.okhttp.Call` | `collectYarnApplicationDiagnosticsCall(String clusterName, String serviceName, ApiYarnApplicationDiagnosticsCollectionArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for collectYarnApplicationDiagnostics
    `ApiResponse<ApiCommand>` | `collectYarnApplicationDiagnosticsWithHttpInfo(String clusterName, String serviceName, ApiYarnApplicationDiagnosticsCollectionArgs body)` Collect the Diagnostics data for Yarn applications.
    `ApiCommand` | `copyHdfsFile(String clusterName, String serviceName, String destinationPath, String sourcePath, ApiServiceRef body)` Copies source HDFS file to destination cluster HDFS.
    `com.squareup.okhttp.Call` | `copyHdfsFileAsync(String clusterName, String serviceName, String destinationPath, String sourcePath, ApiServiceRef body, ApiCallback<ApiCommand> callback)` Copies source HDFS file to destination cluster HDFS.
    `com.squareup.okhttp.Call` | `copyHdfsFileCall(String clusterName, String serviceName, String destinationPath, String sourcePath, ApiServiceRef body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for copyHdfsFile
    `ApiResponse<ApiCommand>` | `copyHdfsFileWithHttpInfo(String clusterName, String serviceName, String destinationPath, String sourcePath, ApiServiceRef body)` Copies source HDFS file to destination cluster HDFS.
    `ApiCommand` | `createBeeswaxWarehouseCommand(String clusterName, String serviceName)` Create the Beeswax role's Hive warehouse directory, on Hue services.
    `com.squareup.okhttp.Call` | `createBeeswaxWarehouseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Beeswax role's Hive warehouse directory, on Hue services.
    `com.squareup.okhttp.Call` | `createBeeswaxWarehouseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createBeeswaxWarehouseCommand
    `ApiResponse<ApiCommand>` | `createBeeswaxWarehouseCommandWithHttpInfo(String clusterName, String serviceName)` Create the Beeswax role's Hive warehouse directory, on Hue services.
    `ApiCommand` | `createHBaseRootCommand(String clusterName, String serviceName)` Creates the root directory of an HBase service.
    `com.squareup.okhttp.Call` | `createHBaseRootCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates the root directory of an HBase service.
    `com.squareup.okhttp.Call` | `createHBaseRootCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createHBaseRootCommand
    `ApiResponse<ApiCommand>` | `createHBaseRootCommandWithHttpInfo(String clusterName, String serviceName)` Creates the root directory of an HBase service.
    `String` | `createHdfsFile(String clusterName, String serviceName, Boolean overwrite, String path, String body)`
    `com.squareup.okhttp.Call` | `createHdfsFileAsync(String clusterName, String serviceName, Boolean overwrite, String path, String body, ApiCallback<String> callback)` (asynchronously)
    `com.squareup.okhttp.Call` | `createHdfsFileCall(String clusterName, String serviceName, Boolean overwrite, String path, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createHdfsFile
    `ApiResponse<String>` | `createHdfsFileWithHttpInfo(String clusterName, String serviceName, Boolean overwrite, String path, String body)`
    `ApiCommand` | `createHiveUserDirCommand(String clusterName, String serviceName)` Create the Hive user directory.
    `com.squareup.okhttp.Call` | `createHiveUserDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Hive user directory.
    `com.squareup.okhttp.Call` | `createHiveUserDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createHiveUserDirCommand
    `ApiResponse<ApiCommand>` | `createHiveUserDirCommandWithHttpInfo(String clusterName, String serviceName)` Create the Hive user directory.
    `ApiCommand` | `createHiveWarehouseCommand(String clusterName, String serviceName)` Create the Hive warehouse directory, on Hive services.
    `com.squareup.okhttp.Call` | `createHiveWarehouseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Hive warehouse directory, on Hive services.
    `com.squareup.okhttp.Call` | `createHiveWarehouseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createHiveWarehouseCommand
    `ApiResponse<ApiCommand>` | `createHiveWarehouseCommandWithHttpInfo(String clusterName, String serviceName)` Create the Hive warehouse directory, on Hive services.
    `ApiCommand` | `createHiveWarehouseExternalCommand(String clusterName, String serviceName, String directory)` Create the Hive warehouse external directory for Private Cloud.
    `com.squareup.okhttp.Call` | `createHiveWarehouseExternalCommandAsync(String clusterName, String serviceName, String directory, ApiCallback<ApiCommand> callback)` Create the Hive warehouse external directory for Private Cloud.
    `com.squareup.okhttp.Call` | `createHiveWarehouseExternalCommandCall(String clusterName, String serviceName, String directory, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createHiveWarehouseExternalCommand
    `ApiResponse<ApiCommand>` | `createHiveWarehouseExternalCommandWithHttpInfo(String clusterName, String serviceName, String directory)` Create the Hive warehouse external directory for Private Cloud.
    `ApiCommand` | `createImpalaUserDirCommand(String clusterName, String serviceName)` Create the Impala user directory.
    `com.squareup.okhttp.Call` | `createImpalaUserDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Impala user directory.
    `com.squareup.okhttp.Call` | `createImpalaUserDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createImpalaUserDirCommand
    `ApiResponse<ApiCommand>` | `createImpalaUserDirCommandWithHttpInfo(String clusterName, String serviceName)` Create the Impala user directory.
    `ApiCommand` | `createOozieDb(String clusterName, String serviceName)` Creates the Oozie Database Schema in the configured database.
    `com.squareup.okhttp.Call` | `createOozieDbAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates the Oozie Database Schema in the configured database.
    `com.squareup.okhttp.Call` | `createOozieDbCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createOozieDb
    `ApiResponse<ApiCommand>` | `createOozieDbWithHttpInfo(String clusterName, String serviceName)` Creates the Oozie Database Schema in the configured database.
    `ApiServiceList` | `createServices(String clusterName, ApiServiceList body)` Creates a list of services.
    `com.squareup.okhttp.Call` | `createServicesAsync(String clusterName, ApiServiceList body, ApiCallback<ApiServiceList> callback)` Creates a list of services.
    `com.squareup.okhttp.Call` | `createServicesCall(String clusterName, ApiServiceList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createServices
    `ApiResponse<ApiServiceList>` | `createServicesWithHttpInfo(String clusterName, ApiServiceList body)` Creates a list of services.
    `ApiCommand` | `createSolrHdfsHomeDirCommand(String clusterName, String serviceName)` Creates the home directory of a Solr service in HDFS.
    `com.squareup.okhttp.Call` | `createSolrHdfsHomeDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates the home directory of a Solr service in HDFS.
    `com.squareup.okhttp.Call` | `createSolrHdfsHomeDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createSolrHdfsHomeDirCommand
    `ApiResponse<ApiCommand>` | `createSolrHdfsHomeDirCommandWithHttpInfo(String clusterName, String serviceName)` Creates the home directory of a Solr service in HDFS.
    `ApiCommand` | `createSqoopUserDirCommand(String clusterName, String serviceName)` Creates the user directory of a Sqoop service in HDFS.
    `com.squareup.okhttp.Call` | `createSqoopUserDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates the user directory of a Sqoop service in HDFS.
    `com.squareup.okhttp.Call` | `createSqoopUserDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createSqoopUserDirCommand
    `ApiResponse<ApiCommand>` | `createSqoopUserDirCommandWithHttpInfo(String clusterName, String serviceName)` Creates the user directory of a Sqoop service in HDFS.
    `ApiCommand` | `createYarnCmContainerUsageInputDirCommand(String clusterName, String serviceName)` Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics.
    `com.squareup.okhttp.Call` | `createYarnCmContainerUsageInputDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics.
    `com.squareup.okhttp.Call` | `createYarnCmContainerUsageInputDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createYarnCmContainerUsageInputDirCommand
    `ApiResponse<ApiCommand>` | `createYarnCmContainerUsageInputDirCommandWithHttpInfo(String clusterName, String serviceName)` Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics.
    `ApiCommand` | `createYarnJobHistoryDirCommand(String clusterName, String serviceName)` Create the Yarn job history directory.
    `com.squareup.okhttp.Call` | `createYarnJobHistoryDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Yarn job history directory.
    `com.squareup.okhttp.Call` | `createYarnJobHistoryDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createYarnJobHistoryDirCommand
    `ApiResponse<ApiCommand>` | `createYarnJobHistoryDirCommandWithHttpInfo(String clusterName, String serviceName)` Create the Yarn job history directory.
    `ApiCommand` | `createYarnNodeManagerRemoteAppLogDirCommand(String clusterName, String serviceName)` Create the Yarn NodeManager remote application log directory.
    `com.squareup.okhttp.Call` | `createYarnNodeManagerRemoteAppLogDirCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Yarn NodeManager remote application log directory.
    `com.squareup.okhttp.Call` | `createYarnNodeManagerRemoteAppLogDirCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for createYarnNodeManagerRemoteAppLogDirCommand
    `ApiResponse<ApiCommand>` | `createYarnNodeManagerRemoteAppLogDirCommandWithHttpInfo(String clusterName, String serviceName)` Create the Yarn NodeManager remote application log directory.
    `ApiCommand` | `decommissionCommand(String clusterName, String serviceName, ApiRoleNameList body)` Decommission roles of a service.
    `com.squareup.okhttp.Call` | `decommissionCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiCommand> callback)` Decommission roles of a service.
    `com.squareup.okhttp.Call` | `decommissionCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for decommissionCommand
    `ApiResponse<ApiCommand>` | `decommissionCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body)` Decommission roles of a service.
    `DeleteHdfsPathResult` | `deleteHdfsPath(String clusterName, String serviceName, String path, Boolean recursive)` Deletes the file or directory, specified by the given path, on the given HDFS service.
    `com.squareup.okhttp.Call` | `deleteHdfsPathAsync(String clusterName, String serviceName, String path, Boolean recursive, ApiCallback<DeleteHdfsPathResult> callback)` Deletes the file or directory, specified by the given path, on the given HDFS service.
    `com.squareup.okhttp.Call` | `deleteHdfsPathCall(String clusterName, String serviceName, String path, Boolean recursive, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for deleteHdfsPath
    `ApiResponse<DeleteHdfsPathResult>` | `deleteHdfsPathWithHttpInfo(String clusterName, String serviceName, String path, Boolean recursive)` Deletes the file or directory, specified by the given path, on the given HDFS service.
    `ApiService` | `deleteService(String clusterName, String serviceName)` Deletes a service from the system.
    `com.squareup.okhttp.Call` | `deleteServiceAsync(String clusterName, String serviceName, ApiCallback<ApiService> callback)` Deletes a service from the system.
    `com.squareup.okhttp.Call` | `deleteServiceCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for deleteService
    `ApiResponse<ApiService>` | `deleteServiceWithHttpInfo(String clusterName, String serviceName)` Deletes a service from the system.
    `List<ApiEntityTag>` | `deleteTags(String clusterName, String serviceName, List<ApiEntityTag> body)` Remove the tags associated with the service.
    `com.squareup.okhttp.Call` | `deleteTagsAsync(String clusterName, String serviceName, List<ApiEntityTag> body, ApiCallback<List<ApiEntityTag>> callback)` Remove the tags associated with the service.
    `com.squareup.okhttp.Call` | `deleteTagsCall(String clusterName, String serviceName, List<ApiEntityTag> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for deleteTags
    `ApiResponse<List<ApiEntityTag>>` | `deleteTagsWithHttpInfo(String clusterName, String serviceName, List<ApiEntityTag> body)` Remove the tags associated with the service.
    `ApiCommand` | `deployClientConfigCommand(String clusterName, String serviceName, ApiRoleNameList body)` Deploy a service's client configuration.
    `com.squareup.okhttp.Call` | `deployClientConfigCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiCommand> callback)` Deploy a service's client configuration.
    `com.squareup.okhttp.Call` | `deployClientConfigCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for deployClientConfigCommand
    `ApiResponse<ApiCommand>` | `deployClientConfigCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body)` Deploy a service's client configuration.
    `ApiCommand` | `disableJtHaCommand(String clusterName, String serviceName, ApiDisableJtHaArguments body)` Disable high availability (HA) for JobTracker.
    `com.squareup.okhttp.Call` | `disableJtHaCommandAsync(String clusterName, String serviceName, ApiDisableJtHaArguments body, ApiCallback<ApiCommand> callback)` Disable high availability (HA) for JobTracker.
    `com.squareup.okhttp.Call` | `disableJtHaCommandCall(String clusterName, String serviceName, ApiDisableJtHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for disableJtHaCommand
    `ApiResponse<ApiCommand>` | `disableJtHaCommandWithHttpInfo(String clusterName, String serviceName, ApiDisableJtHaArguments body)` Disable high availability (HA) for JobTracker.
    `ApiCommand` | `disableLlamaHaCommand(String clusterName, String serviceName, ApiDisableLlamaHaArguments body)` Not Supported.
    `com.squareup.okhttp.Call` | `disableLlamaHaCommandAsync(String clusterName, String serviceName, ApiDisableLlamaHaArguments body, ApiCallback<ApiCommand> callback)` Not Supported.
    `com.squareup.okhttp.Call` | `disableLlamaHaCommandCall(String clusterName, String serviceName, ApiDisableLlamaHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for disableLlamaHaCommand
    `ApiResponse<ApiCommand>` | `disableLlamaHaCommandWithHttpInfo(String clusterName, String serviceName, ApiDisableLlamaHaArguments body)` Not Supported.
    `ApiCommand` | `disableLlamaRmCommand(String clusterName, String serviceName)` Not Supported.
    `com.squareup.okhttp.Call` | `disableLlamaRmCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Not Supported.
    `com.squareup.okhttp.Call` | `disableLlamaRmCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for disableLlamaRmCommand
    `ApiResponse<ApiCommand>` | `disableLlamaRmCommandWithHttpInfo(String clusterName, String serviceName)` Not Supported.
    `ApiCommand` | `disableOozieHaCommand(String clusterName, String serviceName, ApiDisableOozieHaArguments body)` Disable high availability (HA) for Oozie.
    `com.squareup.okhttp.Call` | `disableOozieHaCommandAsync(String clusterName, String serviceName, ApiDisableOozieHaArguments body, ApiCallback<ApiCommand> callback)` Disable high availability (HA) for Oozie.
    `com.squareup.okhttp.Call` | `disableOozieHaCommandCall(String clusterName, String serviceName, ApiDisableOozieHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for disableOozieHaCommand
    `ApiResponse<ApiCommand>` | `disableOozieHaCommandWithHttpInfo(String clusterName, String serviceName, ApiDisableOozieHaArguments body)` Disable high availability (HA) for Oozie.
    `ApiCommand` | `disableRmHaCommand(String clusterName, String serviceName, ApiDisableRmHaArguments body)` Disable high availability (HA) for ResourceManager.
    `com.squareup.okhttp.Call` | `disableRmHaCommandAsync(String clusterName, String serviceName, ApiDisableRmHaArguments body, ApiCallback<ApiCommand> callback)` Disable high availability (HA) for ResourceManager.
    `com.squareup.okhttp.Call` | `disableRmHaCommandCall(String clusterName, String serviceName, ApiDisableRmHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for disableRmHaCommand
    `ApiResponse<ApiCommand>` | `disableRmHaCommandWithHttpInfo(String clusterName, String serviceName, ApiDisableRmHaArguments body)` Disable high availability (HA) for ResourceManager.
    `ApiCommand` | `disableSentryHaCommand(String clusterName, String serviceName, ApiDisableSentryHaArgs body)` Disable high availability (HA) for Sentry service.
    `com.squareup.okhttp.Call` | `disableSentryHaCommandAsync(String clusterName, String serviceName, ApiDisableSentryHaArgs body, ApiCallback<ApiCommand> callback)` Disable high availability (HA) for Sentry service.
    `com.squareup.okhttp.Call` | `disableSentryHaCommandCall(String clusterName, String serviceName, ApiDisableSentryHaArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for disableSentryHaCommand
    `ApiResponse<ApiCommand>` | `disableSentryHaCommandWithHttpInfo(String clusterName, String serviceName, ApiDisableSentryHaArgs body)` Disable high availability (HA) for Sentry service.
    `ApiCommand` | `enableJtHaCommand(String clusterName, String serviceName, ApiEnableJtHaArguments body)` Enable high availability (HA) for a JobTracker.
    `com.squareup.okhttp.Call` | `enableJtHaCommandAsync(String clusterName, String serviceName, ApiEnableJtHaArguments body, ApiCallback<ApiCommand> callback)` Enable high availability (HA) for a JobTracker.
    `com.squareup.okhttp.Call` | `enableJtHaCommandCall(String clusterName, String serviceName, ApiEnableJtHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enableJtHaCommand
    `ApiResponse<ApiCommand>` | `enableJtHaCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableJtHaArguments body)` Enable high availability (HA) for a JobTracker.
    `ApiCommand` | `enableLlamaHaCommand(String clusterName, String serviceName, ApiEnableLlamaHaArguments body)` Not Supported.
    `com.squareup.okhttp.Call` | `enableLlamaHaCommandAsync(String clusterName, String serviceName, ApiEnableLlamaHaArguments body, ApiCallback<ApiCommand> callback)` Not Supported.
    `com.squareup.okhttp.Call` | `enableLlamaHaCommandCall(String clusterName, String serviceName, ApiEnableLlamaHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enableLlamaHaCommand
    `ApiResponse<ApiCommand>` | `enableLlamaHaCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableLlamaHaArguments body)` Not Supported.
    `ApiCommand` | `enableLlamaRmCommand(String clusterName, String serviceName, ApiEnableLlamaRmArguments body)` Not Supported.
    `com.squareup.okhttp.Call` | `enableLlamaRmCommandAsync(String clusterName, String serviceName, ApiEnableLlamaRmArguments body, ApiCallback<ApiCommand> callback)` Not Supported.
    `com.squareup.okhttp.Call` | `enableLlamaRmCommandCall(String clusterName, String serviceName, ApiEnableLlamaRmArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enableLlamaRmCommand
    `ApiResponse<ApiCommand>` | `enableLlamaRmCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableLlamaRmArguments body)` Not Supported.
    `ApiCommand` | `enableOozieHaCommand(String clusterName, String serviceName, ApiEnableOozieHaArguments body)` Enable high availability (HA) for Oozie service.
    `com.squareup.okhttp.Call` | `enableOozieHaCommandAsync(String clusterName, String serviceName, ApiEnableOozieHaArguments body, ApiCallback<ApiCommand> callback)` Enable high availability (HA) for Oozie service.
    `com.squareup.okhttp.Call` | `enableOozieHaCommandCall(String clusterName, String serviceName, ApiEnableOozieHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enableOozieHaCommand
    `ApiResponse<ApiCommand>` | `enableOozieHaCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableOozieHaArguments body)` Enable high availability (HA) for Oozie service.
    `ApiCommand` | `enableRmHaCommand(String clusterName, String serviceName, ApiEnableRmHaArguments body)` Enable high availability (HA) for a YARN ResourceManager.
    `com.squareup.okhttp.Call` | `enableRmHaCommandAsync(String clusterName, String serviceName, ApiEnableRmHaArguments body, ApiCallback<ApiCommand> callback)` Enable high availability (HA) for a YARN ResourceManager.
    `com.squareup.okhttp.Call` | `enableRmHaCommandCall(String clusterName, String serviceName, ApiEnableRmHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enableRmHaCommand
    `ApiResponse<ApiCommand>` | `enableRmHaCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableRmHaArguments body)` Enable high availability (HA) for a YARN ResourceManager.
    `ApiCommand` | `enableSentryHaCommand(String clusterName, String serviceName, ApiEnableSentryHaArgs body)` Enable high availability (HA) for Sentry service.
    `com.squareup.okhttp.Call` | `enableSentryHaCommandAsync(String clusterName, String serviceName, ApiEnableSentryHaArgs body, ApiCallback<ApiCommand> callback)` Enable high availability (HA) for Sentry service.
    `com.squareup.okhttp.Call` | `enableSentryHaCommandCall(String clusterName, String serviceName, ApiEnableSentryHaArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enableSentryHaCommand
    `ApiResponse<ApiCommand>` | `enableSentryHaCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableSentryHaArgs body)` Enable high availability (HA) for Sentry service.
    `ApiCommand` | `enterMaintenanceMode(String clusterName, String serviceName)` Put the service into maintenance mode.
    `com.squareup.okhttp.Call` | `enterMaintenanceModeAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Put the service into maintenance mode.
    `com.squareup.okhttp.Call` | `enterMaintenanceModeCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for enterMaintenanceMode
    `ApiResponse<ApiCommand>` | `enterMaintenanceModeWithHttpInfo(String clusterName, String serviceName)` Put the service into maintenance mode.
    `ApiCommand` | `exitMaintenanceMode(String clusterName, String serviceName)` Take the service out of maintenance mode.
    `com.squareup.okhttp.Call` | `exitMaintenanceModeAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Take the service out of maintenance mode.
    `com.squareup.okhttp.Call` | `exitMaintenanceModeCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for exitMaintenanceMode
    `ApiResponse<ApiCommand>` | `exitMaintenanceModeWithHttpInfo(String clusterName, String serviceName)` Take the service out of maintenance mode.
    `ApiCommand` | `exportSentryPermissionsCommand(String clusterName, String serviceName)` Export Sentry Permissions.
    `com.squareup.okhttp.Call` | `exportSentryPermissionsCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Export Sentry Permissions.
    `com.squareup.okhttp.Call` | `exportSentryPermissionsCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for exportSentryPermissionsCommand
    `ApiResponse<ApiCommand>` | `exportSentryPermissionsCommandWithHttpInfo(String clusterName, String serviceName)` Export Sentry Permissions.
    `ApiCommand` | `firstRun(String clusterName, String serviceName)` Prepare and start a service.
    `com.squareup.okhttp.Call` | `firstRunAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Prepare and start a service.
    `com.squareup.okhttp.Call` | `firstRunCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for firstRun
    `ApiResponse<ApiCommand>` | `firstRunWithHttpInfo(String clusterName, String serviceName)` Prepare and start a service.
    `ApiClient` | `getApiClient()`
    `File` | `getClientConfig(String clusterName, String serviceName)` Download a zip-compressed archive of the client configuration, of a specific service.
    `com.squareup.okhttp.Call` | `getClientConfigAsync(String clusterName, String serviceName, ApiCallback<File> callback)` Download a zip-compressed archive of the client configuration, of a specific service.
    `com.squareup.okhttp.Call` | `getClientConfigCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for getClientConfig
    `ApiResponse<File>` | `getClientConfigWithHttpInfo(String clusterName, String serviceName)` Download a zip-compressed archive of the client configuration, of a specific service.
    `ApiHdfsUsageReport` | `getHdfsUsageReport(String clusterName, String serviceName, String aggregation, String from, String nameservice, String to)` Fetch the HDFS usage report.
    `com.squareup.okhttp.Call` | `getHdfsUsageReportAsync(String clusterName, String serviceName, String aggregation, String from, String nameservice, String to, ApiCallback<ApiHdfsUsageReport> callback)` Fetch the HDFS usage report.
    `com.squareup.okhttp.Call` | `getHdfsUsageReportCall(String clusterName, String serviceName, String aggregation, String from, String nameservice, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for getHdfsUsageReport
    `ApiResponse<ApiHdfsUsageReport>` | `getHdfsUsageReportWithHttpInfo(String clusterName, String serviceName, String aggregation, String from, String nameservice, String to)` Fetch the HDFS usage report.
    `ApiImpalaUtilization` | `getImpalaUtilization(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to)` Provides the resource utilization of the Impala service as well as the resource utilization per tenant.
    `com.squareup.okhttp.Call` | `getImpalaUtilizationAsync(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to, ApiCallback<ApiImpalaUtilization> callback)` Provides the resource utilization of the Impala service as well as the resource utilization per tenant.
    `com.squareup.okhttp.Call` | `getImpalaUtilizationCall(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for getImpalaUtilization
    `ApiResponse<ApiImpalaUtilization>` | `getImpalaUtilizationWithHttpInfo(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to)` Provides the resource utilization of the Impala service as well as the resource utilization per tenant.
    `ApiMetricList` | `getMetrics(String clusterName, String serviceName, String from, List<String> metrics, String to, String view)` Fetch metric readings for a particular service.
    `com.squareup.okhttp.Call` | `getMetricsAsync(String clusterName, String serviceName, String from, List<String> metrics, String to, String view, ApiCallback<ApiMetricList> callback)` Fetch metric readings for a particular service.
    `com.squareup.okhttp.Call` | `getMetricsCall(String clusterName, String serviceName, String from, List<String> metrics, String to, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for getMetrics
    `ApiResponse<ApiMetricList>` | `getMetricsWithHttpInfo(String clusterName, String serviceName, String from, List<String> metrics, String to, String view)` Fetch metric readings for a particular service.
    `ApiMrUsageReport` | `getMrUsageReport(String clusterName, String serviceName, String aggregation, String from, String to)` Fetch the MR usage report.
    `com.squareup.okhttp.Call` | `getMrUsageReportAsync(String clusterName, String serviceName, String aggregation, String from, String to, ApiCallback<ApiMrUsageReport> callback)` Fetch the MR usage report.
    `com.squareup.okhttp.Call` | `getMrUsageReportCall(String clusterName, String serviceName, String aggregation, String from, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for getMrUsageReport
    `ApiResponse<ApiMrUsageReport>` | `getMrUsageReportWithHttpInfo(String clusterName, String serviceName, String aggregation, String from, String to)` Fetch the MR usage report.
    `ApiYarnUtilization` | `getYarnUtilization(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to)` Provides the resource utilization of the yarn service as well as the resource utilization per tenant.
    `com.squareup.okhttp.Call` | `getYarnUtilizationAsync(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to, ApiCallback<ApiYarnUtilization> callback)` Provides the resource utilization of the yarn service as well as the resource utilization per tenant.
    `com.squareup.okhttp.Call` | `getYarnUtilizationCall(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for getYarnUtilization
    `ApiResponse<ApiYarnUtilization>` | `getYarnUtilizationWithHttpInfo(String clusterName, String serviceName, List<String> daysOfWeek, BigDecimal endHourOfDay, String from, BigDecimal startHourOfDay, String tenantType, String to)` Provides the resource utilization of the yarn service as well as the resource utilization per tenant.
    `ApiCommand` | `hbaseReplicationCreateUserDirectory(String clusterName, String serviceName)` Create the HBase user directory (usually /user/hbase).
    `com.squareup.okhttp.Call` | `hbaseReplicationCreateUserDirectoryAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the HBase user directory (usually /user/hbase).
    `com.squareup.okhttp.Call` | `hbaseReplicationCreateUserDirectoryCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationCreateUserDirectory
    `ApiResponse<ApiCommand>` | `hbaseReplicationCreateUserDirectoryWithHttpInfo(String clusterName, String serviceName)` Create the HBase user directory (usually /user/hbase).
    `ApiCommand` | `hbaseReplicationFirstTimeSetupAutomatic(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body)` Starts an automatic HBase replication first time setup.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupAutomaticAsync(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body, ApiCallback<ApiCommand> callback)` Starts an automatic HBase replication first time setup.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupAutomaticCall(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupAutomatic
    `ApiResponse<ApiCommand>` | `hbaseReplicationFirstTimeSetupAutomaticWithHttpInfo(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body)` Starts an automatic HBase replication first time setup.
    `ApiCommand` | `hbaseReplicationFirstTimeSetupCleanAndReset(String clusterName, String serviceName, ApiHBaseReplicationSetupCleanAndResetArgs body)` Cleans and resets the HBase replication first time setup on the given source and target:.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupCleanAndResetAsync(String clusterName, String serviceName, ApiHBaseReplicationSetupCleanAndResetArgs body, ApiCallback<ApiCommand> callback)` Cleans and resets the HBase replication first time setup on the given source and target:.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupCleanAndResetCall(String clusterName, String serviceName, ApiHBaseReplicationSetupCleanAndResetArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupCleanAndReset
    `ApiResponse<ApiCommand>` | `hbaseReplicationFirstTimeSetupCleanAndResetWithHttpInfo(String clusterName, String serviceName, ApiHBaseReplicationSetupCleanAndResetArgs body)` Cleans and resets the HBase replication first time setup on the given source and target:.
    `void` | `hbaseReplicationFirstTimeSetupForceReady(String clusterName, String serviceName, ApiServiceRef body)` Force sets the HBase replication first time setup status to be READY for the given source and target.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupForceReadyAsync(String clusterName, String serviceName, ApiServiceRef body, ApiCallback<Void> callback)` Force sets the HBase replication first time setup status to be READY for the given source and target.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupForceReadyCall(String clusterName, String serviceName, ApiServiceRef body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupForceReady
    `ApiResponse<Void>` | `hbaseReplicationFirstTimeSetupForceReadyWithHttpInfo(String clusterName, String serviceName, ApiServiceRef body)` Force sets the HBase replication first time setup status to be READY for the given source and target.
    `ApiCommand` | `hbaseReplicationFirstTimeSetupManual(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body)` Starts a manual HBase replication first time setup.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupManualAsync(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body, ApiCallback<ApiCommand> callback)` Starts a manual HBase replication first time setup.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupManualCall(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupManual
    `ApiCommand` | `hbaseReplicationFirstTimeSetupManualContinue(String clusterName, String serviceName, ApiServiceRef body)` Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupManualContinueAsync(String clusterName, String serviceName, ApiServiceRef body, ApiCallback<ApiCommand> callback)` Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupManualContinueCall(String clusterName, String serviceName, ApiServiceRef body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupManualContinue
    `ApiResponse<ApiCommand>` | `hbaseReplicationFirstTimeSetupManualContinueWithHttpInfo(String clusterName, String serviceName, ApiServiceRef body)` Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup.
    `ApiResponse<ApiCommand>` | `hbaseReplicationFirstTimeSetupManualWithHttpInfo(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body)` Starts a manual HBase replication first time setup.
    `void` | `hbaseReplicationFirstTimeSetupReset(String clusterName, String serviceName, ApiServiceRef body)` Resets/removes the HBase replication first time setup status for the given source and target.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupResetAsync(String clusterName, String serviceName, ApiServiceRef body, ApiCallback<Void> callback)` Resets/removes the HBase replication first time setup status for the given source and target.
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupResetCall(String clusterName, String serviceName, ApiServiceRef body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupReset
    `ApiResponse<Void>` | `hbaseReplicationFirstTimeSetupResetWithHttpInfo(String clusterName, String serviceName, ApiServiceRef body)` Resets/removes the HBase replication first time setup status for the given source and target.
    `ApiHBaseReplicationSetupStatus` | `hbaseReplicationFirstTimeSetupStatus(String clusterName, String serviceName, String sourceCluster, String sourcePeer, String sourceService)`
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupStatusAsync(String clusterName, String serviceName, String sourceCluster, String sourcePeer, String sourceService, ApiCallback<ApiHBaseReplicationSetupStatus> callback)` (asynchronously)
    `com.squareup.okhttp.Call` | `hbaseReplicationFirstTimeSetupStatusCall(String clusterName, String serviceName, String sourceCluster, String sourcePeer, String sourceService, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationFirstTimeSetupStatus
    `ApiResponse<ApiHBaseReplicationSetupStatus>` | `hbaseReplicationFirstTimeSetupStatusWithHttpInfo(String clusterName, String serviceName, String sourceCluster, String sourcePeer, String sourceService)`
    `ApiCommand` | `hbaseReplicationSetup(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body)` Perform one time setup for HBase replication.
    `ApiCommand` | `hbaseReplicationSetupAdmin(String clusterName, String serviceName, String cmPeerDefinition, String op, String path, String user)`
    `com.squareup.okhttp.Call` | `hbaseReplicationSetupAdminAsync(String clusterName, String serviceName, String cmPeerDefinition, String op, String path, String user, ApiCallback<ApiCommand> callback)` (asynchronously)
    `com.squareup.okhttp.Call` | `hbaseReplicationSetupAdminCall(String clusterName, String serviceName, String cmPeerDefinition, String op, String path, String user, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationSetupAdmin
    `ApiResponse<ApiCommand>` | `hbaseReplicationSetupAdminWithHttpInfo(String clusterName, String serviceName, String cmPeerDefinition, String op, String path, String user)`
    `com.squareup.okhttp.Call` | `hbaseReplicationSetupAsync(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body, ApiCallback<ApiCommand> callback)` Perform one time setup for HBase replication.
    `com.squareup.okhttp.Call` | `hbaseReplicationSetupCall(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseReplicationSetup
    `ApiResponse<ApiCommand>` | `hbaseReplicationSetupWithHttpInfo(String clusterName, String serviceName, Boolean force, ApiHBaseReplicationSetupCommandArgs body)` Perform one time setup for HBase replication.
    `ApiCommand` | `hbaseShellCommand(String clusterName, String serviceName, ApiHBaseShellCommand body)` Execute a hbase shell command.
    `com.squareup.okhttp.Call` | `hbaseShellCommandAsync(String clusterName, String serviceName, ApiHBaseShellCommand body, ApiCallback<ApiCommand> callback)` Execute a hbase shell command.
    `com.squareup.okhttp.Call` | `hbaseShellCommandCall(String clusterName, String serviceName, ApiHBaseShellCommand body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseShellCommand
    `ApiResponse<ApiCommand>` | `hbaseShellCommandWithHttpInfo(String clusterName, String serviceName, ApiHBaseShellCommand body)` Execute a hbase shell command.
    `ApiCommand` | `hbaseUpgradeCommand(String clusterName, String serviceName)` Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5.
    `com.squareup.okhttp.Call` | `hbaseUpgradeCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5.
    `com.squareup.okhttp.Call` | `hbaseUpgradeCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hbaseUpgradeCommand
    `ApiResponse<ApiCommand>` | `hbaseUpgradeCommandWithHttpInfo(String clusterName, String serviceName)` Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5.
    `ApiCommand` | `hdfsAddSBNNToNSCommand(String clusterName, String serviceName, ApiAddSBNNToNSArguments body)`
    `com.squareup.okhttp.Call` | `hdfsAddSBNNToNSCommandAsync(String clusterName, String serviceName, ApiAddSBNNToNSArguments body, ApiCallback<ApiCommand> callback)` (asynchronously)
    `com.squareup.okhttp.Call` | `hdfsAddSBNNToNSCommandCall(String clusterName, String serviceName, ApiAddSBNNToNSArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsAddSBNNToNSCommand
    `ApiResponse<ApiCommand>` | `hdfsAddSBNNToNSCommandWithHttpInfo(String clusterName, String serviceName, ApiAddSBNNToNSArguments body)`
    `ApiCommand` | `hdfsCreateTmpDir(String clusterName, String serviceName)` Creates a tmp directory on the HDFS filesystem.
    `com.squareup.okhttp.Call` | `hdfsCreateTmpDirAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates a tmp directory on the HDFS filesystem.
    `com.squareup.okhttp.Call` | `hdfsCreateTmpDirCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsCreateTmpDir
    `ApiResponse<ApiCommand>` | `hdfsCreateTmpDirWithHttpInfo(String clusterName, String serviceName)` Creates a tmp directory on the HDFS filesystem.
    `ApiCommand` | `hdfsDisableAutoFailoverCommand(String clusterName, String serviceName, String body)` Disable auto-failover for a highly available HDFS nameservice.
    `com.squareup.okhttp.Call` | `hdfsDisableAutoFailoverCommandAsync(String clusterName, String serviceName, String body, ApiCallback<ApiCommand> callback)` Disable auto-failover for a highly available HDFS nameservice.
    `com.squareup.okhttp.Call` | `hdfsDisableAutoFailoverCommandCall(String clusterName, String serviceName, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsDisableAutoFailoverCommand
    `ApiResponse<ApiCommand>` | `hdfsDisableAutoFailoverCommandWithHttpInfo(String clusterName, String serviceName, String body)` Disable auto-failover for a highly available HDFS nameservice.
    `ApiCommand` | `hdfsDisableHaCommand(String clusterName, String serviceName, ApiHdfsDisableHaArguments body)` Disable high availability (HA) for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsDisableHaCommandAsync(String clusterName, String serviceName, ApiHdfsDisableHaArguments body, ApiCallback<ApiCommand> callback)` Disable high availability (HA) for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsDisableHaCommandCall(String clusterName, String serviceName, ApiHdfsDisableHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsDisableHaCommand
    `ApiResponse<ApiCommand>` | `hdfsDisableHaCommandWithHttpInfo(String clusterName, String serviceName, ApiHdfsDisableHaArguments body)` Disable high availability (HA) for an HDFS NameNode.
    `ApiCommand` | `hdfsDisableNnHaCommand(String clusterName, String serviceName, ApiDisableNnHaArguments body)` Disable High Availability (HA) with Automatic Failover for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsDisableNnHaCommandAsync(String clusterName, String serviceName, ApiDisableNnHaArguments body, ApiCallback<ApiCommand> callback)` Disable High Availability (HA) with Automatic Failover for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsDisableNnHaCommandCall(String clusterName, String serviceName, ApiDisableNnHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsDisableNnHaCommand
    `ApiResponse<ApiCommand>` | `hdfsDisableNnHaCommandWithHttpInfo(String clusterName, String serviceName, ApiDisableNnHaArguments body)` Disable High Availability (HA) with Automatic Failover for an HDFS NameNode.
    `ApiCommand` | `hdfsEnableAutoFailoverCommand(String clusterName, String serviceName, ApiHdfsFailoverArguments body)` Enable auto-failover for an HDFS nameservice.
    `com.squareup.okhttp.Call` | `hdfsEnableAutoFailoverCommandAsync(String clusterName, String serviceName, ApiHdfsFailoverArguments body, ApiCallback<ApiCommand> callback)` Enable auto-failover for an HDFS nameservice.
    `com.squareup.okhttp.Call` | `hdfsEnableAutoFailoverCommandCall(String clusterName, String serviceName, ApiHdfsFailoverArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsEnableAutoFailoverCommand
    `ApiResponse<ApiCommand>` | `hdfsEnableAutoFailoverCommandWithHttpInfo(String clusterName, String serviceName, ApiHdfsFailoverArguments body)` Enable auto-failover for an HDFS nameservice.
    `ApiCommand` | `hdfsEnableHaCommand(String clusterName, String serviceName, ApiHdfsHaArguments body)` Enable high availability (HA) for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsEnableHaCommandAsync(String clusterName, String serviceName, ApiHdfsHaArguments body, ApiCallback<ApiCommand> callback)` Enable high availability (HA) for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsEnableHaCommandCall(String clusterName, String serviceName, ApiHdfsHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsEnableHaCommand
    `ApiResponse<ApiCommand>` | `hdfsEnableHaCommandWithHttpInfo(String clusterName, String serviceName, ApiHdfsHaArguments body)` Enable high availability (HA) for an HDFS NameNode.
    `ApiCommand` | `hdfsEnableNnHaCommand(String clusterName, String serviceName, ApiEnableNnHaArguments body)` Enable High Availability (HA) with Automatic Failover for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsEnableNnHaCommandAsync(String clusterName, String serviceName, ApiEnableNnHaArguments body, ApiCallback<ApiCommand> callback)` Enable High Availability (HA) with Automatic Failover for an HDFS NameNode.
    `com.squareup.okhttp.Call` | `hdfsEnableNnHaCommandCall(String clusterName, String serviceName, ApiEnableNnHaArguments body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsEnableNnHaCommand
    `ApiResponse<ApiCommand>` | `hdfsEnableNnHaCommandWithHttpInfo(String clusterName, String serviceName, ApiEnableNnHaArguments body)` Enable High Availability (HA) with Automatic Failover for an HDFS NameNode.
    `ApiCommand` | `hdfsFailoverCommand(String clusterName, String serviceName, Boolean force, ApiRoleNameList body)` Initiate a failover in an HDFS HA NameNode pair.
    `com.squareup.okhttp.Call` | `hdfsFailoverCommandAsync(String clusterName, String serviceName, Boolean force, ApiRoleNameList body, ApiCallback<ApiCommand> callback)` Initiate a failover in an HDFS HA NameNode pair.
    `com.squareup.okhttp.Call` | `hdfsFailoverCommandCall(String clusterName, String serviceName, Boolean force, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsFailoverCommand
    `ApiResponse<ApiCommand>` | `hdfsFailoverCommandWithHttpInfo(String clusterName, String serviceName, Boolean force, ApiRoleNameList body)` Initiate a failover in an HDFS HA NameNode pair.
    `ApiCommand` | `hdfsFinalizeRollingUpgrade(String clusterName, String serviceName)` Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version.
    `com.squareup.okhttp.Call` | `hdfsFinalizeRollingUpgradeAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version.
    `com.squareup.okhttp.Call` | `hdfsFinalizeRollingUpgradeCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsFinalizeRollingUpgrade
    `ApiResponse<ApiCommand>` | `hdfsFinalizeRollingUpgradeWithHttpInfo(String clusterName, String serviceName)` Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version.
    `ApiCommand` | `hdfsRollEditsCommand(String clusterName, String serviceName, ApiRollEditsArgs body)` Roll the edits of an HDFS NameNode or Nameservice.
    `com.squareup.okhttp.Call` | `hdfsRollEditsCommandAsync(String clusterName, String serviceName, ApiRollEditsArgs body, ApiCallback<ApiCommand> callback)` Roll the edits of an HDFS NameNode or Nameservice.
    `com.squareup.okhttp.Call` | `hdfsRollEditsCommandCall(String clusterName, String serviceName, ApiRollEditsArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsRollEditsCommand
    `ApiResponse<ApiCommand>` | `hdfsRollEditsCommandWithHttpInfo(String clusterName, String serviceName, ApiRollEditsArgs body)` Roll the edits of an HDFS NameNode or Nameservice.
    `ApiCommand` | `hdfsUpgradeMetadataCommand(String clusterName, String serviceName)` Upgrade HDFS Metadata as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `hdfsUpgradeMetadataCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Upgrade HDFS Metadata as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `hdfsUpgradeMetadataCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hdfsUpgradeMetadataCommand
    `ApiResponse<ApiCommand>` | `hdfsUpgradeMetadataCommandWithHttpInfo(String clusterName, String serviceName)` Upgrade HDFS Metadata as part of a major version upgrade.
    `ApiCommand` | `hiveCreateMetastoreDatabaseCommand(String clusterName, String serviceName)` Create the Hive Metastore Database.
    `com.squareup.okhttp.Call` | `hiveCreateMetastoreDatabaseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Hive Metastore Database.
    `com.squareup.okhttp.Call` | `hiveCreateMetastoreDatabaseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hiveCreateMetastoreDatabaseCommand
    `ApiResponse<ApiCommand>` | `hiveCreateMetastoreDatabaseCommandWithHttpInfo(String clusterName, String serviceName)` Create the Hive Metastore Database.
    `ApiCommand` | `hiveCreateMetastoreDatabaseTablesCommand(String clusterName, String serviceName)` Create the Hive Metastore Database tables.
    `com.squareup.okhttp.Call` | `hiveCreateMetastoreDatabaseTablesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Hive Metastore Database tables.
    `com.squareup.okhttp.Call` | `hiveCreateMetastoreDatabaseTablesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hiveCreateMetastoreDatabaseTablesCommand
    `ApiResponse<ApiCommand>` | `hiveCreateMetastoreDatabaseTablesCommandWithHttpInfo(String clusterName, String serviceName)` Create the Hive Metastore Database tables.
    `ApiCommand` | `hiveUpdateMetastoreNamenodesCommand(String clusterName, String serviceName)` Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname.
    `com.squareup.okhttp.Call` | `hiveUpdateMetastoreNamenodesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname.
    `com.squareup.okhttp.Call` | `hiveUpdateMetastoreNamenodesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hiveUpdateMetastoreNamenodesCommand
    `ApiResponse<ApiCommand>` | `hiveUpdateMetastoreNamenodesCommandWithHttpInfo(String clusterName, String serviceName)` Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname.
    `ApiCommand` | `hiveUpgradeMetastoreCommand(String clusterName, String serviceName)` Upgrade Hive Metastore as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `hiveUpgradeMetastoreCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Upgrade Hive Metastore as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `hiveUpgradeMetastoreCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hiveUpgradeMetastoreCommand
    `ApiResponse<ApiCommand>` | `hiveUpgradeMetastoreCommandWithHttpInfo(String clusterName, String serviceName)` Upgrade Hive Metastore as part of a major version upgrade.
    `ApiCommand` | `hiveValidateMetastoreSchemaCommand(String clusterName, String serviceName)` Validate the Hive Metastore Schema.
    `com.squareup.okhttp.Call` | `hiveValidateMetastoreSchemaCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Validate the Hive Metastore Schema.
    `com.squareup.okhttp.Call` | `hiveValidateMetastoreSchemaCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hiveValidateMetastoreSchemaCommand
    `ApiResponse<ApiCommand>` | `hiveValidateMetastoreSchemaCommandWithHttpInfo(String clusterName, String serviceName)` Validate the Hive Metastore Schema.
    `ApiCommand` | `hueDumpDbCommand(String clusterName, String serviceName)` Runs Hue's dumpdata command.
    `com.squareup.okhttp.Call` | `hueDumpDbCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Runs Hue's dumpdata command.
    `com.squareup.okhttp.Call` | `hueDumpDbCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hueDumpDbCommand
    `ApiResponse<ApiCommand>` | `hueDumpDbCommandWithHttpInfo(String clusterName, String serviceName)` Runs Hue's dumpdata command.
    `ApiCommand` | `hueLoadDbCommand(String clusterName, String serviceName)` Runs Hue's loaddata command.
    `com.squareup.okhttp.Call` | `hueLoadDbCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Runs Hue's loaddata command.
    `com.squareup.okhttp.Call` | `hueLoadDbCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hueLoadDbCommand
    `ApiResponse<ApiCommand>` | `hueLoadDbCommandWithHttpInfo(String clusterName, String serviceName)` Runs Hue's loaddata command.
    `ApiCommand` | `hueSyncDbCommand(String clusterName, String serviceName)` Runs Hue's syncdb command.
    `com.squareup.okhttp.Call` | `hueSyncDbCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Runs Hue's syncdb command.
    `com.squareup.okhttp.Call` | `hueSyncDbCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for hueSyncDbCommand
    `ApiResponse<ApiCommand>` | `hueSyncDbCommandWithHttpInfo(String clusterName, String serviceName)` Runs Hue's syncdb command.
    `ApiCommand` | `impalaCreateCatalogDatabaseCommand(String clusterName, String serviceName)` .
    `com.squareup.okhttp.Call` | `impalaCreateCatalogDatabaseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` .
    `com.squareup.okhttp.Call` | `impalaCreateCatalogDatabaseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for impalaCreateCatalogDatabaseCommand
    `ApiResponse<ApiCommand>` | `impalaCreateCatalogDatabaseCommandWithHttpInfo(String clusterName, String serviceName)` .
    `ApiCommand` | `impalaCreateCatalogDatabaseTablesCommand(String clusterName, String serviceName)` .
    `com.squareup.okhttp.Call` | `impalaCreateCatalogDatabaseTablesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` .
    `com.squareup.okhttp.Call` | `impalaCreateCatalogDatabaseTablesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for impalaCreateCatalogDatabaseTablesCommand
    `ApiResponse<ApiCommand>` | `impalaCreateCatalogDatabaseTablesCommandWithHttpInfo(String clusterName, String serviceName)` .
    `ApiCommand` | `importMrConfigsIntoYarn(String clusterName, String serviceName)` Import MapReduce configuration into Yarn, overwriting Yarn configuration.
    `com.squareup.okhttp.Call` | `importMrConfigsIntoYarnAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Import MapReduce configuration into Yarn, overwriting Yarn configuration.
    `com.squareup.okhttp.Call` | `importMrConfigsIntoYarnCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for importMrConfigsIntoYarn
    `ApiResponse<ApiCommand>` | `importMrConfigsIntoYarnWithHttpInfo(String clusterName, String serviceName)` Import MapReduce configuration into Yarn, overwriting Yarn configuration.
    `ApiCommand` | `initSolrCommand(String clusterName, String serviceName)` Initializes the Solr service in Zookeeper.
    `com.squareup.okhttp.Call` | `initSolrCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Initializes the Solr service in Zookeeper.
    `com.squareup.okhttp.Call` | `initSolrCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for initSolrCommand
    `ApiResponse<ApiCommand>` | `initSolrCommandWithHttpInfo(String clusterName, String serviceName)` Initializes the Solr service in Zookeeper.
    `ApiCommand` | `installMrFrameworkJars(String clusterName, String serviceName)` Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it.
    `com.squareup.okhttp.Call` | `installMrFrameworkJarsAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it.
    `com.squareup.okhttp.Call` | `installMrFrameworkJarsCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for installMrFrameworkJars
    `ApiResponse<ApiCommand>` | `installMrFrameworkJarsWithHttpInfo(String clusterName, String serviceName)` Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it.
    `ApiCommand` | `installOozieShareLib(String clusterName, String serviceName)` Creates directory for Oozie user in HDFS and installs the ShareLib in it.
    `com.squareup.okhttp.Call` | `installOozieShareLibAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Creates directory for Oozie user in HDFS and installs the ShareLib in it.
    `com.squareup.okhttp.Call` | `installOozieShareLibCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for installOozieShareLib
    `ApiResponse<ApiCommand>` | `installOozieShareLibWithHttpInfo(String clusterName, String serviceName)` Creates directory for Oozie user in HDFS and installs the ShareLib in it.
    `ApiCommand` | `ksMigrateToSentry(String clusterName, String serviceName)` Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer.
    `com.squareup.okhttp.Call` | `ksMigrateToSentryAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer.
    `com.squareup.okhttp.Call` | `ksMigrateToSentryCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for ksMigrateToSentry
    `ApiResponse<ApiCommand>` | `ksMigrateToSentryWithHttpInfo(String clusterName, String serviceName)` Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer.
    `ApiCommandList` | `listActiveCommands(String clusterName, String serviceName, String commandName, String view)` List active service commands.
    `com.squareup.okhttp.Call` | `listActiveCommandsAsync(String clusterName, String serviceName, String commandName, String view, ApiCallback<ApiCommandList> callback)` List active service commands.
    `com.squareup.okhttp.Call` | `listActiveCommandsCall(String clusterName, String serviceName, String commandName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for listActiveCommands
    `ApiResponse<ApiCommandList>` | `listActiveCommandsWithHttpInfo(String clusterName, String serviceName, String commandName, String view)` List active service commands.
    `ApiRoleTypeList` | `listRoleTypes(String clusterName, String serviceName)` List the supported role types for a service.
    `com.squareup.okhttp.Call` | `listRoleTypesAsync(String clusterName, String serviceName, ApiCallback<ApiRoleTypeList> callback)` List the supported role types for a service.
    `com.squareup.okhttp.Call` | `listRoleTypesCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for listRoleTypes
    `ApiResponse<ApiRoleTypeList>` | `listRoleTypesWithHttpInfo(String clusterName, String serviceName)` List the supported role types for a service.
    `ApiCommandMetadataList` | `listServiceCommands(String clusterName, String serviceName)` Lists all the commands (for CSD based services only) that can be executed by name on the provided service.
    `com.squareup.okhttp.Call` | `listServiceCommandsAsync(String clusterName, String serviceName, ApiCallback<ApiCommandMetadataList> callback)` Lists all the commands (for CSD based services only) that can be executed by name on the provided service.
    `com.squareup.okhttp.Call` | `listServiceCommandsCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for listServiceCommands
    `ApiResponse<ApiCommandMetadataList>` | `listServiceCommandsWithHttpInfo(String clusterName, String serviceName)` Lists all the commands (for CSD based services only) that can be executed by name on the provided service.
    `ApiCommand` | `offlineCommand(String clusterName, String serviceName, BigDecimal timeout, ApiRoleNameList body)` Offline roles of a service.
    `com.squareup.okhttp.Call` | `offlineCommandAsync(String clusterName, String serviceName, BigDecimal timeout, ApiRoleNameList body, ApiCallback<ApiCommand> callback)` Offline roles of a service.
    `com.squareup.okhttp.Call` | `offlineCommandCall(String clusterName, String serviceName, BigDecimal timeout, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for offlineCommand
    `ApiResponse<ApiCommand>` | `offlineCommandWithHttpInfo(String clusterName, String serviceName, BigDecimal timeout, ApiRoleNameList body)` Offline roles of a service.
    `ApiCommand` | `oozieCreateEmbeddedDatabaseCommand(String clusterName, String serviceName)` Create the Oozie Server Database.
    `com.squareup.okhttp.Call` | `oozieCreateEmbeddedDatabaseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Oozie Server Database.
    `com.squareup.okhttp.Call` | `oozieCreateEmbeddedDatabaseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for oozieCreateEmbeddedDatabaseCommand
    `ApiResponse<ApiCommand>` | `oozieCreateEmbeddedDatabaseCommandWithHttpInfo(String clusterName, String serviceName)` Create the Oozie Server Database.
    `ApiCommand` | `oozieDumpDatabaseCommand(String clusterName, String serviceName)` Dump the Oozie Server Database.
    `com.squareup.okhttp.Call` | `oozieDumpDatabaseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Dump the Oozie Server Database.
    `com.squareup.okhttp.Call` | `oozieDumpDatabaseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for oozieDumpDatabaseCommand
    `ApiResponse<ApiCommand>` | `oozieDumpDatabaseCommandWithHttpInfo(String clusterName, String serviceName)` Dump the Oozie Server Database.
    `ApiCommand` | `oozieLoadDatabaseCommand(String clusterName, String serviceName)` Load the Oozie Server Database from dump.
    `com.squareup.okhttp.Call` | `oozieLoadDatabaseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Load the Oozie Server Database from dump.
    `com.squareup.okhttp.Call` | `oozieLoadDatabaseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for oozieLoadDatabaseCommand
    `ApiResponse<ApiCommand>` | `oozieLoadDatabaseCommandWithHttpInfo(String clusterName, String serviceName)` Load the Oozie Server Database from dump.
    `ApiCommand` | `oozieUpgradeDbCommand(String clusterName, String serviceName)` Upgrade Oozie Database schema as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `oozieUpgradeDbCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Upgrade Oozie Database schema as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `oozieUpgradeDbCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for oozieUpgradeDbCommand
    `ApiResponse<ApiCommand>` | `oozieUpgradeDbCommandWithHttpInfo(String clusterName, String serviceName)` Upgrade Oozie Database schema as part of a major version upgrade.
    `ApiService` | `readService(String clusterName, String serviceName, String view)` Retrieves details information about a service.
    `com.squareup.okhttp.Call` | `readServiceAsync(String clusterName, String serviceName, String view, ApiCallback<ApiService> callback)` Retrieves details information about a service.
    `com.squareup.okhttp.Call` | `readServiceCall(String clusterName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for readService
    `ApiServiceConfig` | `readServiceConfig(String clusterName, String serviceName, String view)` Retrieves the configuration of a specific service.
    `com.squareup.okhttp.Call` | `readServiceConfigAsync(String clusterName, String serviceName, String view, ApiCallback<ApiServiceConfig> callback)` Retrieves the configuration of a specific service.
    `com.squareup.okhttp.Call` | `readServiceConfigCall(String clusterName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for readServiceConfig
    `ApiResponse<ApiServiceConfig>` | `readServiceConfigWithHttpInfo(String clusterName, String serviceName, String view)` Retrieves the configuration of a specific service.
    `ApiServiceList` | `readServices(String clusterName, String view)` Lists all services registered in the cluster.
    `com.squareup.okhttp.Call` | `readServicesAsync(String clusterName, String view, ApiCallback<ApiServiceList> callback)` Lists all services registered in the cluster.
    `com.squareup.okhttp.Call` | `readServicesCall(String clusterName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for readServices
    `ApiResponse<ApiServiceList>` | `readServicesWithHttpInfo(String clusterName, String view)` Lists all services registered in the cluster.
    `ApiResponse<ApiService>` | `readServiceWithHttpInfo(String clusterName, String serviceName, String view)` Retrieves details information about a service.
    `List<ApiEntityTag>` | `readTags(String clusterName, String serviceName, BigDecimal limit, BigDecimal offset)` Returns the tags associated with this service.
    `com.squareup.okhttp.Call` | `readTagsAsync(String clusterName, String serviceName, BigDecimal limit, BigDecimal offset, ApiCallback<List<ApiEntityTag>> callback)` Returns the tags associated with this service.
    `com.squareup.okhttp.Call` | `readTagsCall(String clusterName, String serviceName, BigDecimal limit, BigDecimal offset, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for readTags
    `ApiResponse<List<ApiEntityTag>>` | `readTagsWithHttpInfo(String clusterName, String serviceName, BigDecimal limit, BigDecimal offset)` Returns the tags associated with this service.
    `ApiCommand` | `recommissionCommand(String clusterName, String serviceName, ApiRoleNameList body)` Recommission roles of a service.
    `com.squareup.okhttp.Call` | `recommissionCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiCommand> callback)` Recommission roles of a service.
    `com.squareup.okhttp.Call` | `recommissionCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for recommissionCommand
    `ApiResponse<ApiCommand>` | `recommissionCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body)` Recommission roles of a service.
    `ApiCommand` | `recommissionWithStartCommand(String clusterName, String serviceName, ApiRoleNameList body)` Start and recommission roles of a service.
    `com.squareup.okhttp.Call` | `recommissionWithStartCommandAsync(String clusterName, String serviceName, ApiRoleNameList body, ApiCallback<ApiCommand> callback)` Start and recommission roles of a service.
    `com.squareup.okhttp.Call` | `recommissionWithStartCommandCall(String clusterName, String serviceName, ApiRoleNameList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for recommissionWithStartCommand
    `ApiResponse<ApiCommand>` | `recommissionWithStartCommandWithHttpInfo(String clusterName, String serviceName, ApiRoleNameList body)` Start and recommission roles of a service.
    `ApiCommand` | `restartCommand(String clusterName, String serviceName)` Restart the service.
    `com.squareup.okhttp.Call` | `restartCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Restart the service.
    `com.squareup.okhttp.Call` | `restartCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for restartCommand
    `ApiResponse<ApiCommand>` | `restartCommandWithHttpInfo(String clusterName, String serviceName)` Restart the service.
    `ApiCommand` | `rollingRestart(String clusterName, String serviceName, ApiRollingRestartArgs body)` Command to run rolling restart of roles in a service.
    `com.squareup.okhttp.Call` | `rollingRestartAsync(String clusterName, String serviceName, ApiRollingRestartArgs body, ApiCallback<ApiCommand> callback)` Command to run rolling restart of roles in a service.
    `com.squareup.okhttp.Call` | `rollingRestartCall(String clusterName, String serviceName, ApiRollingRestartArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for rollingRestart
    `ApiResponse<ApiCommand>` | `rollingRestartWithHttpInfo(String clusterName, String serviceName, ApiRollingRestartArgs body)` Command to run rolling restart of roles in a service.
    `ApiCommand` | `sentryCreateDatabaseCommand(String clusterName, String serviceName)` Create the Sentry Server Database.
    `com.squareup.okhttp.Call` | `sentryCreateDatabaseCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Sentry Server Database.
    `com.squareup.okhttp.Call` | `sentryCreateDatabaseCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for sentryCreateDatabaseCommand
    `ApiResponse<ApiCommand>` | `sentryCreateDatabaseCommandWithHttpInfo(String clusterName, String serviceName)` Create the Sentry Server Database.
    `ApiCommand` | `sentryCreateDatabaseTablesCommand(String clusterName, String serviceName)` Create the Sentry Server Database tables.
    `com.squareup.okhttp.Call` | `sentryCreateDatabaseTablesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Sentry Server Database tables.
    `com.squareup.okhttp.Call` | `sentryCreateDatabaseTablesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for sentryCreateDatabaseTablesCommand
    `ApiResponse<ApiCommand>` | `sentryCreateDatabaseTablesCommandWithHttpInfo(String clusterName, String serviceName)` Create the Sentry Server Database tables.
    `ApiCommand` | `sentryUpgradeDatabaseTablesCommand(String clusterName, String serviceName)` Upgrade the Sentry Server Database tables.
    `com.squareup.okhttp.Call` | `sentryUpgradeDatabaseTablesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Upgrade the Sentry Server Database tables.
    `com.squareup.okhttp.Call` | `sentryUpgradeDatabaseTablesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for sentryUpgradeDatabaseTablesCommand
    `ApiResponse<ApiCommand>` | `sentryUpgradeDatabaseTablesCommandWithHttpInfo(String clusterName, String serviceName)` Upgrade the Sentry Server Database tables.
    `ApiCommand` | `serviceCommandByName(String clusterName, String commandName, String serviceName)` Executes a command on the service specified by name.
    `com.squareup.okhttp.Call` | `serviceCommandByNameAsync(String clusterName, String commandName, String serviceName, ApiCallback<ApiCommand> callback)` Executes a command on the service specified by name.
    `com.squareup.okhttp.Call` | `serviceCommandByNameCall(String clusterName, String commandName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for serviceCommandByName
    `ApiResponse<ApiCommand>` | `serviceCommandByNameWithHttpInfo(String clusterName, String commandName, String serviceName)` Executes a command on the service specified by name.
    `void` | `setApiClient(ApiClient apiClient)`
    `ApiCommand` | `solrBootstrapCollectionsCommand(String clusterName, String serviceName)` Bootstraps Solr Collections after the CDH upgrade.
    `com.squareup.okhttp.Call` | `solrBootstrapCollectionsCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Bootstraps Solr Collections after the CDH upgrade.
    `com.squareup.okhttp.Call` | `solrBootstrapCollectionsCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for solrBootstrapCollectionsCommand
    `ApiResponse<ApiCommand>` | `solrBootstrapCollectionsCommandWithHttpInfo(String clusterName, String serviceName)` Bootstraps Solr Collections after the CDH upgrade.
    `ApiCommand` | `solrBootstrapConfigCommand(String clusterName, String serviceName)` Bootstraps Solr config during the CDH upgrade.
    `com.squareup.okhttp.Call` | `solrBootstrapConfigCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Bootstraps Solr config during the CDH upgrade.
    `com.squareup.okhttp.Call` | `solrBootstrapConfigCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for solrBootstrapConfigCommand
    `ApiResponse<ApiCommand>` | `solrBootstrapConfigCommandWithHttpInfo(String clusterName, String serviceName)` Bootstraps Solr config during the CDH upgrade.
    `ApiCommand` | `solrConfigBackupCommand(String clusterName, String serviceName)` Backs up Solr configuration metadata before CDH upgrade.
    `com.squareup.okhttp.Call` | `solrConfigBackupCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Backs up Solr configuration metadata before CDH upgrade.
    `com.squareup.okhttp.Call` | `solrConfigBackupCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for solrConfigBackupCommand
    `ApiResponse<ApiCommand>` | `solrConfigBackupCommandWithHttpInfo(String clusterName, String serviceName)` Backs up Solr configuration metadata before CDH upgrade.
    `ApiCommand` | `solrMigrateSentryPrivilegesCommand(String clusterName, String serviceName)` Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service.
    `com.squareup.okhttp.Call` | `solrMigrateSentryPrivilegesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service.
    `com.squareup.okhttp.Call` | `solrMigrateSentryPrivilegesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for solrMigrateSentryPrivilegesCommand
    `ApiResponse<ApiCommand>` | `solrMigrateSentryPrivilegesCommandWithHttpInfo(String clusterName, String serviceName)` Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service.
    `ApiCommand` | `solrReinitializeStateForUpgradeCommand(String clusterName, String serviceName)` Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state.
    `com.squareup.okhttp.Call` | `solrReinitializeStateForUpgradeCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state.
    `com.squareup.okhttp.Call` | `solrReinitializeStateForUpgradeCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for solrReinitializeStateForUpgradeCommand
    `ApiResponse<ApiCommand>` | `solrReinitializeStateForUpgradeCommandWithHttpInfo(String clusterName, String serviceName)` Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state.
    `ApiCommand` | `solrValidateMetadataCommand(String clusterName, String serviceName)` Validates Solr metadata and configurations.
    `com.squareup.okhttp.Call` | `solrValidateMetadataCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Validates Solr metadata and configurations.
    `com.squareup.okhttp.Call` | `solrValidateMetadataCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for solrValidateMetadataCommand
    `ApiResponse<ApiCommand>` | `solrValidateMetadataCommandWithHttpInfo(String clusterName, String serviceName)` Validates Solr metadata and configurations.
    `ApiCommand` | `sqoopCreateDatabaseTablesCommand(String clusterName, String serviceName)` Create the Sqoop2 Server Database tables.
    `com.squareup.okhttp.Call` | `sqoopCreateDatabaseTablesCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Create the Sqoop2 Server Database tables.
    `com.squareup.okhttp.Call` | `sqoopCreateDatabaseTablesCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for sqoopCreateDatabaseTablesCommand
    `ApiResponse<ApiCommand>` | `sqoopCreateDatabaseTablesCommandWithHttpInfo(String clusterName, String serviceName)` Create the Sqoop2 Server Database tables.
    `ApiCommand` | `sqoopUpgradeDbCommand(String clusterName, String serviceName)` Upgrade Sqoop Database schema as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `sqoopUpgradeDbCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Upgrade Sqoop Database schema as part of a major version upgrade.
    `com.squareup.okhttp.Call` | `sqoopUpgradeDbCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for sqoopUpgradeDbCommand
    `ApiResponse<ApiCommand>` | `sqoopUpgradeDbCommandWithHttpInfo(String clusterName, String serviceName)` Upgrade Sqoop Database schema as part of a major version upgrade.
    `ApiCommand` | `startCommand(String clusterName, String serviceName)` Start the service.
    `com.squareup.okhttp.Call` | `startCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Start the service.
    `com.squareup.okhttp.Call` | `startCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for startCommand
    `ApiResponse<ApiCommand>` | `startCommandWithHttpInfo(String clusterName, String serviceName)` Start the service.
    `ApiCommand` | `stopCommand(String clusterName, String serviceName)` Stop the service.
    `com.squareup.okhttp.Call` | `stopCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Stop the service.
    `com.squareup.okhttp.Call` | `stopCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for stopCommand
    `ApiResponse<ApiCommand>` | `stopCommandWithHttpInfo(String clusterName, String serviceName)` Stop the service.
    `ApiCommand` | `switchToMr2(String clusterName, String serviceName)` Change the cluster to use MR2 instead of MR1.
    `com.squareup.okhttp.Call` | `switchToMr2Async(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Change the cluster to use MR2 instead of MR1.
    `com.squareup.okhttp.Call` | `switchToMr2Call(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for switchToMr2
    `ApiResponse<ApiCommand>` | `switchToMr2WithHttpInfo(String clusterName, String serviceName)` Change the cluster to use MR2 instead of MR1.
    `ApiService` | `updateService(String clusterName, String serviceName, ApiService body)` Updates service information.
    `com.squareup.okhttp.Call` | `updateServiceAsync(String clusterName, String serviceName, ApiService body, ApiCallback<ApiService> callback)` Updates service information.
    `com.squareup.okhttp.Call` | `updateServiceCall(String clusterName, String serviceName, ApiService body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for updateService
    `ApiServiceConfig` | `updateServiceConfig(String clusterName, String serviceName, String message, ApiServiceConfig body)` Updates the service configuration with the given values.
    `com.squareup.okhttp.Call` | `updateServiceConfigAsync(String clusterName, String serviceName, String message, ApiServiceConfig body, ApiCallback<ApiServiceConfig> callback)` Updates the service configuration with the given values.
    `com.squareup.okhttp.Call` | `updateServiceConfigCall(String clusterName, String serviceName, String message, ApiServiceConfig body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for updateServiceConfig
    `ApiResponse<ApiServiceConfig>` | `updateServiceConfigWithHttpInfo(String clusterName, String serviceName, String message, ApiServiceConfig body)` Updates the service configuration with the given values.
    `ApiResponse<ApiService>` | `updateServiceWithHttpInfo(String clusterName, String serviceName, ApiService body)` Updates service information.
    `ApiCommand` | `yarnFormatStateStore(String clusterName, String serviceName)` Formats the state store in ZooKeeper used for Resource Manager High Availability.
    `com.squareup.okhttp.Call` | `yarnFormatStateStoreAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Formats the state store in ZooKeeper used for Resource Manager High Availability.
    `com.squareup.okhttp.Call` | `yarnFormatStateStoreCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for yarnFormatStateStore
    `ApiResponse<ApiCommand>` | `yarnFormatStateStoreWithHttpInfo(String clusterName, String serviceName)` Formats the state store in ZooKeeper used for Resource Manager High Availability.
    `ApiCommand` | `zooKeeperCleanupCommand(String clusterName, String serviceName)` Clean up all running server instances of a ZooKeeper service.
    `com.squareup.okhttp.Call` | `zooKeeperCleanupCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Clean up all running server instances of a ZooKeeper service.
    `com.squareup.okhttp.Call` | `zooKeeperCleanupCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for zooKeeperCleanupCommand
    `ApiResponse<ApiCommand>` | `zooKeeperCleanupCommandWithHttpInfo(String clusterName, String serviceName)` Clean up all running server instances of a ZooKeeper service.
    `ApiCommand` | `zooKeeperInitCommand(String clusterName, String serviceName)` Initializes all the server instances of a ZooKeeper service.
    `com.squareup.okhttp.Call` | `zooKeeperInitCommandAsync(String clusterName, String serviceName, ApiCallback<ApiCommand> callback)` Initializes all the server instances of a ZooKeeper service.
    `com.squareup.okhttp.Call` | `zooKeeperInitCommandCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)` Build call for zooKeeperInitCommand
    `ApiResponse<ApiCommand>` | `zooKeeperInitCommandWithHttpInfo(String clusterName, String serviceName)` Initializes all the server instances of a ZooKeeper service.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServicesResourceApi

          public ServicesResourceApi()

    - #### ServicesResourceApi

          public ServicesResourceApi(ApiClient apiClient)

  - ### Method Detail

    - #### getApiClient

          public ApiClient getApiClient()

    - #### setApiClient

          public void setApiClient(ApiClient apiClient)

    - #### addTagsCall

          public com.squareup.okhttp.Call addTagsCall(String clusterName,
                                                      String serviceName,
                                                      List<ApiEntityTag> body,
                                                      ProgressResponseBody.ProgressListener progressListener,
                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                               throws ApiException

      Build call for addTags
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service (required)
        `body` - List of tags to add to the service (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### addTags

          public List<ApiEntityTag> addTags(String clusterName,
                                            String serviceName,
                                            List<ApiEntityTag> body)
                                     throws ApiException

      Attach tags to the service. Attach tags to the service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service (required)
        `body` - List of tags to add to the service (optional)
      Returns:
        List<ApiEntityTag>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### addTagsWithHttpInfo

          public ApiResponse<List<ApiEntityTag>> addTagsWithHttpInfo(String clusterName,
                                                                     String serviceName,
                                                                     List<ApiEntityTag> body)
                                                              throws ApiException

      Attach tags to the service. Attach tags to the service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service (required)
        `body` - List of tags to add to the service (optional)
      Returns:
        ApiResponse<List<ApiEntityTag>>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### addTagsAsync

          public com.squareup.okhttp.Call addTagsAsync(String clusterName,
                                                       String serviceName,
                                                       List<ApiEntityTag> body,
                                                       ApiCallback<List<ApiEntityTag>> callback)
                                                throws ApiException

      Attach tags to the service. (asynchronously) Attach tags to the service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service (required)
        `body` - List of tags to add to the service (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### collectYarnApplicationDiagnosticsCall

          public com.squareup.okhttp.Call collectYarnApplicationDiagnosticsCall(String clusterName,
                                                                                String serviceName,
                                                                                ApiYarnApplicationDiagnosticsCollectionArgs body,
                                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                         throws ApiException

      Build call for collectYarnApplicationDiagnostics
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
        `body` - Arguments used for collecting diagnostics data for Yarn applications (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### collectYarnApplicationDiagnostics

          public ApiCommand collectYarnApplicationDiagnostics(String clusterName,
                                                              String serviceName,
                                                              ApiYarnApplicationDiagnosticsCollectionArgs body)
                                                       throws ApiException

      Collect the Diagnostics data for Yarn applications. Collect the Diagnostics data for Yarn applications <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
        `body` - Arguments used for collecting diagnostics data for Yarn applications (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### collectYarnApplicationDiagnosticsWithHttpInfo

          public ApiResponse<ApiCommand> collectYarnApplicationDiagnosticsWithHttpInfo(String clusterName,
                                                                                       String serviceName,
                                                                                       ApiYarnApplicationDiagnosticsCollectionArgs body)
                                                                                throws ApiException

      Collect the Diagnostics data for Yarn applications. Collect the Diagnostics data for Yarn applications <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
        `body` - Arguments used for collecting diagnostics data for Yarn applications (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### collectYarnApplicationDiagnosticsAsync

          public com.squareup.okhttp.Call collectYarnApplicationDiagnosticsAsync(String clusterName,
                                                                                 String serviceName,
                                                                                 ApiYarnApplicationDiagnosticsCollectionArgs body,
                                                                                 ApiCallback<ApiCommand> callback)
                                                                          throws ApiException

      Collect the Diagnostics data for Yarn applications. (asynchronously) Collect the Diagnostics data for Yarn applications <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
        `body` - Arguments used for collecting diagnostics data for Yarn applications (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### copyHdfsFileCall

          public com.squareup.okhttp.Call copyHdfsFileCall(String clusterName,
                                                           String serviceName,
                                                           String destinationPath,
                                                           String sourcePath,
                                                           ApiServiceRef body,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException

      Build call for copyHdfsFile
      Parameters:
        `clusterName` - (required)
        `serviceName` - The source HDFS service (required)
        `destinationPath` - HDFS full path at destination (optional)
        `sourcePath` - HDFS full path at source (optional)
        `body` - ApiServiceRef for the destination (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### copyHdfsFile

          public ApiCommand copyHdfsFile(String clusterName,
                                         String serviceName,
                                         String destinationPath,
                                         String sourcePath,
                                         ApiServiceRef body)
                                  throws ApiException

      Copies source HDFS file to destination cluster HDFS. Copies source HDFS file to destination cluster HDFS
      Parameters:
        `clusterName` - (required)
        `serviceName` - The source HDFS service (required)
        `destinationPath` - HDFS full path at destination (optional)
        `sourcePath` - HDFS full path at source (optional)
        `body` - ApiServiceRef for the destination (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### copyHdfsFileWithHttpInfo

          public ApiResponse<ApiCommand> copyHdfsFileWithHttpInfo(String clusterName,
                                                                  String serviceName,
                                                                  String destinationPath,
                                                                  String sourcePath,
                                                                  ApiServiceRef body)
                                                           throws ApiException

      Copies source HDFS file to destination cluster HDFS. Copies source HDFS file to destination cluster HDFS
      Parameters:
        `clusterName` - (required)
        `serviceName` - The source HDFS service (required)
        `destinationPath` - HDFS full path at destination (optional)
        `sourcePath` - HDFS full path at source (optional)
        `body` - ApiServiceRef for the destination (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### copyHdfsFileAsync

          public com.squareup.okhttp.Call copyHdfsFileAsync(String clusterName,
                                                            String serviceName,
                                                            String destinationPath,
                                                            String sourcePath,
                                                            ApiServiceRef body,
                                                            ApiCallback<ApiCommand> callback)
                                                     throws ApiException

      Copies source HDFS file to destination cluster HDFS. (asynchronously) Copies source HDFS file to destination cluster HDFS
      Parameters:
        `clusterName` - (required)
        `serviceName` - The source HDFS service (required)
        `destinationPath` - HDFS full path at destination (optional)
        `sourcePath` - HDFS full path at source (optional)
        `body` - ApiServiceRef for the destination (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createBeeswaxWarehouseCommandCall

          public com.squareup.okhttp.Call createBeeswaxWarehouseCommandCall(String clusterName,
                                                                            String serviceName,
                                                                            ProgressResponseBody.ProgressListener progressListener,
                                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                     throws ApiException

      Build call for createBeeswaxWarehouseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hue service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createBeeswaxWarehouseCommand

          public ApiCommand createBeeswaxWarehouseCommand(String clusterName,
                                                          String serviceName)
                                                   throws ApiException

      Create the Beeswax role's Hive warehouse directory, on Hue services. Create the Beeswax role's Hive warehouse directory, on Hue services.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hue service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createBeeswaxWarehouseCommandWithHttpInfo

          public ApiResponse<ApiCommand> createBeeswaxWarehouseCommandWithHttpInfo(String clusterName,
                                                                                   String serviceName)
                                                                            throws ApiException

      Create the Beeswax role's Hive warehouse directory, on Hue services. Create the Beeswax role's Hive warehouse directory, on Hue services.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hue service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createBeeswaxWarehouseCommandAsync

          public com.squareup.okhttp.Call createBeeswaxWarehouseCommandAsync(String clusterName,
                                                                             String serviceName,
                                                                             ApiCallback<ApiCommand> callback)
                                                                      throws ApiException

      Create the Beeswax role's Hive warehouse directory, on Hue services. (asynchronously) Create the Beeswax role's Hive warehouse directory, on Hue services.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hue service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createHBaseRootCommandCall

          public com.squareup.okhttp.Call createHBaseRootCommandCall(String clusterName,
                                                                     String serviceName,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException

      Build call for createHBaseRootCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createHBaseRootCommand

          public ApiCommand createHBaseRootCommand(String clusterName,
                                                   String serviceName)
                                            throws ApiException

      Creates the root directory of an HBase service. Creates the root directory of an HBase service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHBaseRootCommandWithHttpInfo

          public ApiResponse<ApiCommand> createHBaseRootCommandWithHttpInfo(String clusterName,
                                                                            String serviceName)
                                                                     throws ApiException

      Creates the root directory of an HBase service. Creates the root directory of an HBase service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHBaseRootCommandAsync

          public com.squareup.okhttp.Call createHBaseRootCommandAsync(String clusterName,
                                                                      String serviceName,
                                                                      ApiCallback<ApiCommand> callback)
                                                               throws ApiException

      Creates the root directory of an HBase service. (asynchronously) Creates the root directory of an HBase service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createHdfsFileCall

          public com.squareup.okhttp.Call createHdfsFileCall(String clusterName,
                                                             String serviceName,
                                                             Boolean overwrite,
                                                             String path,
                                                             String body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException

      Build call for createHdfsFile
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `overwrite` - If true overwrite the file (optional, default to false)
        `path` - full path to the HDFS file to be created (optional)
        `body` - Content to be put in the file to be created (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createHdfsFile

          public String createHdfsFile(String clusterName,
                                       String serviceName,
                                       Boolean overwrite,
                                       String path,
                                       String body)
                                throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `overwrite` - If true overwrite the file (optional, default to false)
        `path` - full path to the HDFS file to be created (optional)
        `body` - Content to be put in the file to be created (optional)
      Returns:
        String
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHdfsFileWithHttpInfo

          public ApiResponse<String> createHdfsFileWithHttpInfo(String clusterName,
                                                                String serviceName,
                                                                Boolean overwrite,
                                                                String path,
                                                                String body)
                                                         throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `overwrite` - If true overwrite the file (optional, default to false)
        `path` - full path to the HDFS file to be created (optional)
        `body` - Content to be put in the file to be created (optional)
      Returns:
        ApiResponse<String>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHdfsFileAsync

          public com.squareup.okhttp.Call createHdfsFileAsync(String clusterName,
                                                              String serviceName,
                                                              Boolean overwrite,
                                                              String path,
                                                              String body,
                                                              ApiCallback<String> callback)
                                                       throws ApiException

      (asynchronously)
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `overwrite` - If true overwrite the file (optional, default to false)
        `path` - full path to the HDFS file to be created (optional)
        `body` - Content to be put in the file to be created (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createHiveUserDirCommandCall

          public com.squareup.okhttp.Call createHiveUserDirCommandCall(String clusterName,
                                                                       String serviceName,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException

      Build call for createHiveUserDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createHiveUserDirCommand

          public ApiCommand createHiveUserDirCommand(String clusterName,
                                                     String serviceName)
                                              throws ApiException

      Create the Hive user directory. Create the Hive user directory <p> Available since API v4. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHiveUserDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createHiveUserDirCommandWithHttpInfo(String clusterName,
                                                                              String serviceName)
                                                                       throws ApiException

      Create the Hive user directory. Create the Hive user directory <p> Available since API v4. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHiveUserDirCommandAsync

          public com.squareup.okhttp.Call createHiveUserDirCommandAsync(String clusterName,
                                                                        String serviceName,
                                                                        ApiCallback<ApiCommand> callback)
                                                                 throws ApiException

      Create the Hive user directory. (asynchronously) Create the Hive user directory <p> Available since API v4. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createHiveWarehouseCommandCall

          public com.squareup.okhttp.Call createHiveWarehouseCommandCall(String clusterName,
                                                                         String serviceName,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException

      Build call for createHiveWarehouseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createHiveWarehouseCommand

          public ApiCommand createHiveWarehouseCommand(String clusterName,
                                                       String serviceName)
                                                throws ApiException

      Create the Hive warehouse directory, on Hive services. Create the Hive warehouse directory, on Hive services. <p> Available since API v3. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHiveWarehouseCommandWithHttpInfo

          public ApiResponse<ApiCommand> createHiveWarehouseCommandWithHttpInfo(String clusterName,
                                                                                String serviceName)
                                                                         throws ApiException

      Create the Hive warehouse directory, on Hive services. Create the Hive warehouse directory, on Hive services. <p> Available since API v3. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHiveWarehouseCommandAsync

          public com.squareup.okhttp.Call createHiveWarehouseCommandAsync(String clusterName,
                                                                          String serviceName,
                                                                          ApiCallback<ApiCommand> callback)
                                                                   throws ApiException

      Create the Hive warehouse directory, on Hive services. (asynchronously) Create the Hive warehouse directory, on Hive services. <p> Available since API v3. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createHiveWarehouseExternalCommandCall

          public com.squareup.okhttp.Call createHiveWarehouseExternalCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 String directory,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for createHiveWarehouseExternalCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `directory` - Name of the warehouse external directory. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createHiveWarehouseExternalCommand

          public ApiCommand createHiveWarehouseExternalCommand(String clusterName,
                                                               String serviceName,
                                                               String directory)
                                                        throws ApiException

      Create the Hive warehouse external directory for Private Cloud. Create the Hive warehouse external directory for Private Cloud.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `directory` - Name of the warehouse external directory. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHiveWarehouseExternalCommandWithHttpInfo

          public ApiResponse<ApiCommand> createHiveWarehouseExternalCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName,
                                                                                        String directory)
                                                                                 throws ApiException

      Create the Hive warehouse external directory for Private Cloud. Create the Hive warehouse external directory for Private Cloud.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `directory` - Name of the warehouse external directory. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createHiveWarehouseExternalCommandAsync

          public com.squareup.okhttp.Call createHiveWarehouseExternalCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  String directory,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      Create the Hive warehouse external directory for Private Cloud. (asynchronously) Create the Hive warehouse external directory for Private Cloud.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `directory` - Name of the warehouse external directory. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createImpalaUserDirCommandCall

          public com.squareup.okhttp.Call createImpalaUserDirCommandCall(String clusterName,
                                                                         String serviceName,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException

      Build call for createImpalaUserDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Impala service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createImpalaUserDirCommand

          public ApiCommand createImpalaUserDirCommand(String clusterName,
                                                       String serviceName)
                                                throws ApiException

      Create the Impala user directory. Create the Impala user directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Impala service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createImpalaUserDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createImpalaUserDirCommandWithHttpInfo(String clusterName,
                                                                                String serviceName)
                                                                         throws ApiException

      Create the Impala user directory. Create the Impala user directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Impala service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createImpalaUserDirCommandAsync

          public com.squareup.okhttp.Call createImpalaUserDirCommandAsync(String clusterName,
                                                                          String serviceName,
                                                                          ApiCallback<ApiCommand> callback)
                                                                   throws ApiException

      Create the Impala user directory. (asynchronously) Create the Impala user directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Impala service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createOozieDbCall

          public com.squareup.okhttp.Call createOozieDbCall(String clusterName,
                                                            String serviceName,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException

      Build call for createOozieDb
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createOozieDb

          public ApiCommand createOozieDb(String clusterName,
                                          String serviceName)
                                   throws ApiException

      Creates the Oozie Database Schema in the configured database. Creates the Oozie Database Schema in the configured database. This command does not create database. This command creates only tables required by Oozie. To create database, please refer to oozieCreateEmbeddedDatabase() <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createOozieDbWithHttpInfo

          public ApiResponse<ApiCommand> createOozieDbWithHttpInfo(String clusterName,
                                                                   String serviceName)
                                                            throws ApiException

      Creates the Oozie Database Schema in the configured database. Creates the Oozie Database Schema in the configured database. This command does not create database. This command creates only tables required by Oozie. To create database, please refer to oozieCreateEmbeddedDatabase() <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createOozieDbAsync

          public com.squareup.okhttp.Call createOozieDbAsync(String clusterName,
                                                             String serviceName,
                                                             ApiCallback<ApiCommand> callback)
                                                      throws ApiException

      Creates the Oozie Database Schema in the configured database. (asynchronously) Creates the Oozie Database Schema in the configured database. This command does not create database. This command creates only tables required by Oozie. To create database, please refer to oozieCreateEmbeddedDatabase() <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createServicesCall

          public com.squareup.okhttp.Call createServicesCall(String clusterName,
                                                             ApiServiceList body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException

      Build call for createServices
      Parameters:
        `clusterName` - (required)
        `body` - Details of the services to create. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createServices

          public ApiServiceList createServices(String clusterName,
                                               ApiServiceList body)
                                        throws ApiException

      Creates a list of services. Creates a list of services. <p> There are typically two service creation strategies: <ol> <li> The caller may choose to set up a new service piecemeal, by first creating the service itself (without any roles or configuration), and then create the roles, and then specify configuration. </li> <li> Alternatively, the caller can pack all the information in one call, by fully specifying the fields in the com.cloudera.api.model.ApiService object, with <ul> <li>service config and role type config, and</li> <li>role to host assignment.</li> </ul> </li> </ol> <table> <thead> <tr> <th>Cluster Version</th> <th>Available Service Types</th> </tr> </thead> <tbody> <tr> <td>CDH4</td> <td>HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER</td> </tr> <tr> <td>CDH5</td> <td>HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER, SQOOP_CLIENT, SENTRY, ACCUMULO16, KMS, SPARK_ON_YARN, KAFKA </td> </tr> </tbody> </table> As of V6, GET /{clusterName}/serviceTypes should be used to get the service types available to the cluster.
      Parameters:
        `clusterName` - (required)
        `body` - Details of the services to create. (optional)
      Returns:
        ApiServiceList
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createServicesWithHttpInfo

          public ApiResponse<ApiServiceList> createServicesWithHttpInfo(String clusterName,
                                                                        ApiServiceList body)
                                                                 throws ApiException

      Creates a list of services. Creates a list of services. <p> There are typically two service creation strategies: <ol> <li> The caller may choose to set up a new service piecemeal, by first creating the service itself (without any roles or configuration), and then create the roles, and then specify configuration. </li> <li> Alternatively, the caller can pack all the information in one call, by fully specifying the fields in the com.cloudera.api.model.ApiService object, with <ul> <li>service config and role type config, and</li> <li>role to host assignment.</li> </ul> </li> </ol> <table> <thead> <tr> <th>Cluster Version</th> <th>Available Service Types</th> </tr> </thead> <tbody> <tr> <td>CDH4</td> <td>HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER</td> </tr> <tr> <td>CDH5</td> <td>HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER, SQOOP_CLIENT, SENTRY, ACCUMULO16, KMS, SPARK_ON_YARN, KAFKA </td> </tr> </tbody> </table> As of V6, GET /{clusterName}/serviceTypes should be used to get the service types available to the cluster.
      Parameters:
        `clusterName` - (required)
        `body` - Details of the services to create. (optional)
      Returns:
        ApiResponse<ApiServiceList>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createServicesAsync

          public com.squareup.okhttp.Call createServicesAsync(String clusterName,
                                                              ApiServiceList body,
                                                              ApiCallback<ApiServiceList> callback)
                                                       throws ApiException

      Creates a list of services. (asynchronously) Creates a list of services. <p> There are typically two service creation strategies: <ol> <li> The caller may choose to set up a new service piecemeal, by first creating the service itself (without any roles or configuration), and then create the roles, and then specify configuration. </li> <li> Alternatively, the caller can pack all the information in one call, by fully specifying the fields in the com.cloudera.api.model.ApiService object, with <ul> <li>service config and role type config, and</li> <li>role to host assignment.</li> </ul> </li> </ol> <table> <thead> <tr> <th>Cluster Version</th> <th>Available Service Types</th> </tr> </thead> <tbody> <tr> <td>CDH4</td> <td>HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER</td> </tr> <tr> <td>CDH5</td> <td>HDFS, MAPREDUCE, HBASE, OOZIE, ZOOKEEPER, HUE, YARN, IMPALA, FLUME, HIVE, SOLR, SQOOP, KS_INDEXER, SQOOP_CLIENT, SENTRY, ACCUMULO16, KMS, SPARK_ON_YARN, KAFKA </td> </tr> </tbody> </table> As of V6, GET /{clusterName}/serviceTypes should be used to get the service types available to the cluster.
      Parameters:
        `clusterName` - (required)
        `body` - Details of the services to create. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createSolrHdfsHomeDirCommandCall

          public com.squareup.okhttp.Call createSolrHdfsHomeDirCommandCall(String clusterName,
                                                                           String serviceName,
                                                                           ProgressResponseBody.ProgressListener progressListener,
                                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                    throws ApiException

      Build call for createSolrHdfsHomeDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createSolrHdfsHomeDirCommand

          public ApiCommand createSolrHdfsHomeDirCommand(String clusterName,
                                                         String serviceName)
                                                  throws ApiException

      Creates the home directory of a Solr service in HDFS. Creates the home directory of a Solr service in HDFS. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createSolrHdfsHomeDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createSolrHdfsHomeDirCommandWithHttpInfo(String clusterName,
                                                                                  String serviceName)
                                                                           throws ApiException

      Creates the home directory of a Solr service in HDFS. Creates the home directory of a Solr service in HDFS. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createSolrHdfsHomeDirCommandAsync

          public com.squareup.okhttp.Call createSolrHdfsHomeDirCommandAsync(String clusterName,
                                                                            String serviceName,
                                                                            ApiCallback<ApiCommand> callback)
                                                                     throws ApiException

      Creates the home directory of a Solr service in HDFS. (asynchronously) Creates the home directory of a Solr service in HDFS. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createSqoopUserDirCommandCall

          public com.squareup.okhttp.Call createSqoopUserDirCommandCall(String clusterName,
                                                                        String serviceName,
                                                                        ProgressResponseBody.ProgressListener progressListener,
                                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                 throws ApiException

      Build call for createSqoopUserDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createSqoopUserDirCommand

          public ApiCommand createSqoopUserDirCommand(String clusterName,
                                                      String serviceName)
                                               throws ApiException

      Creates the user directory of a Sqoop service in HDFS. Creates the user directory of a Sqoop service in HDFS. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createSqoopUserDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createSqoopUserDirCommandWithHttpInfo(String clusterName,
                                                                               String serviceName)
                                                                        throws ApiException

      Creates the user directory of a Sqoop service in HDFS. Creates the user directory of a Sqoop service in HDFS. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createSqoopUserDirCommandAsync

          public com.squareup.okhttp.Call createSqoopUserDirCommandAsync(String clusterName,
                                                                         String serviceName,
                                                                         ApiCallback<ApiCommand> callback)
                                                                  throws ApiException

      Creates the user directory of a Sqoop service in HDFS. (asynchronously) Creates the user directory of a Sqoop service in HDFS. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createYarnCmContainerUsageInputDirCommandCall

          public com.squareup.okhttp.Call createYarnCmContainerUsageInputDirCommandCall(String clusterName,
                                                                                        String serviceName,
                                                                                        ProgressResponseBody.ProgressListener progressListener,
                                                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                 throws ApiException

      Build call for createYarnCmContainerUsageInputDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createYarnCmContainerUsageInputDirCommand

          public ApiCommand createYarnCmContainerUsageInputDirCommand(String clusterName,
                                                                      String serviceName)
                                                               throws ApiException

      Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics. Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics. <p> Available since API v13. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createYarnCmContainerUsageInputDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createYarnCmContainerUsageInputDirCommandWithHttpInfo(String clusterName,
                                                                                               String serviceName)
                                                                                        throws ApiException

      Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics. Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics. <p> Available since API v13. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createYarnCmContainerUsageInputDirCommandAsync

          public com.squareup.okhttp.Call createYarnCmContainerUsageInputDirCommandAsync(String clusterName,
                                                                                         String serviceName,
                                                                                         ApiCallback<ApiCommand> callback)
                                                                                  throws ApiException

      Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics. (asynchronously) Creates the HDFS directory where YARN container usage metrics are stored by NodeManagers for CM to read and aggregate into app usage metrics. <p> Available since API v13. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createYarnJobHistoryDirCommandCall

          public com.squareup.okhttp.Call createYarnJobHistoryDirCommandCall(String clusterName,
                                                                             String serviceName,
                                                                             ProgressResponseBody.ProgressListener progressListener,
                                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                      throws ApiException

      Build call for createYarnJobHistoryDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createYarnJobHistoryDirCommand

          public ApiCommand createYarnJobHistoryDirCommand(String clusterName,
                                                           String serviceName)
                                                    throws ApiException

      Create the Yarn job history directory. Create the Yarn job history directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createYarnJobHistoryDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createYarnJobHistoryDirCommandWithHttpInfo(String clusterName,
                                                                                    String serviceName)
                                                                             throws ApiException

      Create the Yarn job history directory. Create the Yarn job history directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createYarnJobHistoryDirCommandAsync

          public com.squareup.okhttp.Call createYarnJobHistoryDirCommandAsync(String clusterName,
                                                                              String serviceName,
                                                                              ApiCallback<ApiCommand> callback)
                                                                       throws ApiException

      Create the Yarn job history directory. (asynchronously) Create the Yarn job history directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### createYarnNodeManagerRemoteAppLogDirCommandCall

          public com.squareup.okhttp.Call createYarnNodeManagerRemoteAppLogDirCommandCall(String clusterName,
                                                                                          String serviceName,
                                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                   throws ApiException

      Build call for createYarnNodeManagerRemoteAppLogDirCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### createYarnNodeManagerRemoteAppLogDirCommand

          public ApiCommand createYarnNodeManagerRemoteAppLogDirCommand(String clusterName,
                                                                        String serviceName)
                                                                 throws ApiException

      Create the Yarn NodeManager remote application log directory. Create the Yarn NodeManager remote application log directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createYarnNodeManagerRemoteAppLogDirCommandWithHttpInfo

          public ApiResponse<ApiCommand> createYarnNodeManagerRemoteAppLogDirCommandWithHttpInfo(String clusterName,
                                                                                                 String serviceName)
                                                                                          throws ApiException

      Create the Yarn NodeManager remote application log directory. Create the Yarn NodeManager remote application log directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### createYarnNodeManagerRemoteAppLogDirCommandAsync

          public com.squareup.okhttp.Call createYarnNodeManagerRemoteAppLogDirCommandAsync(String clusterName,
                                                                                           String serviceName,
                                                                                           ApiCallback<ApiCommand> callback)
                                                                                    throws ApiException

      Create the Yarn NodeManager remote application log directory. (asynchronously) Create the Yarn NodeManager remote application log directory <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### decommissionCommandCall

          public com.squareup.okhttp.Call decommissionCommandCall(String clusterName,
                                                                  String serviceName,
                                                                  ApiRoleNameList body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for decommissionCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `body` - List of role names to decommision. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### decommissionCommand

          public ApiCommand decommissionCommand(String clusterName,
                                                String serviceName,
                                                ApiRoleNameList body)
                                         throws ApiException

      Decommission roles of a service. Decommission roles of a service. <p> For HBase services, the list should contain names of RegionServers to decommission. <p> For HDFS services, the list should contain names of DataNodes to decommission.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `body` - List of role names to decommision. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### decommissionCommandWithHttpInfo

          public ApiResponse<ApiCommand> decommissionCommandWithHttpInfo(String clusterName,
                                                                         String serviceName,
                                                                         ApiRoleNameList body)
                                                                  throws ApiException

      Decommission roles of a service. Decommission roles of a service. <p> For HBase services, the list should contain names of RegionServers to decommission. <p> For HDFS services, the list should contain names of DataNodes to decommission.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `body` - List of role names to decommision. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### decommissionCommandAsync

          public com.squareup.okhttp.Call decommissionCommandAsync(String clusterName,
                                                                   String serviceName,
                                                                   ApiRoleNameList body,
                                                                   ApiCallback<ApiCommand> callback)
                                                            throws ApiException

      Decommission roles of a service. (asynchronously) Decommission roles of a service. <p> For HBase services, the list should contain names of RegionServers to decommission. <p> For HDFS services, the list should contain names of DataNodes to decommission.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `body` - List of role names to decommision. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### deleteHdfsPathCall

          public com.squareup.okhttp.Call deleteHdfsPathCall(String clusterName,
                                                             String serviceName,
                                                             String path,
                                                             Boolean recursive,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException

      Build call for deleteHdfsPath
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `path` - path of the file or directory to be deleted (optional)
        `recursive` - If the path is a directory and this is set to true, then deletes the directory and its contents, otherwise the call will fail if the directory is not empty (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### deleteHdfsPath

          public DeleteHdfsPathResult deleteHdfsPath(String clusterName,
                                                     String serviceName,
                                                     String path,
                                                     Boolean recursive)
                                              throws ApiException

      Deletes the file or directory, specified by the given path, on the given HDFS service. Deletes the file or directory, specified by the given path, on the given HDFS service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `path` - path of the file or directory to be deleted (optional)
        `recursive` - If the path is a directory and this is set to true, then deletes the directory and its contents, otherwise the call will fail if the directory is not empty (optional)
      Returns:
        DeleteHdfsPathResult
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deleteHdfsPathWithHttpInfo

          public ApiResponse<DeleteHdfsPathResult> deleteHdfsPathWithHttpInfo(String clusterName,
                                                                              String serviceName,
                                                                              String path,
                                                                              Boolean recursive)
                                                                       throws ApiException

      Deletes the file or directory, specified by the given path, on the given HDFS service. Deletes the file or directory, specified by the given path, on the given HDFS service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `path` - path of the file or directory to be deleted (optional)
        `recursive` - If the path is a directory and this is set to true, then deletes the directory and its contents, otherwise the call will fail if the directory is not empty (optional)
      Returns:
        ApiResponse<DeleteHdfsPathResult>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deleteHdfsPathAsync

          public com.squareup.okhttp.Call deleteHdfsPathAsync(String clusterName,
                                                              String serviceName,
                                                              String path,
                                                              Boolean recursive,
                                                              ApiCallback<DeleteHdfsPathResult> callback)
                                                       throws ApiException

      Deletes the file or directory, specified by the given path, on the given HDFS service. (asynchronously) Deletes the file or directory, specified by the given path, on the given HDFS service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name (required)
        `path` - path of the file or directory to be deleted (optional)
        `recursive` - If the path is a directory and this is set to true, then deletes the directory and its contents, otherwise the call will fail if the directory is not empty (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### deleteServiceCall

          public com.squareup.okhttp.Call deleteServiceCall(String clusterName,
                                                            String serviceName,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException

      Build call for deleteService
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service to delete. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### deleteService

          public ApiService deleteService(String clusterName,
                                          String serviceName)
                                   throws ApiException

      Deletes a service from the system. Deletes a service from the system.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service to delete. (required)
      Returns:
        ApiService
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deleteServiceWithHttpInfo

          public ApiResponse<ApiService> deleteServiceWithHttpInfo(String clusterName,
                                                                   String serviceName)
                                                            throws ApiException

      Deletes a service from the system. Deletes a service from the system.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service to delete. (required)
      Returns:
        ApiResponse<ApiService>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deleteServiceAsync

          public com.squareup.okhttp.Call deleteServiceAsync(String clusterName,
                                                             String serviceName,
                                                             ApiCallback<ApiService> callback)
                                                      throws ApiException

      Deletes a service from the system. (asynchronously) Deletes a service from the system.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service to delete. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### deleteTagsCall

          public com.squareup.okhttp.Call deleteTagsCall(String clusterName,
                                                         String serviceName,
                                                         List<ApiEntityTag> body,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException

      Build call for deleteTags
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service to remove tags from (required)
        `body` - List of tags to remove from the service (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### deleteTags

          public List<ApiEntityTag> deleteTags(String clusterName,
                                               String serviceName,
                                               List<ApiEntityTag> body)
                                        throws ApiException

      Remove the tags associated with the service. Remove the tags associated with the service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service to remove tags from (required)
        `body` - List of tags to remove from the service (optional)
      Returns:
        List<ApiEntityTag>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deleteTagsWithHttpInfo

          public ApiResponse<List<ApiEntityTag>> deleteTagsWithHttpInfo(String clusterName,
                                                                        String serviceName,
                                                                        List<ApiEntityTag> body)
                                                                 throws ApiException

      Remove the tags associated with the service. Remove the tags associated with the service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service to remove tags from (required)
        `body` - List of tags to remove from the service (optional)
      Returns:
        ApiResponse<List<ApiEntityTag>>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deleteTagsAsync

          public com.squareup.okhttp.Call deleteTagsAsync(String clusterName,
                                                          String serviceName,
                                                          List<ApiEntityTag> body,
                                                          ApiCallback<List<ApiEntityTag>> callback)
                                                   throws ApiException

      Remove the tags associated with the service. (asynchronously) Remove the tags associated with the service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service to remove tags from (required)
        `body` - List of tags to remove from the service (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### deployClientConfigCommandCall

          public com.squareup.okhttp.Call deployClientConfigCommandCall(String clusterName,
                                                                        String serviceName,
                                                                        ApiRoleNameList body,
                                                                        ProgressResponseBody.ProgressListener progressListener,
                                                                        ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                 throws ApiException

      Build call for deployClientConfigCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - List of role names. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### deployClientConfigCommand

          public ApiCommand deployClientConfigCommand(String clusterName,
                                                      String serviceName,
                                                      ApiRoleNameList body)
                                               throws ApiException

      Deploy a service's client configuration. Deploy a service's client configuration. <p> The client configuration is deployed to the hosts where the given roles are running. <p/> Added in v3: passing null for the role name list will deploy client configs to all known service roles. Added in v6: passing an empty role name list will deploy client configs to all known service roles. <p/> In Cloudera Manager 5.3 and newer, client configurations are fully managed, meaning that the server maintains state about which client configurations should exist and be managed by alternatives, and the agents actively rectify their hosts with this state. Consequently, if this API call is made with a specific set of roles, Cloudera Manager will deactivate, from alternatives, any deployed client configs from any non-gateway roles that are <em>not</em> specified as arguments. Gateway roles are always preserved, and calling this API with an empty or null argument continues to deploy to all roles. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - List of role names. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deployClientConfigCommandWithHttpInfo

          public ApiResponse<ApiCommand> deployClientConfigCommandWithHttpInfo(String clusterName,
                                                                               String serviceName,
                                                                               ApiRoleNameList body)
                                                                        throws ApiException

      Deploy a service's client configuration. Deploy a service's client configuration. <p> The client configuration is deployed to the hosts where the given roles are running. <p/> Added in v3: passing null for the role name list will deploy client configs to all known service roles. Added in v6: passing an empty role name list will deploy client configs to all known service roles. <p/> In Cloudera Manager 5.3 and newer, client configurations are fully managed, meaning that the server maintains state about which client configurations should exist and be managed by alternatives, and the agents actively rectify their hosts with this state. Consequently, if this API call is made with a specific set of roles, Cloudera Manager will deactivate, from alternatives, any deployed client configs from any non-gateway roles that are <em>not</em> specified as arguments. Gateway roles are always preserved, and calling this API with an empty or null argument continues to deploy to all roles. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - List of role names. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### deployClientConfigCommandAsync

          public com.squareup.okhttp.Call deployClientConfigCommandAsync(String clusterName,
                                                                         String serviceName,
                                                                         ApiRoleNameList body,
                                                                         ApiCallback<ApiCommand> callback)
                                                                  throws ApiException

      Deploy a service's client configuration. (asynchronously) Deploy a service's client configuration. <p> The client configuration is deployed to the hosts where the given roles are running. <p/> Added in v3: passing null for the role name list will deploy client configs to all known service roles. Added in v6: passing an empty role name list will deploy client configs to all known service roles. <p/> In Cloudera Manager 5.3 and newer, client configurations are fully managed, meaning that the server maintains state about which client configurations should exist and be managed by alternatives, and the agents actively rectify their hosts with this state. Consequently, if this API call is made with a specific set of roles, Cloudera Manager will deactivate, from alternatives, any deployed client configs from any non-gateway roles that are <em>not</em> specified as arguments. Gateway roles are always preserved, and calling this API with an empty or null argument continues to deploy to all roles. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - List of role names. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### disableJtHaCommandCall

          public com.squareup.okhttp.Call disableJtHaCommandCall(String clusterName,
                                                                 String serviceName,
                                                                 ApiDisableJtHaArguments body,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException

      Build call for disableJtHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### disableJtHaCommand

          public ApiCommand disableJtHaCommand(String clusterName,
                                               String serviceName,
                                               ApiDisableJtHaArguments body)
                                        throws ApiException

      Disable high availability (HA) for JobTracker. Disable high availability (HA) for JobTracker. As part of disabling HA, any services that depend on the MapReduce service being modified will be stopped. The command arguments provide options to specify name of JobTracker that will be preserved. The Command will redeploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableJtHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> disableJtHaCommandWithHttpInfo(String clusterName,
                                                                        String serviceName,
                                                                        ApiDisableJtHaArguments body)
                                                                 throws ApiException

      Disable high availability (HA) for JobTracker. Disable high availability (HA) for JobTracker. As part of disabling HA, any services that depend on the MapReduce service being modified will be stopped. The command arguments provide options to specify name of JobTracker that will be preserved. The Command will redeploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableJtHaCommandAsync

          public com.squareup.okhttp.Call disableJtHaCommandAsync(String clusterName,
                                                                  String serviceName,
                                                                  ApiDisableJtHaArguments body,
                                                                  ApiCallback<ApiCommand> callback)
                                                           throws ApiException

      Disable high availability (HA) for JobTracker. (asynchronously) Disable high availability (HA) for JobTracker. As part of disabling HA, any services that depend on the MapReduce service being modified will be stopped. The command arguments provide options to specify name of JobTracker that will be preserved. The Command will redeploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### disableLlamaHaCommandCall

          public com.squareup.okhttp.Call disableLlamaHaCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ApiDisableLlamaHaArguments body,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for disableLlamaHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### disableLlamaHaCommand

          public ApiCommand disableLlamaHaCommand(String clusterName,
                                                  String serviceName,
                                                  ApiDisableLlamaHaArguments body)
                                           throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableLlamaHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> disableLlamaHaCommandWithHttpInfo(String clusterName,
                                                                           String serviceName,
                                                                           ApiDisableLlamaHaArguments body)
                                                                    throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableLlamaHaCommandAsync

          public com.squareup.okhttp.Call disableLlamaHaCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiDisableLlamaHaArguments body,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Not Supported. (asynchronously) Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### disableLlamaRmCommandCall

          public com.squareup.okhttp.Call disableLlamaRmCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for disableLlamaRmCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### disableLlamaRmCommand

          public ApiCommand disableLlamaRmCommand(String clusterName,
                                                  String serviceName)
                                           throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableLlamaRmCommandWithHttpInfo

          public ApiResponse<ApiCommand> disableLlamaRmCommandWithHttpInfo(String clusterName,
                                                                           String serviceName)
                                                                    throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableLlamaRmCommandAsync

          public com.squareup.okhttp.Call disableLlamaRmCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Not Supported. (asynchronously) Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### disableOozieHaCommandCall

          public com.squareup.okhttp.Call disableOozieHaCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ApiDisableOozieHaArguments body,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for disableOozieHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### disableOozieHaCommand

          public ApiCommand disableOozieHaCommand(String clusterName,
                                                  String serviceName,
                                                  ApiDisableOozieHaArguments body)
                                           throws ApiException

      Disable high availability (HA) for Oozie. Disable high availability (HA) for Oozie. As part of disabling HA, any services that depend on the Oozie service being modified will be stopped. The command arguments provide options to specify name of Oozie Server that will be preserved. After deleting, other Oozie servers, all the services that were stopped are restarted.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableOozieHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> disableOozieHaCommandWithHttpInfo(String clusterName,
                                                                           String serviceName,
                                                                           ApiDisableOozieHaArguments body)
                                                                    throws ApiException

      Disable high availability (HA) for Oozie. Disable high availability (HA) for Oozie. As part of disabling HA, any services that depend on the Oozie service being modified will be stopped. The command arguments provide options to specify name of Oozie Server that will be preserved. After deleting, other Oozie servers, all the services that were stopped are restarted.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableOozieHaCommandAsync

          public com.squareup.okhttp.Call disableOozieHaCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiDisableOozieHaArguments body,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Disable high availability (HA) for Oozie. (asynchronously) Disable high availability (HA) for Oozie. As part of disabling HA, any services that depend on the Oozie service being modified will be stopped. The command arguments provide options to specify name of Oozie Server that will be preserved. After deleting, other Oozie servers, all the services that were stopped are restarted.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### disableRmHaCommandCall

          public com.squareup.okhttp.Call disableRmHaCommandCall(String clusterName,
                                                                 String serviceName,
                                                                 ApiDisableRmHaArguments body,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException

      Build call for disableRmHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### disableRmHaCommand

          public ApiCommand disableRmHaCommand(String clusterName,
                                               String serviceName,
                                               ApiDisableRmHaArguments body)
                                        throws ApiException

      Disable high availability (HA) for ResourceManager. Disable high availability (HA) for ResourceManager. As part of disabling HA, any services that depend on the YARN service being modified will be stopped. The command arguments provide options to specify name of ResourceManager that will be preserved. The command will redeploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableRmHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> disableRmHaCommandWithHttpInfo(String clusterName,
                                                                        String serviceName,
                                                                        ApiDisableRmHaArguments body)
                                                                 throws ApiException

      Disable high availability (HA) for ResourceManager. Disable high availability (HA) for ResourceManager. As part of disabling HA, any services that depend on the YARN service being modified will be stopped. The command arguments provide options to specify name of ResourceManager that will be preserved. The command will redeploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableRmHaCommandAsync

          public com.squareup.okhttp.Call disableRmHaCommandAsync(String clusterName,
                                                                  String serviceName,
                                                                  ApiDisableRmHaArguments body,
                                                                  ApiCallback<ApiCommand> callback)
                                                           throws ApiException

      Disable high availability (HA) for ResourceManager. (asynchronously) Disable high availability (HA) for ResourceManager. As part of disabling HA, any services that depend on the YARN service being modified will be stopped. The command arguments provide options to specify name of ResourceManager that will be preserved. The command will redeploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### disableSentryHaCommandCall

          public com.squareup.okhttp.Call disableSentryHaCommandCall(String clusterName,
                                                                     String serviceName,
                                                                     ApiDisableSentryHaArgs body,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException

      Build call for disableSentryHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiDisableSentryHaArgs representing the arguments to the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### disableSentryHaCommand

          public ApiCommand disableSentryHaCommand(String clusterName,
                                                   String serviceName,
                                                   ApiDisableSentryHaArgs body)
                                            throws ApiException

      Disable high availability (HA) for Sentry service. Disable high availability (HA) for Sentry service. <p> This command only applies to CDH 5.13+ Sentry services. <p> The command will keep exactly one Sentry server, on the specified host, and update the ZooKeeper configs needed for Sentry. <p> All services that depend on HDFS will be restarted after enabling Sentry HA. <p> Note: Sentry doesn't support Rolling Restart.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiDisableSentryHaArgs representing the arguments to the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableSentryHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> disableSentryHaCommandWithHttpInfo(String clusterName,
                                                                            String serviceName,
                                                                            ApiDisableSentryHaArgs body)
                                                                     throws ApiException

      Disable high availability (HA) for Sentry service. Disable high availability (HA) for Sentry service. <p> This command only applies to CDH 5.13+ Sentry services. <p> The command will keep exactly one Sentry server, on the specified host, and update the ZooKeeper configs needed for Sentry. <p> All services that depend on HDFS will be restarted after enabling Sentry HA. <p> Note: Sentry doesn't support Rolling Restart.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiDisableSentryHaArgs representing the arguments to the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### disableSentryHaCommandAsync

          public com.squareup.okhttp.Call disableSentryHaCommandAsync(String clusterName,
                                                                      String serviceName,
                                                                      ApiDisableSentryHaArgs body,
                                                                      ApiCallback<ApiCommand> callback)
                                                               throws ApiException

      Disable high availability (HA) for Sentry service. (asynchronously) Disable high availability (HA) for Sentry service. <p> This command only applies to CDH 5.13+ Sentry services. <p> The command will keep exactly one Sentry server, on the specified host, and update the ZooKeeper configs needed for Sentry. <p> All services that depend on HDFS will be restarted after enabling Sentry HA. <p> Note: Sentry doesn't support Rolling Restart.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiDisableSentryHaArgs representing the arguments to the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enableJtHaCommandCall

          public com.squareup.okhttp.Call enableJtHaCommandCall(String clusterName,
                                                                String serviceName,
                                                                ApiEnableJtHaArguments body,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException

      Build call for enableJtHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enableJtHaCommand

          public ApiCommand enableJtHaCommand(String clusterName,
                                              String serviceName,
                                              ApiEnableJtHaArguments body)
                                       throws ApiException

      Enable high availability (HA) for a JobTracker. Enable high availability (HA) for a JobTracker. <p> This command only applies to CDH4 MapReduce services. <p> The command will create a new JobTracker on the specified host and then create an active/standby pair with the existing JobTracker. Autofailover will be enabled using ZooKeeper. A ZNode will be created for this purpose. Command arguments provide option to forcefully create this ZNode if one already exists. A node may already exists if JobTracker was previously enabled in HA mode but HA mode was disabled later on. The ZNode is not deleted when HA is disabled. <p> As part of enabling HA, any services that depends on the MapReduce service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableJtHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> enableJtHaCommandWithHttpInfo(String clusterName,
                                                                       String serviceName,
                                                                       ApiEnableJtHaArguments body)
                                                                throws ApiException

      Enable high availability (HA) for a JobTracker. Enable high availability (HA) for a JobTracker. <p> This command only applies to CDH4 MapReduce services. <p> The command will create a new JobTracker on the specified host and then create an active/standby pair with the existing JobTracker. Autofailover will be enabled using ZooKeeper. A ZNode will be created for this purpose. Command arguments provide option to forcefully create this ZNode if one already exists. A node may already exists if JobTracker was previously enabled in HA mode but HA mode was disabled later on. The ZNode is not deleted when HA is disabled. <p> As part of enabling HA, any services that depends on the MapReduce service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableJtHaCommandAsync

          public com.squareup.okhttp.Call enableJtHaCommandAsync(String clusterName,
                                                                 String serviceName,
                                                                 ApiEnableJtHaArguments body,
                                                                 ApiCallback<ApiCommand> callback)
                                                          throws ApiException

      Enable high availability (HA) for a JobTracker. (asynchronously) Enable high availability (HA) for a JobTracker. <p> This command only applies to CDH4 MapReduce services. <p> The command will create a new JobTracker on the specified host and then create an active/standby pair with the existing JobTracker. Autofailover will be enabled using ZooKeeper. A ZNode will be created for this purpose. Command arguments provide option to forcefully create this ZNode if one already exists. A node may already exists if JobTracker was previously enabled in HA mode but HA mode was disabled later on. The ZNode is not deleted when HA is disabled. <p> As part of enabling HA, any services that depends on the MapReduce service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MapReduce service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enableLlamaHaCommandCall

          public com.squareup.okhttp.Call enableLlamaHaCommandCall(String clusterName,
                                                                   String serviceName,
                                                                   ApiEnableLlamaHaArguments body,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for enableLlamaHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enableLlamaHaCommand

          public ApiCommand enableLlamaHaCommand(String clusterName,
                                                 String serviceName,
                                                 ApiEnableLlamaHaArguments body)
                                          throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableLlamaHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> enableLlamaHaCommandWithHttpInfo(String clusterName,
                                                                          String serviceName,
                                                                          ApiEnableLlamaHaArguments body)
                                                                   throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableLlamaHaCommandAsync

          public com.squareup.okhttp.Call enableLlamaHaCommandAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiEnableLlamaHaArguments body,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Not Supported. (asynchronously) Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enableLlamaRmCommandCall

          public com.squareup.okhttp.Call enableLlamaRmCommandCall(String clusterName,
                                                                   String serviceName,
                                                                   ApiEnableLlamaRmArguments body,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for enableLlamaRmCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enableLlamaRmCommand

          public ApiCommand enableLlamaRmCommand(String clusterName,
                                                 String serviceName,
                                                 ApiEnableLlamaRmArguments body)
                                          throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableLlamaRmCommandWithHttpInfo

          public ApiResponse<ApiCommand> enableLlamaRmCommandWithHttpInfo(String clusterName,
                                                                          String serviceName,
                                                                          ApiEnableLlamaRmArguments body)
                                                                   throws ApiException

      Not Supported. Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableLlamaRmCommandAsync

          public com.squareup.okhttp.Call enableLlamaRmCommandAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiEnableLlamaRmArguments body,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Not Supported. (asynchronously) Not Supported. Llama was removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enableOozieHaCommandCall

          public com.squareup.okhttp.Call enableOozieHaCommandCall(String clusterName,
                                                                   String serviceName,
                                                                   ApiEnableOozieHaArguments body,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for enableOozieHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enableOozieHaCommand

          public ApiCommand enableOozieHaCommand(String clusterName,
                                                 String serviceName,
                                                 ApiEnableOozieHaArguments body)
                                          throws ApiException

      Enable high availability (HA) for Oozie service. Enable high availability (HA) for Oozie service. <p> This command only applies to CDH5+ Oozie services. <p> The command will create new Oozie Servers on the specified hosts and set the ZooKeeper and Load Balancer configs needed for Oozie HA. <p> As part of enabling HA, any services that depends on the Oozie service being modified will be stopped and restarted after enabling Oozie HA.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableOozieHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> enableOozieHaCommandWithHttpInfo(String clusterName,
                                                                          String serviceName,
                                                                          ApiEnableOozieHaArguments body)
                                                                   throws ApiException

      Enable high availability (HA) for Oozie service. Enable high availability (HA) for Oozie service. <p> This command only applies to CDH5+ Oozie services. <p> The command will create new Oozie Servers on the specified hosts and set the ZooKeeper and Load Balancer configs needed for Oozie HA. <p> As part of enabling HA, any services that depends on the Oozie service being modified will be stopped and restarted after enabling Oozie HA.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableOozieHaCommandAsync

          public com.squareup.okhttp.Call enableOozieHaCommandAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiEnableOozieHaArguments body,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Enable high availability (HA) for Oozie service. (asynchronously) Enable high availability (HA) for Oozie service. <p> This command only applies to CDH5+ Oozie services. <p> The command will create new Oozie Servers on the specified hosts and set the ZooKeeper and Load Balancer configs needed for Oozie HA. <p> As part of enabling HA, any services that depends on the Oozie service being modified will be stopped and restarted after enabling Oozie HA.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enableRmHaCommandCall

          public com.squareup.okhttp.Call enableRmHaCommandCall(String clusterName,
                                                                String serviceName,
                                                                ApiEnableRmHaArguments body,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException

      Build call for enableRmHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enableRmHaCommand

          public ApiCommand enableRmHaCommand(String clusterName,
                                              String serviceName,
                                              ApiEnableRmHaArguments body)
                                       throws ApiException

      Enable high availability (HA) for a YARN ResourceManager. Enable high availability (HA) for a YARN ResourceManager. <p> This command only applies to CDH5+ YARN services. <p> The command will create a new ResourceManager on the specified host and then create an active/standby pair with the existing ResourceManager. Autofailover will be enabled using ZooKeeper. <p> As part of enabling HA, any services that depends on the YARN service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableRmHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> enableRmHaCommandWithHttpInfo(String clusterName,
                                                                       String serviceName,
                                                                       ApiEnableRmHaArguments body)
                                                                throws ApiException

      Enable high availability (HA) for a YARN ResourceManager. Enable high availability (HA) for a YARN ResourceManager. <p> This command only applies to CDH5+ YARN services. <p> The command will create a new ResourceManager on the specified host and then create an active/standby pair with the existing ResourceManager. Autofailover will be enabled using ZooKeeper. <p> As part of enabling HA, any services that depends on the YARN service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableRmHaCommandAsync

          public com.squareup.okhttp.Call enableRmHaCommandAsync(String clusterName,
                                                                 String serviceName,
                                                                 ApiEnableRmHaArguments body,
                                                                 ApiCallback<ApiCommand> callback)
                                                          throws ApiException

      Enable high availability (HA) for a YARN ResourceManager. (asynchronously) Enable high availability (HA) for a YARN ResourceManager. <p> This command only applies to CDH5+ YARN services. <p> The command will create a new ResourceManager on the specified host and then create an active/standby pair with the existing ResourceManager. Autofailover will be enabled using ZooKeeper. <p> As part of enabling HA, any services that depends on the YARN service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enableSentryHaCommandCall

          public com.squareup.okhttp.Call enableSentryHaCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ApiEnableSentryHaArgs body,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for enableSentryHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiEnableSentryHaArgs representing the arguments to the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enableSentryHaCommand

          public ApiCommand enableSentryHaCommand(String clusterName,
                                                  String serviceName,
                                                  ApiEnableSentryHaArgs body)
                                           throws ApiException

      Enable high availability (HA) for Sentry service. Enable high availability (HA) for Sentry service. <p> This command only applies to CDH 5.13+ Sentry services. <p> The command will create a new Sentry server on the specified host and set the ZooKeeper configs needed for Sentry HA. <p> As part of enabling HA, all services that depend on HDFS will be restarted after enabling Sentry HA. <p> Note: Sentry doesn't support Rolling Restart.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiEnableSentryHaArgs representing the arguments to the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableSentryHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> enableSentryHaCommandWithHttpInfo(String clusterName,
                                                                           String serviceName,
                                                                           ApiEnableSentryHaArgs body)
                                                                    throws ApiException

      Enable high availability (HA) for Sentry service. Enable high availability (HA) for Sentry service. <p> This command only applies to CDH 5.13+ Sentry services. <p> The command will create a new Sentry server on the specified host and set the ZooKeeper configs needed for Sentry HA. <p> As part of enabling HA, all services that depend on HDFS will be restarted after enabling Sentry HA. <p> Note: Sentry doesn't support Rolling Restart.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiEnableSentryHaArgs representing the arguments to the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enableSentryHaCommandAsync

          public com.squareup.okhttp.Call enableSentryHaCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiEnableSentryHaArgs body,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Enable high availability (HA) for Sentry service. (asynchronously) Enable high availability (HA) for Sentry service. <p> This command only applies to CDH 5.13+ Sentry services. <p> The command will create a new Sentry server on the specified host and set the ZooKeeper configs needed for Sentry HA. <p> As part of enabling HA, all services that depend on HDFS will be restarted after enabling Sentry HA. <p> Note: Sentry doesn't support Rolling Restart.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Sentry service name. (required)
        `body` - An instance of ApiEnableSentryHaArgs representing the arguments to the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### enterMaintenanceModeCall

          public com.squareup.okhttp.Call enterMaintenanceModeCall(String clusterName,
                                                                   String serviceName,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for enterMaintenanceMode
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### enterMaintenanceMode

          public ApiCommand enterMaintenanceMode(String clusterName,
                                                 String serviceName)
                                          throws ApiException

      Put the service into maintenance mode. Put the service into maintenance mode. This is a synchronous command. The result is known immediately upon return. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enterMaintenanceModeWithHttpInfo

          public ApiResponse<ApiCommand> enterMaintenanceModeWithHttpInfo(String clusterName,
                                                                          String serviceName)
                                                                   throws ApiException

      Put the service into maintenance mode. Put the service into maintenance mode. This is a synchronous command. The result is known immediately upon return. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### enterMaintenanceModeAsync

          public com.squareup.okhttp.Call enterMaintenanceModeAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Put the service into maintenance mode. (asynchronously) Put the service into maintenance mode. This is a synchronous command. The result is known immediately upon return. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### exitMaintenanceModeCall

          public com.squareup.okhttp.Call exitMaintenanceModeCall(String clusterName,
                                                                  String serviceName,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for exitMaintenanceMode
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### exitMaintenanceMode

          public ApiCommand exitMaintenanceMode(String clusterName,
                                                String serviceName)
                                         throws ApiException

      Take the service out of maintenance mode. Take the service out of maintenance mode. This is a synchronous command. The result is known immediately upon return. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### exitMaintenanceModeWithHttpInfo

          public ApiResponse<ApiCommand> exitMaintenanceModeWithHttpInfo(String clusterName,
                                                                         String serviceName)
                                                                  throws ApiException

      Take the service out of maintenance mode. Take the service out of maintenance mode. This is a synchronous command. The result is known immediately upon return. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### exitMaintenanceModeAsync

          public com.squareup.okhttp.Call exitMaintenanceModeAsync(String clusterName,
                                                                   String serviceName,
                                                                   ApiCallback<ApiCommand> callback)
                                                            throws ApiException

      Take the service out of maintenance mode. (asynchronously) Take the service out of maintenance mode. This is a synchronous command. The result is known immediately upon return. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### exportSentryPermissionsCommandCall

          public com.squareup.okhttp.Call exportSentryPermissionsCommandCall(String clusterName,
                                                                             String serviceName,
                                                                             ProgressResponseBody.ProgressListener progressListener,
                                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                      throws ApiException

      Build call for exportSentryPermissionsCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### exportSentryPermissionsCommand

          public ApiCommand exportSentryPermissionsCommand(String clusterName,
                                                           String serviceName)
                                                    throws ApiException

      Export Sentry Permissions. Export Sentry Permissions.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### exportSentryPermissionsCommandWithHttpInfo

          public ApiResponse<ApiCommand> exportSentryPermissionsCommandWithHttpInfo(String clusterName,
                                                                                    String serviceName)
                                                                             throws ApiException

      Export Sentry Permissions. Export Sentry Permissions.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### exportSentryPermissionsCommandAsync

          public com.squareup.okhttp.Call exportSentryPermissionsCommandAsync(String clusterName,
                                                                              String serviceName,
                                                                              ApiCallback<ApiCommand> callback)
                                                                       throws ApiException

      Export Sentry Permissions. (asynchronously) Export Sentry Permissions.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### firstRunCall

          public com.squareup.okhttp.Call firstRunCall(String clusterName,
                                                       String serviceName,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException

      Build call for firstRun
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the cluster. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### firstRun

          public ApiCommand firstRun(String clusterName,
                                     String serviceName)
                              throws ApiException

      Prepare and start a service. Prepare and start a service. <p> Perform all the steps needed to prepare the service and start it. </p> <p> Available since API v7. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the cluster. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### firstRunWithHttpInfo

          public ApiResponse<ApiCommand> firstRunWithHttpInfo(String clusterName,
                                                              String serviceName)
                                                       throws ApiException

      Prepare and start a service. Prepare and start a service. <p> Perform all the steps needed to prepare the service and start it. </p> <p> Available since API v7. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the cluster. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### firstRunAsync

          public com.squareup.okhttp.Call firstRunAsync(String clusterName,
                                                        String serviceName,
                                                        ApiCallback<ApiCommand> callback)
                                                 throws ApiException

      Prepare and start a service. (asynchronously) Prepare and start a service. <p> Perform all the steps needed to prepare the service and start it. </p> <p> Available since API v7. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the cluster. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### getClientConfigCall

          public com.squareup.okhttp.Call getClientConfigCall(String clusterName,
                                                              String serviceName,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException

      Build call for getClientConfig
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### getClientConfig

          public File getClientConfig(String clusterName,
                                      String serviceName)
                               throws ApiException

      Download a zip-compressed archive of the client configuration, of a specific service. Download a zip-compressed archive of the client configuration, of a specific service. This resource does not require any authentication.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        File
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getClientConfigWithHttpInfo

          public ApiResponse<File> getClientConfigWithHttpInfo(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      Download a zip-compressed archive of the client configuration, of a specific service. Download a zip-compressed archive of the client configuration, of a specific service. This resource does not require any authentication.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiResponse<File>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getClientConfigAsync

          public com.squareup.okhttp.Call getClientConfigAsync(String clusterName,
                                                               String serviceName,
                                                               ApiCallback<File> callback)
                                                        throws ApiException

      Download a zip-compressed archive of the client configuration, of a specific service. (asynchronously) Download a zip-compressed archive of the client configuration, of a specific service. This resource does not require any authentication.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### getHdfsUsageReportCall

          public com.squareup.okhttp.Call getHdfsUsageReportCall(String clusterName,
                                                                 String serviceName,
                                                                 String aggregation,
                                                                 String from,
                                                                 String nameservice,
                                                                 String to,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException

      Build call for getHdfsUsageReport
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format ( defaults to 24 hours before \"to\" time). (optional)
        `nameservice` - The (optional) HDFS nameservice. Required for HA setup. (optional)
        `to` - The (optional) end time of the report in ISO 8601 format ( defaults to now). (optional, default to now)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### getHdfsUsageReport

          public ApiHdfsUsageReport getHdfsUsageReport(String clusterName,
                                                       String serviceName,
                                                       String aggregation,
                                                       String from,
                                                       String nameservice,
                                                       String to)
                                                throws ApiException

      Fetch the HDFS usage report. Fetch the HDFS usage report. For the requested time range, at the specified aggregation intervals, the report shows HDFS disk usages per user. <p> This call supports returning JSON or CSV, as determined by the \"Accept\" header of application/json or text/csv. <p> Available since API v4. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format ( defaults to 24 hours before \"to\" time). (optional)
        `nameservice` - The (optional) HDFS nameservice. Required for HA setup. (optional)
        `to` - The (optional) end time of the report in ISO 8601 format ( defaults to now). (optional, default to now)
      Returns:
        ApiHdfsUsageReport
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getHdfsUsageReportWithHttpInfo

          public ApiResponse<ApiHdfsUsageReport> getHdfsUsageReportWithHttpInfo(String clusterName,
                                                                                String serviceName,
                                                                                String aggregation,
                                                                                String from,
                                                                                String nameservice,
                                                                                String to)
                                                                         throws ApiException

      Fetch the HDFS usage report. Fetch the HDFS usage report. For the requested time range, at the specified aggregation intervals, the report shows HDFS disk usages per user. <p> This call supports returning JSON or CSV, as determined by the \"Accept\" header of application/json or text/csv. <p> Available since API v4. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format ( defaults to 24 hours before \"to\" time). (optional)
        `nameservice` - The (optional) HDFS nameservice. Required for HA setup. (optional)
        `to` - The (optional) end time of the report in ISO 8601 format ( defaults to now). (optional, default to now)
      Returns:
        ApiResponse<ApiHdfsUsageReport>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getHdfsUsageReportAsync

          public com.squareup.okhttp.Call getHdfsUsageReportAsync(String clusterName,
                                                                  String serviceName,
                                                                  String aggregation,
                                                                  String from,
                                                                  String nameservice,
                                                                  String to,
                                                                  ApiCallback<ApiHdfsUsageReport> callback)
                                                           throws ApiException

      Fetch the HDFS usage report. (asynchronously) Fetch the HDFS usage report. For the requested time range, at the specified aggregation intervals, the report shows HDFS disk usages per user. <p> This call supports returning JSON or CSV, as determined by the \"Accept\" header of application/json or text/csv. <p> Available since API v4. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format ( defaults to 24 hours before \"to\" time). (optional)
        `nameservice` - The (optional) HDFS nameservice. Required for HA setup. (optional)
        `to` - The (optional) end time of the report in ISO 8601 format ( defaults to now). (optional, default to now)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### getImpalaUtilizationCall

          public com.squareup.okhttp.Call getImpalaUtilizationCall(String clusterName,
                                                                   String serviceName,
                                                                   List<String> daysOfWeek,
                                                                   BigDecimal endHourOfDay,
                                                                   String from,
                                                                   BigDecimal startHourOfDay,
                                                                   String tenantType,
                                                                   String to,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for getImpalaUtilization
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### getImpalaUtilization

          public ApiImpalaUtilization getImpalaUtilization(String clusterName,
                                                           String serviceName,
                                                           List<String> daysOfWeek,
                                                           BigDecimal endHourOfDay,
                                                           String from,
                                                           BigDecimal startHourOfDay,
                                                           String tenantType,
                                                           String to)
                                                    throws ApiException

      Provides the resource utilization of the Impala service as well as the resource utilization per tenant. Provides the resource utilization of the Impala service as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
      Returns:
        ApiImpalaUtilization
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getImpalaUtilizationWithHttpInfo

          public ApiResponse<ApiImpalaUtilization> getImpalaUtilizationWithHttpInfo(String clusterName,
                                                                                    String serviceName,
                                                                                    List<String> daysOfWeek,
                                                                                    BigDecimal endHourOfDay,
                                                                                    String from,
                                                                                    BigDecimal startHourOfDay,
                                                                                    String tenantType,
                                                                                    String to)
                                                                             throws ApiException

      Provides the resource utilization of the Impala service as well as the resource utilization per tenant. Provides the resource utilization of the Impala service as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
      Returns:
        ApiResponse<ApiImpalaUtilization>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getImpalaUtilizationAsync

          public com.squareup.okhttp.Call getImpalaUtilizationAsync(String clusterName,
                                                                    String serviceName,
                                                                    List<String> daysOfWeek,
                                                                    BigDecimal endHourOfDay,
                                                                    String from,
                                                                    BigDecimal startHourOfDay,
                                                                    String tenantType,
                                                                    String to,
                                                                    ApiCallback<ApiImpalaUtilization> callback)
                                                             throws ApiException

      Provides the resource utilization of the Impala service as well as the resource utilization per tenant. (asynchronously) Provides the resource utilization of the Impala service as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### getMetricsCall

          public com.squareup.okhttp.Call getMetricsCall(String clusterName,
                                                         String serviceName,
                                                         String from,
                                                         List<String> metrics,
                                                         String to,
                                                         String view,
                                                         ProgressResponseBody.ProgressListener progressListener,
                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                  throws ApiException

      Build call for getMetrics
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service. (required)
        `from` - Start of the period to query. (optional)
        `metrics` - Filter for which metrics to query. (optional)
        `to` - End of the period to query. (optional, default to now)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### getMetrics

          public ApiMetricList getMetrics(String clusterName,
                                          String serviceName,
                                          String from,
                                          List<String> metrics,
                                          String to,
                                          String view)
                                   throws ApiException

      Fetch metric readings for a particular service. Fetch metric readings for a particular service. <p> By default, this call will look up all metrics available for the service. If only specific metrics are desired, use the <i>metrics</i> parameter. <p> By default, the returned results correspond to a 5 minute window based on the provided end time (which defaults to the current server time). The <i>from</i> and <i>to</i> parameters can be used to control the window being queried. A maximum window of 3 hours is enforced. <p> When requesting a \"full\" view, aside from the extended properties of the returned metric data, the collection will also contain information about all metrics available for the service, even if no readings are available in the requested window. <p> HDFS services that have more than one nameservice will not expose any metrics. Instead, the nameservices should be queried separately. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service. (required)
        `from` - Start of the period to query. (optional)
        `metrics` - Filter for which metrics to query. (optional)
        `to` - End of the period to query. (optional, default to now)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
      Returns:
        ApiMetricList
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getMetricsWithHttpInfo

          public ApiResponse<ApiMetricList> getMetricsWithHttpInfo(String clusterName,
                                                                   String serviceName,
                                                                   String from,
                                                                   List<String> metrics,
                                                                   String to,
                                                                   String view)
                                                            throws ApiException

      Fetch metric readings for a particular service. Fetch metric readings for a particular service. <p> By default, this call will look up all metrics available for the service. If only specific metrics are desired, use the <i>metrics</i> parameter. <p> By default, the returned results correspond to a 5 minute window based on the provided end time (which defaults to the current server time). The <i>from</i> and <i>to</i> parameters can be used to control the window being queried. A maximum window of 3 hours is enforced. <p> When requesting a \"full\" view, aside from the extended properties of the returned metric data, the collection will also contain information about all metrics available for the service, even if no readings are available in the requested window. <p> HDFS services that have more than one nameservice will not expose any metrics. Instead, the nameservices should be queried separately. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service. (required)
        `from` - Start of the period to query. (optional)
        `metrics` - Filter for which metrics to query. (optional)
        `to` - End of the period to query. (optional, default to now)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
      Returns:
        ApiResponse<ApiMetricList>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getMetricsAsync

          public com.squareup.okhttp.Call getMetricsAsync(String clusterName,
                                                          String serviceName,
                                                          String from,
                                                          List<String> metrics,
                                                          String to,
                                                          String view,
                                                          ApiCallback<ApiMetricList> callback)
                                                   throws ApiException

      Fetch metric readings for a particular service. (asynchronously) Fetch metric readings for a particular service. <p> By default, this call will look up all metrics available for the service. If only specific metrics are desired, use the <i>metrics</i> parameter. <p> By default, the returned results correspond to a 5 minute window based on the provided end time (which defaults to the current server time). The <i>from</i> and <i>to</i> parameters can be used to control the window being queried. A maximum window of 3 hours is enforced. <p> When requesting a \"full\" view, aside from the extended properties of the returned metric data, the collection will also contain information about all metrics available for the service, even if no readings are available in the requested window. <p> HDFS services that have more than one nameservice will not expose any metrics. Instead, the nameservices should be queried separately. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service. (required)
        `from` - Start of the period to query. (optional)
        `metrics` - Filter for which metrics to query. (optional)
        `to` - End of the period to query. (optional, default to now)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### getMrUsageReportCall

          public com.squareup.okhttp.Call getMrUsageReportCall(String clusterName,
                                                               String serviceName,
                                                               String aggregation,
                                                               String from,
                                                               String to,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException

      Build call for getMrUsageReport
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MR service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format (defaults to 24 hours before \"to\" time). (optional)
        `to` - The (optional) end time of the report in ISO 8601 format (defaults to now). (optional, default to now)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### getMrUsageReport

          public ApiMrUsageReport getMrUsageReport(String clusterName,
                                                   String serviceName,
                                                   String aggregation,
                                                   String from,
                                                   String to)
                                            throws ApiException

      Fetch the MR usage report. Fetch the MR usage report. For the requested time range, at the specified aggregation intervals, the report shows job CPU usages (and other metrics) per user. <p> This call supports returning JSON or CSV, as determined by the \"Accept\" header of application/json or text/csv. <p> Available since API v4. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MR service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format (defaults to 24 hours before \"to\" time). (optional)
        `to` - The (optional) end time of the report in ISO 8601 format (defaults to now). (optional, default to now)
      Returns:
        ApiMrUsageReport
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getMrUsageReportWithHttpInfo

          public ApiResponse<ApiMrUsageReport> getMrUsageReportWithHttpInfo(String clusterName,
                                                                            String serviceName,
                                                                            String aggregation,
                                                                            String from,
                                                                            String to)
                                                                     throws ApiException

      Fetch the MR usage report. Fetch the MR usage report. For the requested time range, at the specified aggregation intervals, the report shows job CPU usages (and other metrics) per user. <p> This call supports returning JSON or CSV, as determined by the \"Accept\" header of application/json or text/csv. <p> Available since API v4. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MR service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format (defaults to 24 hours before \"to\" time). (optional)
        `to` - The (optional) end time of the report in ISO 8601 format (defaults to now). (optional, default to now)
      Returns:
        ApiResponse<ApiMrUsageReport>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getMrUsageReportAsync

          public com.squareup.okhttp.Call getMrUsageReportAsync(String clusterName,
                                                                String serviceName,
                                                                String aggregation,
                                                                String from,
                                                                String to,
                                                                ApiCallback<ApiMrUsageReport> callback)
                                                         throws ApiException

      Fetch the MR usage report. (asynchronously) Fetch the MR usage report. For the requested time range, at the specified aggregation intervals, the report shows job CPU usages (and other metrics) per user. <p> This call supports returning JSON or CSV, as determined by the \"Accept\" header of application/json or text/csv. <p> Available since API v4. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The MR service name. (required)
        `aggregation` - The (optional) aggregation period for the data. Supports \"hourly\", \"daily\" (default) and \"weekly\". (optional, default to daily)
        `from` - The (optional) start time of the report in ISO 8601 format (defaults to 24 hours before \"to\" time). (optional)
        `to` - The (optional) end time of the report in ISO 8601 format (defaults to now). (optional, default to now)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### getYarnUtilizationCall

          public com.squareup.okhttp.Call getYarnUtilizationCall(String clusterName,
                                                                 String serviceName,
                                                                 List<String> daysOfWeek,
                                                                 BigDecimal endHourOfDay,
                                                                 String from,
                                                                 BigDecimal startHourOfDay,
                                                                 String tenantType,
                                                                 String to,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException

      Build call for getYarnUtilization
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### getYarnUtilization

          public ApiYarnUtilization getYarnUtilization(String clusterName,
                                                       String serviceName,
                                                       List<String> daysOfWeek,
                                                       BigDecimal endHourOfDay,
                                                       String from,
                                                       BigDecimal startHourOfDay,
                                                       String tenantType,
                                                       String to)
                                                throws ApiException

      Provides the resource utilization of the yarn service as well as the resource utilization per tenant. Provides the resource utilization of the yarn service as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
      Returns:
        ApiYarnUtilization
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getYarnUtilizationWithHttpInfo

          public ApiResponse<ApiYarnUtilization> getYarnUtilizationWithHttpInfo(String clusterName,
                                                                                String serviceName,
                                                                                List<String> daysOfWeek,
                                                                                BigDecimal endHourOfDay,
                                                                                String from,
                                                                                BigDecimal startHourOfDay,
                                                                                String tenantType,
                                                                                String to)
                                                                         throws ApiException

      Provides the resource utilization of the yarn service as well as the resource utilization per tenant. Provides the resource utilization of the yarn service as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
      Returns:
        ApiResponse<ApiYarnUtilization>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### getYarnUtilizationAsync

          public com.squareup.okhttp.Call getYarnUtilizationAsync(String clusterName,
                                                                  String serviceName,
                                                                  List<String> daysOfWeek,
                                                                  BigDecimal endHourOfDay,
                                                                  String from,
                                                                  BigDecimal startHourOfDay,
                                                                  String tenantType,
                                                                  String to,
                                                                  ApiCallback<ApiYarnUtilization> callback)
                                                           throws ApiException

      Provides the resource utilization of the yarn service as well as the resource utilization per tenant. (asynchronously) Provides the resource utilization of the yarn service as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - service name (required)
        `daysOfWeek` - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Mon. and 7 corresponds to Sun. All 7 days are included if this is not specified. (optional)
        `endHourOfDay` - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified. (optional, default to 23)
        `from` - Start of the time range to report utilization in ISO 8601 format. (optional)
        `startHourOfDay` - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified. (optional, default to 0)
        `tenantType` - The type of the tenant (POOL or USER). (optional, default to POOL)
        `to` - End of the the time range to report utilization in ISO 8601 format (defaults to now). (optional, default to now)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationCreateUserDirectoryCall

          public com.squareup.okhttp.Call hbaseReplicationCreateUserDirectoryCall(String clusterName,
                                                                                  String serviceName,
                                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                           throws ApiException

      Build call for hbaseReplicationCreateUserDirectory
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationCreateUserDirectory

          public ApiCommand hbaseReplicationCreateUserDirectory(String clusterName,
                                                                String serviceName)
                                                         throws ApiException

      Create the HBase user directory (usually /user/hbase). Create the HBase user directory (usually /user/hbase).
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationCreateUserDirectoryWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationCreateUserDirectoryWithHttpInfo(String clusterName,
                                                                                         String serviceName)
                                                                                  throws ApiException

      Create the HBase user directory (usually /user/hbase). Create the HBase user directory (usually /user/hbase).
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationCreateUserDirectoryAsync

          public com.squareup.okhttp.Call hbaseReplicationCreateUserDirectoryAsync(String clusterName,
                                                                                   String serviceName,
                                                                                   ApiCallback<ApiCommand> callback)
                                                                            throws ApiException

      Create the HBase user directory (usually /user/hbase). (asynchronously) Create the HBase user directory (usually /user/hbase).
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupAutomaticCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupAutomaticCall(String clusterName,
                                                                                      String serviceName,
                                                                                      Boolean force,
                                                                                      ApiHBaseReplicationSetupCommandArgs body,
                                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                               throws ApiException

      Build call for hbaseReplicationFirstTimeSetupAutomatic
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for both source and target (default is rolling restart) (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupAutomatic

          public ApiCommand hbaseReplicationFirstTimeSetupAutomatic(String clusterName,
                                                                    String serviceName,
                                                                    Boolean force,
                                                                    ApiHBaseReplicationSetupCommandArgs body)
                                                             throws ApiException

      Starts an automatic HBase replication first time setup. Starts an automatic HBase replication first time setup. After doing some configuration (see #hbaseReplicationSetup(String, boolean, ApiHBaseReplicationSetupCommandArgs)), it restarts both the source and target clusters.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for both source and target (default is rolling restart) (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupAutomaticWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationFirstTimeSetupAutomaticWithHttpInfo(String clusterName,
                                                                                             String serviceName,
                                                                                             Boolean force,
                                                                                             ApiHBaseReplicationSetupCommandArgs body)
                                                                                      throws ApiException

      Starts an automatic HBase replication first time setup. Starts an automatic HBase replication first time setup. After doing some configuration (see #hbaseReplicationSetup(String, boolean, ApiHBaseReplicationSetupCommandArgs)), it restarts both the source and target clusters.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for both source and target (default is rolling restart) (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupAutomaticAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupAutomaticAsync(String clusterName,
                                                                                       String serviceName,
                                                                                       Boolean force,
                                                                                       ApiHBaseReplicationSetupCommandArgs body,
                                                                                       ApiCallback<ApiCommand> callback)
                                                                                throws ApiException

      Starts an automatic HBase replication first time setup. (asynchronously) Starts an automatic HBase replication first time setup. After doing some configuration (see #hbaseReplicationSetup(String, boolean, ApiHBaseReplicationSetupCommandArgs)), it restarts both the source and target clusters.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for both source and target (default is rolling restart) (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupCleanAndResetCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupCleanAndResetCall(String clusterName,
                                                                                          String serviceName,
                                                                                          ApiHBaseReplicationSetupCleanAndResetArgs body,
                                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                   throws ApiException

      Build call for hbaseReplicationFirstTimeSetupCleanAndReset
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service, and the restart type of source and target HBase services. Also, if user wants to reset the HBase replication first time setup status on the source, then the cmPeerNameOnRemote field should be provided: The peer name of the local CM in the given source CM peer (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupCleanAndReset

          public ApiCommand hbaseReplicationFirstTimeSetupCleanAndReset(String clusterName,
                                                                        String serviceName,
                                                                        ApiHBaseReplicationSetupCleanAndResetArgs body)
                                                                 throws ApiException

      Cleans and resets the HBase replication first time setup on the given source and target:. Cleans and resets the HBase replication first time setup on the given source and target: <ul> <li> clears the HBase replication auxiliary info and deletes the JCEKS files </li> <li> Optionally restarts HBase services </li> <li> Resets the HBase replication first time setup status </li> </ul>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service, and the restart type of source and target HBase services. Also, if user wants to reset the HBase replication first time setup status on the source, then the cmPeerNameOnRemote field should be provided: The peer name of the local CM in the given source CM peer (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupCleanAndResetWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationFirstTimeSetupCleanAndResetWithHttpInfo(String clusterName,
                                                                                                 String serviceName,
                                                                                                 ApiHBaseReplicationSetupCleanAndResetArgs body)
                                                                                          throws ApiException

      Cleans and resets the HBase replication first time setup on the given source and target:. Cleans and resets the HBase replication first time setup on the given source and target: <ul> <li> clears the HBase replication auxiliary info and deletes the JCEKS files </li> <li> Optionally restarts HBase services </li> <li> Resets the HBase replication first time setup status </li> </ul>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service, and the restart type of source and target HBase services. Also, if user wants to reset the HBase replication first time setup status on the source, then the cmPeerNameOnRemote field should be provided: The peer name of the local CM in the given source CM peer (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupCleanAndResetAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupCleanAndResetAsync(String clusterName,
                                                                                           String serviceName,
                                                                                           ApiHBaseReplicationSetupCleanAndResetArgs body,
                                                                                           ApiCallback<ApiCommand> callback)
                                                                                    throws ApiException

      Cleans and resets the HBase replication first time setup on the given source and target:. (asynchronously) Cleans and resets the HBase replication first time setup on the given source and target: <ul> <li> clears the HBase replication auxiliary info and deletes the JCEKS files </li> <li> Optionally restarts HBase services </li> <li> Resets the HBase replication first time setup status </li> </ul>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service, and the restart type of source and target HBase services. Also, if user wants to reset the HBase replication first time setup status on the source, then the cmPeerNameOnRemote field should be provided: The peer name of the local CM in the given source CM peer (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupForceReadyCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupForceReadyCall(String clusterName,
                                                                                       String serviceName,
                                                                                       ApiServiceRef body,
                                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                throws ApiException

      Build call for hbaseReplicationFirstTimeSetupForceReady
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupForceReady

          public void hbaseReplicationFirstTimeSetupForceReady(String clusterName,
                                                               String serviceName,
                                                               ApiServiceRef body)
                                                        throws ApiException

      Force sets the HBase replication first time setup status to be READY for the given source and target. Force sets the HBase replication first time setup status to be READY for the given source and target. Note that after this operation, the pending HBase replication policies, which have the waitForHBaseReplicationSetup flag set to true, will NOT be completed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupForceReadyWithHttpInfo

          public ApiResponse<Void> hbaseReplicationFirstTimeSetupForceReadyWithHttpInfo(String clusterName,
                                                                                        String serviceName,
                                                                                        ApiServiceRef body)
                                                                                 throws ApiException

      Force sets the HBase replication first time setup status to be READY for the given source and target. Force sets the HBase replication first time setup status to be READY for the given source and target. Note that after this operation, the pending HBase replication policies, which have the waitForHBaseReplicationSetup flag set to true, will NOT be completed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
      Returns:
        ApiResponse<Void>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupForceReadyAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupForceReadyAsync(String clusterName,
                                                                                        String serviceName,
                                                                                        ApiServiceRef body,
                                                                                        ApiCallback<Void> callback)
                                                                                 throws ApiException

      Force sets the HBase replication first time setup status to be READY for the given source and target. (asynchronously) Force sets the HBase replication first time setup status to be READY for the given source and target. Note that after this operation, the pending HBase replication policies, which have the waitForHBaseReplicationSetup flag set to true, will NOT be completed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupManualCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupManualCall(String clusterName,
                                                                                   String serviceName,
                                                                                   Boolean force,
                                                                                   ApiHBaseReplicationSetupCommandArgs body,
                                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                            throws ApiException

      Build call for hbaseReplicationFirstTimeSetupManual
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for the target (default is rolling restart) (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupManual

          public ApiCommand hbaseReplicationFirstTimeSetupManual(String clusterName,
                                                                 String serviceName,
                                                                 Boolean force,
                                                                 ApiHBaseReplicationSetupCommandArgs body)
                                                          throws ApiException

      Starts a manual HBase replication first time setup. Starts a manual HBase replication first time setup. After doing some configuration (see #hbaseReplicationSetup(String, boolean, ApiHBaseReplicationSetupCommandArgs)), it restarts the target cluster only. Source cluster has to be restarted manually, after which the #hbaseReplicationFirstTimeSetupManualContinue(String, ApiServiceRef) API endpoint should be called to finish the HBase replication first time setup.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for the target (default is rolling restart) (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupManualWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationFirstTimeSetupManualWithHttpInfo(String clusterName,
                                                                                          String serviceName,
                                                                                          Boolean force,
                                                                                          ApiHBaseReplicationSetupCommandArgs body)
                                                                                   throws ApiException

      Starts a manual HBase replication first time setup. Starts a manual HBase replication first time setup. After doing some configuration (see #hbaseReplicationSetup(String, boolean, ApiHBaseReplicationSetupCommandArgs)), it restarts the target cluster only. Source cluster has to be restarted manually, after which the #hbaseReplicationFirstTimeSetupManualContinue(String, ApiServiceRef) API endpoint should be called to finish the HBase replication first time setup.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for the target (default is rolling restart) (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupManualAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupManualAsync(String clusterName,
                                                                                    String serviceName,
                                                                                    Boolean force,
                                                                                    ApiHBaseReplicationSetupCommandArgs body,
                                                                                    ApiCallback<ApiCommand> callback)
                                                                             throws ApiException

      Starts a manual HBase replication first time setup. (asynchronously) Starts a manual HBase replication first time setup. After doing some configuration (see #hbaseReplicationSetup(String, boolean, ApiHBaseReplicationSetupCommandArgs)), it restarts the target cluster only. Source cluster has to be restarted manually, after which the #hbaseReplicationFirstTimeSetupManualContinue(String, ApiServiceRef) API endpoint should be called to finish the HBase replication first time setup.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - Replication setup parameters such as the source peer, source service, passphrase for the keystore, and optionally the RestartType for the target (default is rolling restart) (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupManualContinueCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupManualContinueCall(String clusterName,
                                                                                           String serviceName,
                                                                                           ApiServiceRef body,
                                                                                           ProgressResponseBody.ProgressListener progressListener,
                                                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                    throws ApiException

      Build call for hbaseReplicationFirstTimeSetupManualContinue
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupManualContinue

          public ApiCommand hbaseReplicationFirstTimeSetupManualContinue(String clusterName,
                                                                         String serviceName,
                                                                         ApiServiceRef body)
                                                                  throws ApiException

      Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup. Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupManualContinueWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationFirstTimeSetupManualContinueWithHttpInfo(String clusterName,
                                                                                                  String serviceName,
                                                                                                  ApiServiceRef body)
                                                                                           throws ApiException

      Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup. Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupManualContinueAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupManualContinueAsync(String clusterName,
                                                                                            String serviceName,
                                                                                            ApiServiceRef body,
                                                                                            ApiCallback<ApiCommand> callback)
                                                                                     throws ApiException

      Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup. (asynchronously) Should be called after #hbaseReplicationFirstTimeSetupManual(String, ApiHBaseReplicationSetupCommandArgs) to finish the manual HBase replication first time setup.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source service (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupResetCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupResetCall(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiServiceRef body,
                                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                           throws ApiException

      Build call for hbaseReplicationFirstTimeSetupReset
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupReset

          public void hbaseReplicationFirstTimeSetupReset(String clusterName,
                                                          String serviceName,
                                                          ApiServiceRef body)
                                                   throws ApiException

      Resets/removes the HBase replication first time setup status for the given source and target. Resets/removes the HBase replication first time setup status for the given source and target.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupResetWithHttpInfo

          public ApiResponse<Void> hbaseReplicationFirstTimeSetupResetWithHttpInfo(String clusterName,
                                                                                   String serviceName,
                                                                                   ApiServiceRef body)
                                                                            throws ApiException

      Resets/removes the HBase replication first time setup status for the given source and target. Resets/removes the HBase replication first time setup status for the given source and target.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
      Returns:
        ApiResponse<Void>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupResetAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupResetAsync(String clusterName,
                                                                                   String serviceName,
                                                                                   ApiServiceRef body,
                                                                                   ApiCallback<Void> callback)
                                                                            throws ApiException

      Resets/removes the HBase replication first time setup status for the given source and target. (asynchronously) Resets/removes the HBase replication first time setup status for the given source and target.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `body` - contains the source peer, source cluster, source sourceService (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationFirstTimeSetupStatusCall

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupStatusCall(String clusterName,
                                                                                   String serviceName,
                                                                                   String sourceCluster,
                                                                                   String sourcePeer,
                                                                                   String sourceService,
                                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                            throws ApiException

      Build call for hbaseReplicationFirstTimeSetupStatus
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `sourceCluster` - The source cluster's name (optional)
        `sourcePeer` - The source peer's name (optional)
        `sourceService` - The source service's name (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationFirstTimeSetupStatus

          public ApiHBaseReplicationSetupStatus hbaseReplicationFirstTimeSetupStatus(String clusterName,
                                                                                     String serviceName,
                                                                                     String sourceCluster,
                                                                                     String sourcePeer,
                                                                                     String sourceService)
                                                                              throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `sourceCluster` - The source cluster's name (optional)
        `sourcePeer` - The source peer's name (optional)
        `sourceService` - The source service's name (optional)
      Returns:
        ApiHBaseReplicationSetupStatus
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupStatusWithHttpInfo

          public ApiResponse<ApiHBaseReplicationSetupStatus> hbaseReplicationFirstTimeSetupStatusWithHttpInfo(String clusterName,
                                                                                                              String serviceName,
                                                                                                              String sourceCluster,
                                                                                                              String sourcePeer,
                                                                                                              String sourceService)
                                                                                                       throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `sourceCluster` - The source cluster's name (optional)
        `sourcePeer` - The source peer's name (optional)
        `sourceService` - The source service's name (optional)
      Returns:
        ApiResponse<ApiHBaseReplicationSetupStatus>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationFirstTimeSetupStatusAsync

          public com.squareup.okhttp.Call hbaseReplicationFirstTimeSetupStatusAsync(String clusterName,
                                                                                    String serviceName,
                                                                                    String sourceCluster,
                                                                                    String sourcePeer,
                                                                                    String sourceService,
                                                                                    ApiCallback<ApiHBaseReplicationSetupStatus> callback)
                                                                             throws ApiException

      (asynchronously)
      Parameters:
        `clusterName` - (required)
        `serviceName` - The local HBase service name (required)
        `sourceCluster` - The source cluster's name (optional)
        `sourcePeer` - The source peer's name (optional)
        `sourceService` - The source service's name (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationSetupCall

          public com.squareup.okhttp.Call hbaseReplicationSetupCall(String clusterName,
                                                                    String serviceName,
                                                                    Boolean force,
                                                                    ApiHBaseReplicationSetupCommandArgs body,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for hbaseReplicationSetup
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationSetup

          public ApiCommand hbaseReplicationSetup(String clusterName,
                                                  String serviceName,
                                                  Boolean force,
                                                  ApiHBaseReplicationSetupCommandArgs body)
                                           throws ApiException

      Perform one time setup for HBase replication. Perform one time setup for HBase replication. Generate the a keystore to HDFS for use by replication and transfer the keystore to HDFS on the the peer.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationSetupWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationSetupWithHttpInfo(String clusterName,
                                                                           String serviceName,
                                                                           Boolean force,
                                                                           ApiHBaseReplicationSetupCommandArgs body)
                                                                    throws ApiException

      Perform one time setup for HBase replication. Perform one time setup for HBase replication. Generate the a keystore to HDFS for use by replication and transfer the keystore to HDFS on the the peer.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationSetupAsync

          public com.squareup.okhttp.Call hbaseReplicationSetupAsync(String clusterName,
                                                                     String serviceName,
                                                                     Boolean force,
                                                                     ApiHBaseReplicationSetupCommandArgs body,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Perform one time setup for HBase replication. (asynchronously) Perform one time setup for HBase replication. Generate the a keystore to HDFS for use by replication and transfer the keystore to HDFS on the the peer.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `force` - If true, perform setup even if already setup. (Default false) (optional, default to false)
        `body` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseReplicationSetupAdminCall

          public com.squareup.okhttp.Call hbaseReplicationSetupAdminCall(String clusterName,
                                                                         String serviceName,
                                                                         String cmPeerDefinition,
                                                                         String op,
                                                                         String path,
                                                                         String user,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException

      Build call for hbaseReplicationSetupAdmin
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `cmPeerDefinition` - (optional)
        `op` - (optional)
        `path` - (optional)
        `user` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseReplicationSetupAdmin

          public ApiCommand hbaseReplicationSetupAdmin(String clusterName,
                                                       String serviceName,
                                                       String cmPeerDefinition,
                                                       String op,
                                                       String path,
                                                       String user)
                                                throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `cmPeerDefinition` - (optional)
        `op` - (optional)
        `path` - (optional)
        `user` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationSetupAdminWithHttpInfo

          public ApiResponse<ApiCommand> hbaseReplicationSetupAdminWithHttpInfo(String clusterName,
                                                                                String serviceName,
                                                                                String cmPeerDefinition,
                                                                                String op,
                                                                                String path,
                                                                                String user)
                                                                         throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `cmPeerDefinition` - (optional)
        `op` - (optional)
        `path` - (optional)
        `user` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseReplicationSetupAdminAsync

          public com.squareup.okhttp.Call hbaseReplicationSetupAdminAsync(String clusterName,
                                                                          String serviceName,
                                                                          String cmPeerDefinition,
                                                                          String op,
                                                                          String path,
                                                                          String user,
                                                                          ApiCallback<ApiCommand> callback)
                                                                   throws ApiException

      (asynchronously)
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `cmPeerDefinition` - (optional)
        `op` - (optional)
        `path` - (optional)
        `user` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseShellCommandCall

          public com.squareup.okhttp.Call hbaseShellCommandCall(String clusterName,
                                                                String serviceName,
                                                                ApiHBaseShellCommand body,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException

      Build call for hbaseShellCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name (required)
        `body` - hbase shell command to be executed (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseShellCommand

          public ApiCommand hbaseShellCommand(String clusterName,
                                              String serviceName,
                                              ApiHBaseShellCommand body)
                                       throws ApiException

      Execute a hbase shell command. Execute a hbase shell command
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name (required)
        `body` - hbase shell command to be executed (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseShellCommandWithHttpInfo

          public ApiResponse<ApiCommand> hbaseShellCommandWithHttpInfo(String clusterName,
                                                                       String serviceName,
                                                                       ApiHBaseShellCommand body)
                                                                throws ApiException

      Execute a hbase shell command. Execute a hbase shell command
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name (required)
        `body` - hbase shell command to be executed (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseShellCommandAsync

          public com.squareup.okhttp.Call hbaseShellCommandAsync(String clusterName,
                                                                 String serviceName,
                                                                 ApiHBaseShellCommand body,
                                                                 ApiCallback<ApiCommand> callback)
                                                          throws ApiException

      Execute a hbase shell command. (asynchronously) Execute a hbase shell command
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name (required)
        `body` - hbase shell command to be executed (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hbaseUpgradeCommandCall

          public com.squareup.okhttp.Call hbaseUpgradeCommandCall(String clusterName,
                                                                  String serviceName,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for hbaseUpgradeCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hbaseUpgradeCommand

          public ApiCommand hbaseUpgradeCommand(String clusterName,
                                                String serviceName)
                                         throws ApiException

      Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5. Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5. <p/> This is required in order to run HBase after upgrade. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseUpgradeCommandWithHttpInfo

          public ApiResponse<ApiCommand> hbaseUpgradeCommandWithHttpInfo(String clusterName,
                                                                         String serviceName)
                                                                  throws ApiException

      Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5. Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5. <p/> This is required in order to run HBase after upgrade. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hbaseUpgradeCommandAsync

          public com.squareup.okhttp.Call hbaseUpgradeCommandAsync(String clusterName,
                                                                   String serviceName,
                                                                   ApiCallback<ApiCommand> callback)
                                                            throws ApiException

      Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5. (asynchronously) Upgrade HBase data in HDFS and ZooKeeper as part of upgrade from CDH4 to CDH5. <p/> This is required in order to run HBase after upgrade. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HBase service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsAddSBNNToNSCommandCall

          public com.squareup.okhttp.Call hdfsAddSBNNToNSCommandCall(String clusterName,
                                                                     String serviceName,
                                                                     ApiAddSBNNToNSArguments body,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException

      Build call for hdfsAddSBNNToNSCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsAddSBNNToNSCommand

          public ApiCommand hdfsAddSBNNToNSCommand(String clusterName,
                                                   String serviceName,
                                                   ApiAddSBNNToNSArguments body)
                                            throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsAddSBNNToNSCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsAddSBNNToNSCommandWithHttpInfo(String clusterName,
                                                                            String serviceName,
                                                                            ApiAddSBNNToNSArguments body)
                                                                     throws ApiException

      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsAddSBNNToNSCommandAsync

          public com.squareup.okhttp.Call hdfsAddSBNNToNSCommandAsync(String clusterName,
                                                                      String serviceName,
                                                                      ApiAddSBNNToNSArguments body,
                                                                      ApiCallback<ApiCommand> callback)
                                                               throws ApiException

      (asynchronously)
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsCreateTmpDirCall

          public com.squareup.okhttp.Call hdfsCreateTmpDirCall(String clusterName,
                                                               String serviceName,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException

      Build call for hdfsCreateTmpDir
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the HDFS service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsCreateTmpDir

          public ApiCommand hdfsCreateTmpDir(String clusterName,
                                             String serviceName)
                                      throws ApiException

      Creates a tmp directory on the HDFS filesystem. Creates a tmp directory on the HDFS filesystem. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the HDFS service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsCreateTmpDirWithHttpInfo

          public ApiResponse<ApiCommand> hdfsCreateTmpDirWithHttpInfo(String clusterName,
                                                                      String serviceName)
                                                               throws ApiException

      Creates a tmp directory on the HDFS filesystem. Creates a tmp directory on the HDFS filesystem. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the HDFS service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsCreateTmpDirAsync

          public com.squareup.okhttp.Call hdfsCreateTmpDirAsync(String clusterName,
                                                                String serviceName,
                                                                ApiCallback<ApiCommand> callback)
                                                         throws ApiException

      Creates a tmp directory on the HDFS filesystem. (asynchronously) Creates a tmp directory on the HDFS filesystem. <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the HDFS service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsDisableAutoFailoverCommandCall

          public com.squareup.okhttp.Call hdfsDisableAutoFailoverCommandCall(String clusterName,
                                                                             String serviceName,
                                                                             String body,
                                                                             ProgressResponseBody.ProgressListener progressListener,
                                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                      throws ApiException

      Build call for hdfsDisableAutoFailoverCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - The nameservice name. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsDisableAutoFailoverCommand

          public ApiCommand hdfsDisableAutoFailoverCommand(String clusterName,
                                                           String serviceName,
                                                           String body)
                                                    throws ApiException

      Disable auto-failover for a highly available HDFS nameservice. Disable auto-failover for a highly available HDFS nameservice. <p> The command will modify the nameservice's NameNodes configuration to disable automatic failover, and delete the existing failover controllers. <p> The ZooKeeper dependency of the service will not be removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - The nameservice name. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsDisableAutoFailoverCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsDisableAutoFailoverCommandWithHttpInfo(String clusterName,
                                                                                    String serviceName,
                                                                                    String body)
                                                                             throws ApiException

      Disable auto-failover for a highly available HDFS nameservice. Disable auto-failover for a highly available HDFS nameservice. <p> The command will modify the nameservice's NameNodes configuration to disable automatic failover, and delete the existing failover controllers. <p> The ZooKeeper dependency of the service will not be removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - The nameservice name. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsDisableAutoFailoverCommandAsync

          public com.squareup.okhttp.Call hdfsDisableAutoFailoverCommandAsync(String clusterName,
                                                                              String serviceName,
                                                                              String body,
                                                                              ApiCallback<ApiCommand> callback)
                                                                       throws ApiException

      Disable auto-failover for a highly available HDFS nameservice. (asynchronously) Disable auto-failover for a highly available HDFS nameservice. <p> The command will modify the nameservice's NameNodes configuration to disable automatic failover, and delete the existing failover controllers. <p> The ZooKeeper dependency of the service will not be removed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - The nameservice name. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsDisableHaCommandCall

          public com.squareup.okhttp.Call hdfsDisableHaCommandCall(String clusterName,
                                                                   String serviceName,
                                                                   ApiHdfsDisableHaArguments body,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for hdfsDisableHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsDisableHaCommand

          public ApiCommand hdfsDisableHaCommand(String clusterName,
                                                 String serviceName,
                                                 ApiHdfsDisableHaArguments body)
                                          throws ApiException

      Disable high availability (HA) for an HDFS NameNode. Disable high availability (HA) for an HDFS NameNode. <p> The NameNode to be kept must be running before HA can be disabled. <p> As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command arguments provide options to re-start these services and to re-deploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsDisableHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsDisableHaCommandWithHttpInfo(String clusterName,
                                                                          String serviceName,
                                                                          ApiHdfsDisableHaArguments body)
                                                                   throws ApiException

      Disable high availability (HA) for an HDFS NameNode. Disable high availability (HA) for an HDFS NameNode. <p> The NameNode to be kept must be running before HA can be disabled. <p> As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command arguments provide options to re-start these services and to re-deploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsDisableHaCommandAsync

          public com.squareup.okhttp.Call hdfsDisableHaCommandAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiHdfsDisableHaArguments body,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Disable high availability (HA) for an HDFS NameNode. (asynchronously) Disable high availability (HA) for an HDFS NameNode. <p> The NameNode to be kept must be running before HA can be disabled. <p> As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command arguments provide options to re-start these services and to re-deploy the client configurations for services of the cluster after HA has been disabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsDisableNnHaCommandCall

          public com.squareup.okhttp.Call hdfsDisableNnHaCommandCall(String clusterName,
                                                                     String serviceName,
                                                                     ApiDisableNnHaArguments body,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException

      Build call for hdfsDisableNnHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsDisableNnHaCommand

          public ApiCommand hdfsDisableNnHaCommand(String clusterName,
                                                   String serviceName,
                                                   ApiDisableNnHaArguments body)
                                            throws ApiException

      Disable High Availability (HA) with Automatic Failover for an HDFS NameNode. Disable High Availability (HA) with Automatic Failover for an HDFS NameNode. <p> As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command will delete the Standby NameNode associated with the specified NameNode. Any FailoverControllers associated with the NameNode's nameservice are also deleted. A SecondaryNameNode is created on the host specified by the arugments. <p> If no nameservices uses Quorum Journal after HA is disabled for the specified nameservice, then all JournalNodes are also deleted. <p> Then, HDFS service is restarted and all services that were stopped are started again afterwards. Finally, client configs for HDFS and its depedents will be re-deployed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsDisableNnHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsDisableNnHaCommandWithHttpInfo(String clusterName,
                                                                            String serviceName,
                                                                            ApiDisableNnHaArguments body)
                                                                     throws ApiException

      Disable High Availability (HA) with Automatic Failover for an HDFS NameNode. Disable High Availability (HA) with Automatic Failover for an HDFS NameNode. <p> As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command will delete the Standby NameNode associated with the specified NameNode. Any FailoverControllers associated with the NameNode's nameservice are also deleted. A SecondaryNameNode is created on the host specified by the arugments. <p> If no nameservices uses Quorum Journal after HA is disabled for the specified nameservice, then all JournalNodes are also deleted. <p> Then, HDFS service is restarted and all services that were stopped are started again afterwards. Finally, client configs for HDFS and its depedents will be re-deployed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsDisableNnHaCommandAsync

          public com.squareup.okhttp.Call hdfsDisableNnHaCommandAsync(String clusterName,
                                                                      String serviceName,
                                                                      ApiDisableNnHaArguments body,
                                                                      ApiCallback<ApiCommand> callback)
                                                               throws ApiException

      Disable High Availability (HA) with Automatic Failover for an HDFS NameNode. (asynchronously) Disable High Availability (HA) with Automatic Failover for an HDFS NameNode. <p> As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command will delete the Standby NameNode associated with the specified NameNode. Any FailoverControllers associated with the NameNode's nameservice are also deleted. A SecondaryNameNode is created on the host specified by the arugments. <p> If no nameservices uses Quorum Journal after HA is disabled for the specified nameservice, then all JournalNodes are also deleted. <p> Then, HDFS service is restarted and all services that were stopped are started again afterwards. Finally, client configs for HDFS and its depedents will be re-deployed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsEnableAutoFailoverCommandCall

          public com.squareup.okhttp.Call hdfsEnableAutoFailoverCommandCall(String clusterName,
                                                                            String serviceName,
                                                                            ApiHdfsFailoverArguments body,
                                                                            ProgressResponseBody.ProgressListener progressListener,
                                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                     throws ApiException

      Build call for hdfsEnableAutoFailoverCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsEnableAutoFailoverCommand

          public ApiCommand hdfsEnableAutoFailoverCommand(String clusterName,
                                                          String serviceName,
                                                          ApiHdfsFailoverArguments body)
                                                   throws ApiException

      Enable auto-failover for an HDFS nameservice. Enable auto-failover for an HDFS nameservice. <p> This command requires that the nameservice exists, and HA has been configured for that nameservice. <p> The command will create the needed failover controllers, perform the needed initialization and configuration, and will start the new roles. The existing NameNodes which are part of the nameservice will be re-started in the process. <p> This process may require changing the service's configuration, to add a dependency on the provided ZooKeeper service. This will be done if such a dependency has not been configured yet, and will cause roles that are not affected by this command to show an \"outdated configuration\" status. <p> If a ZooKeeper dependency has already been set up by some other means, it does not need to be provided in the command arguments.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsEnableAutoFailoverCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsEnableAutoFailoverCommandWithHttpInfo(String clusterName,
                                                                                   String serviceName,
                                                                                   ApiHdfsFailoverArguments body)
                                                                            throws ApiException

      Enable auto-failover for an HDFS nameservice. Enable auto-failover for an HDFS nameservice. <p> This command requires that the nameservice exists, and HA has been configured for that nameservice. <p> The command will create the needed failover controllers, perform the needed initialization and configuration, and will start the new roles. The existing NameNodes which are part of the nameservice will be re-started in the process. <p> This process may require changing the service's configuration, to add a dependency on the provided ZooKeeper service. This will be done if such a dependency has not been configured yet, and will cause roles that are not affected by this command to show an \"outdated configuration\" status. <p> If a ZooKeeper dependency has already been set up by some other means, it does not need to be provided in the command arguments.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsEnableAutoFailoverCommandAsync

          public com.squareup.okhttp.Call hdfsEnableAutoFailoverCommandAsync(String clusterName,
                                                                             String serviceName,
                                                                             ApiHdfsFailoverArguments body,
                                                                             ApiCallback<ApiCommand> callback)
                                                                      throws ApiException

      Enable auto-failover for an HDFS nameservice. (asynchronously) Enable auto-failover for an HDFS nameservice. <p> This command requires that the nameservice exists, and HA has been configured for that nameservice. <p> The command will create the needed failover controllers, perform the needed initialization and configuration, and will start the new roles. The existing NameNodes which are part of the nameservice will be re-started in the process. <p> This process may require changing the service's configuration, to add a dependency on the provided ZooKeeper service. This will be done if such a dependency has not been configured yet, and will cause roles that are not affected by this command to show an \"outdated configuration\" status. <p> If a ZooKeeper dependency has already been set up by some other means, it does not need to be provided in the command arguments.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsEnableHaCommandCall

          public com.squareup.okhttp.Call hdfsEnableHaCommandCall(String clusterName,
                                                                  String serviceName,
                                                                  ApiHdfsHaArguments body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for hdfsEnableHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsEnableHaCommand

          public ApiCommand hdfsEnableHaCommand(String clusterName,
                                                String serviceName,
                                                ApiHdfsHaArguments body)
                                         throws ApiException

      Enable high availability (HA) for an HDFS NameNode. Enable high availability (HA) for an HDFS NameNode. <p> The command will set up the given \"active\" and \"stand-by\" NameNodes as an HA pair. Both nodes need to already exist. <p> If there is a SecondaryNameNode associated with either given NameNode instance, it will be deleted. <p> Note that while the shared edits path may be different for both nodes, they need to point to the same underlying storage (e.g., an NFS share). <p> As part of enabling HA, any services that depend on the HDFS service being modified will be stopped. The command arguments provide options to re-start these services and to re-deploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsEnableHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsEnableHaCommandWithHttpInfo(String clusterName,
                                                                         String serviceName,
                                                                         ApiHdfsHaArguments body)
                                                                  throws ApiException

      Enable high availability (HA) for an HDFS NameNode. Enable high availability (HA) for an HDFS NameNode. <p> The command will set up the given \"active\" and \"stand-by\" NameNodes as an HA pair. Both nodes need to already exist. <p> If there is a SecondaryNameNode associated with either given NameNode instance, it will be deleted. <p> Note that while the shared edits path may be different for both nodes, they need to point to the same underlying storage (e.g., an NFS share). <p> As part of enabling HA, any services that depend on the HDFS service being modified will be stopped. The command arguments provide options to re-start these services and to re-deploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsEnableHaCommandAsync

          public com.squareup.okhttp.Call hdfsEnableHaCommandAsync(String clusterName,
                                                                   String serviceName,
                                                                   ApiHdfsHaArguments body,
                                                                   ApiCallback<ApiCommand> callback)
                                                            throws ApiException

      Enable high availability (HA) for an HDFS NameNode. (asynchronously) Enable high availability (HA) for an HDFS NameNode. <p> The command will set up the given \"active\" and \"stand-by\" NameNodes as an HA pair. Both nodes need to already exist. <p> If there is a SecondaryNameNode associated with either given NameNode instance, it will be deleted. <p> Note that while the shared edits path may be different for both nodes, they need to point to the same underlying storage (e.g., an NFS share). <p> As part of enabling HA, any services that depend on the HDFS service being modified will be stopped. The command arguments provide options to re-start these services and to re-deploy the client configurations for services of the cluster after HA has been enabled.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsEnableNnHaCommandCall

          public com.squareup.okhttp.Call hdfsEnableNnHaCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ApiEnableNnHaArguments body,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for hdfsEnableNnHaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsEnableNnHaCommand

          public ApiCommand hdfsEnableNnHaCommand(String clusterName,
                                                  String serviceName,
                                                  ApiEnableNnHaArguments body)
                                           throws ApiException

      Enable High Availability (HA) with Automatic Failover for an HDFS NameNode. Enable High Availability (HA) with Automatic Failover for an HDFS NameNode. <p> The command will create a Standby NameNode for the given nameservice and create FailoverControllers for both Active and Standby NameNodes. The SecondaryNameNode associated with the Active NameNode will be deleted. <p> The command will also create JournalNodes needed for HDFS HA if they do not already exist. <p> As part of enabling HA, any services that depend on the HDFS service being modified will be stopped. They will be restarted after HA has been enabled. Finally, client configs for HDFS and its depedents will be re-deployed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsEnableNnHaCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsEnableNnHaCommandWithHttpInfo(String clusterName,
                                                                           String serviceName,
                                                                           ApiEnableNnHaArguments body)
                                                                    throws ApiException

      Enable High Availability (HA) with Automatic Failover for an HDFS NameNode. Enable High Availability (HA) with Automatic Failover for an HDFS NameNode. <p> The command will create a Standby NameNode for the given nameservice and create FailoverControllers for both Active and Standby NameNodes. The SecondaryNameNode associated with the Active NameNode will be deleted. <p> The command will also create JournalNodes needed for HDFS HA if they do not already exist. <p> As part of enabling HA, any services that depend on the HDFS service being modified will be stopped. They will be restarted after HA has been enabled. Finally, client configs for HDFS and its depedents will be re-deployed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsEnableNnHaCommandAsync

          public com.squareup.okhttp.Call hdfsEnableNnHaCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiEnableNnHaArguments body,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Enable High Availability (HA) with Automatic Failover for an HDFS NameNode. (asynchronously) Enable High Availability (HA) with Automatic Failover for an HDFS NameNode. <p> The command will create a Standby NameNode for the given nameservice and create FailoverControllers for both Active and Standby NameNodes. The SecondaryNameNode associated with the Active NameNode will be deleted. <p> The command will also create JournalNodes needed for HDFS HA if they do not already exist. <p> As part of enabling HA, any services that depend on the HDFS service being modified will be stopped. They will be restarted after HA has been enabled. Finally, client configs for HDFS and its depedents will be re-deployed.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments for the command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsFailoverCommandCall

          public com.squareup.okhttp.Call hdfsFailoverCommandCall(String clusterName,
                                                                  String serviceName,
                                                                  Boolean force,
                                                                  ApiRoleNameList body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for hdfsFailoverCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `force` - Whether to force failover. (optional, default to false)
        `body` - Names of the NameNodes in the HA pair. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsFailoverCommand

          public ApiCommand hdfsFailoverCommand(String clusterName,
                                                String serviceName,
                                                Boolean force,
                                                ApiRoleNameList body)
                                         throws ApiException

      Initiate a failover in an HDFS HA NameNode pair. Initiate a failover in an HDFS HA NameNode pair. <p> The arguments should contain the names of the two NameNodes in the HA pair. The first one should be the currently active NameNode, the second one the NameNode to be made active.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `force` - Whether to force failover. (optional, default to false)
        `body` - Names of the NameNodes in the HA pair. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsFailoverCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsFailoverCommandWithHttpInfo(String clusterName,
                                                                         String serviceName,
                                                                         Boolean force,
                                                                         ApiRoleNameList body)
                                                                  throws ApiException

      Initiate a failover in an HDFS HA NameNode pair. Initiate a failover in an HDFS HA NameNode pair. <p> The arguments should contain the names of the two NameNodes in the HA pair. The first one should be the currently active NameNode, the second one the NameNode to be made active.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `force` - Whether to force failover. (optional, default to false)
        `body` - Names of the NameNodes in the HA pair. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsFailoverCommandAsync

          public com.squareup.okhttp.Call hdfsFailoverCommandAsync(String clusterName,
                                                                   String serviceName,
                                                                   Boolean force,
                                                                   ApiRoleNameList body,
                                                                   ApiCallback<ApiCommand> callback)
                                                            throws ApiException

      Initiate a failover in an HDFS HA NameNode pair. (asynchronously) Initiate a failover in an HDFS HA NameNode pair. <p> The arguments should contain the names of the two NameNodes in the HA pair. The first one should be the currently active NameNode, the second one the NameNode to be made active.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `force` - Whether to force failover. (optional, default to false)
        `body` - Names of the NameNodes in the HA pair. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsFinalizeRollingUpgradeCall

          public com.squareup.okhttp.Call hdfsFinalizeRollingUpgradeCall(String clusterName,
                                                                         String serviceName,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException

      Build call for hdfsFinalizeRollingUpgrade
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsFinalizeRollingUpgrade

          public ApiCommand hdfsFinalizeRollingUpgrade(String clusterName,
                                                       String serviceName)
                                                throws ApiException

      Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version. Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version. Should be done after doing a rolling upgrade to a CDH version >= 5.2.0. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsFinalizeRollingUpgradeWithHttpInfo

          public ApiResponse<ApiCommand> hdfsFinalizeRollingUpgradeWithHttpInfo(String clusterName,
                                                                                String serviceName)
                                                                         throws ApiException

      Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version. Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version. Should be done after doing a rolling upgrade to a CDH version >= 5.2.0. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsFinalizeRollingUpgradeAsync

          public com.squareup.okhttp.Call hdfsFinalizeRollingUpgradeAsync(String clusterName,
                                                                          String serviceName,
                                                                          ApiCallback<ApiCommand> callback)
                                                                   throws ApiException

      Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version. (asynchronously) Finalizes the rolling upgrade for HDFS by updating the NameNode metadata permanently to the next version. Should be done after doing a rolling upgrade to a CDH version >= 5.2.0. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsRollEditsCommandCall

          public com.squareup.okhttp.Call hdfsRollEditsCommandCall(String clusterName,
                                                                   String serviceName,
                                                                   ApiRollEditsArgs body,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for hdfsRollEditsCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments to the Roll Edits command. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsRollEditsCommand

          public ApiCommand hdfsRollEditsCommand(String clusterName,
                                                 String serviceName,
                                                 ApiRollEditsArgs body)
                                          throws ApiException

      Roll the edits of an HDFS NameNode or Nameservice. Roll the edits of an HDFS NameNode or Nameservice. <p> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments to the Roll Edits command. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsRollEditsCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsRollEditsCommandWithHttpInfo(String clusterName,
                                                                          String serviceName,
                                                                          ApiRollEditsArgs body)
                                                                   throws ApiException

      Roll the edits of an HDFS NameNode or Nameservice. Roll the edits of an HDFS NameNode or Nameservice. <p> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments to the Roll Edits command. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsRollEditsCommandAsync

          public com.squareup.okhttp.Call hdfsRollEditsCommandAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiRollEditsArgs body,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Roll the edits of an HDFS NameNode or Nameservice. (asynchronously) Roll the edits of an HDFS NameNode or Nameservice. <p> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `body` - Arguments to the Roll Edits command. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hdfsUpgradeMetadataCommandCall

          public com.squareup.okhttp.Call hdfsUpgradeMetadataCommandCall(String clusterName,
                                                                         String serviceName,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException

      Build call for hdfsUpgradeMetadataCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hdfsUpgradeMetadataCommand

          public ApiCommand hdfsUpgradeMetadataCommand(String clusterName,
                                                       String serviceName)
                                                throws ApiException

      Upgrade HDFS Metadata as part of a major version upgrade. Upgrade HDFS Metadata as part of a major version upgrade. <p/> When doing a major version upgrade for HDFS, it is necessary to start HDFS in a special mode where it will do any necessary upgrades of stored metadata. Trying to start HDFS normally will result in an error message and the NameNode(s) failing to start. <p/> The metadata upgrade must eventually be finalized, using the hdfsFinalizeMetadataUpgrade command on the NameNode. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsUpgradeMetadataCommandWithHttpInfo

          public ApiResponse<ApiCommand> hdfsUpgradeMetadataCommandWithHttpInfo(String clusterName,
                                                                                String serviceName)
                                                                         throws ApiException

      Upgrade HDFS Metadata as part of a major version upgrade. Upgrade HDFS Metadata as part of a major version upgrade. <p/> When doing a major version upgrade for HDFS, it is necessary to start HDFS in a special mode where it will do any necessary upgrades of stored metadata. Trying to start HDFS normally will result in an error message and the NameNode(s) failing to start. <p/> The metadata upgrade must eventually be finalized, using the hdfsFinalizeMetadataUpgrade command on the NameNode. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hdfsUpgradeMetadataCommandAsync

          public com.squareup.okhttp.Call hdfsUpgradeMetadataCommandAsync(String clusterName,
                                                                          String serviceName,
                                                                          ApiCallback<ApiCommand> callback)
                                                                   throws ApiException

      Upgrade HDFS Metadata as part of a major version upgrade. (asynchronously) Upgrade HDFS Metadata as part of a major version upgrade. <p/> When doing a major version upgrade for HDFS, it is necessary to start HDFS in a special mode where it will do any necessary upgrades of stored metadata. Trying to start HDFS normally will result in an error message and the NameNode(s) failing to start. <p/> The metadata upgrade must eventually be finalized, using the hdfsFinalizeMetadataUpgrade command on the NameNode. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The HDFS service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hiveCreateMetastoreDatabaseCommandCall

          public com.squareup.okhttp.Call hiveCreateMetastoreDatabaseCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for hiveCreateMetastoreDatabaseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hiveCreateMetastoreDatabaseCommand

          public ApiCommand hiveCreateMetastoreDatabaseCommand(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      Create the Hive Metastore Database. Create the Hive Metastore Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database needs to be created in the embedded postgresql database for a Hive service. This command should usually be followed by a call to hiveCreateMetastoreDatabaseTables. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveCreateMetastoreDatabaseCommandWithHttpInfo

          public ApiResponse<ApiCommand> hiveCreateMetastoreDatabaseCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName)
                                                                                 throws ApiException

      Create the Hive Metastore Database. Create the Hive Metastore Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database needs to be created in the embedded postgresql database for a Hive service. This command should usually be followed by a call to hiveCreateMetastoreDatabaseTables. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveCreateMetastoreDatabaseCommandAsync

          public com.squareup.okhttp.Call hiveCreateMetastoreDatabaseCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      Create the Hive Metastore Database. (asynchronously) Create the Hive Metastore Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database needs to be created in the embedded postgresql database for a Hive service. This command should usually be followed by a call to hiveCreateMetastoreDatabaseTables. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hiveCreateMetastoreDatabaseTablesCommandCall

          public com.squareup.okhttp.Call hiveCreateMetastoreDatabaseTablesCommandCall(String clusterName,
                                                                                       String serviceName,
                                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                throws ApiException

      Build call for hiveCreateMetastoreDatabaseTablesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hiveCreateMetastoreDatabaseTablesCommand

          public ApiCommand hiveCreateMetastoreDatabaseTablesCommand(String clusterName,
                                                                     String serviceName)
                                                              throws ApiException

      Create the Hive Metastore Database tables. Create the Hive Metastore Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when all Hive Metastore Servers are stopped. <p> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveCreateMetastoreDatabaseTablesCommandWithHttpInfo

          public ApiResponse<ApiCommand> hiveCreateMetastoreDatabaseTablesCommandWithHttpInfo(String clusterName,
                                                                                              String serviceName)
                                                                                       throws ApiException

      Create the Hive Metastore Database tables. Create the Hive Metastore Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when all Hive Metastore Servers are stopped. <p> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveCreateMetastoreDatabaseTablesCommandAsync

          public com.squareup.okhttp.Call hiveCreateMetastoreDatabaseTablesCommandAsync(String clusterName,
                                                                                        String serviceName,
                                                                                        ApiCallback<ApiCommand> callback)
                                                                                 throws ApiException

      Create the Hive Metastore Database tables. (asynchronously) Create the Hive Metastore Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when all Hive Metastore Servers are stopped. <p> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hiveUpdateMetastoreNamenodesCommandCall

          public com.squareup.okhttp.Call hiveUpdateMetastoreNamenodesCommandCall(String clusterName,
                                                                                  String serviceName,
                                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                           throws ApiException

      Build call for hiveUpdateMetastoreNamenodesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hiveUpdateMetastoreNamenodesCommand

          public ApiCommand hiveUpdateMetastoreNamenodesCommand(String clusterName,
                                                                String serviceName)
                                                         throws ApiException

      Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname. Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname. <p> <strong>Back up the Hive Metastore Database before running this command.</strong> <p> This command is to be run after enabling HDFS High Availability. Only available when all Hive Metastore Servers are stopped. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveUpdateMetastoreNamenodesCommandWithHttpInfo

          public ApiResponse<ApiCommand> hiveUpdateMetastoreNamenodesCommandWithHttpInfo(String clusterName,
                                                                                         String serviceName)
                                                                                  throws ApiException

      Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname. Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname. <p> <strong>Back up the Hive Metastore Database before running this command.</strong> <p> This command is to be run after enabling HDFS High Availability. Only available when all Hive Metastore Servers are stopped. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveUpdateMetastoreNamenodesCommandAsync

          public com.squareup.okhttp.Call hiveUpdateMetastoreNamenodesCommandAsync(String clusterName,
                                                                                   String serviceName,
                                                                                   ApiCallback<ApiCommand> callback)
                                                                            throws ApiException

      Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname. (asynchronously) Update Hive Metastore to point to a NameNode's Nameservice name instead of hostname. <p> <strong>Back up the Hive Metastore Database before running this command.</strong> <p> This command is to be run after enabling HDFS High Availability. Only available when all Hive Metastore Servers are stopped. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hiveUpgradeMetastoreCommandCall

          public com.squareup.okhttp.Call hiveUpgradeMetastoreCommandCall(String clusterName,
                                                                          String serviceName,
                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                   throws ApiException

      Build call for hiveUpgradeMetastoreCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hiveUpgradeMetastoreCommand

          public ApiCommand hiveUpgradeMetastoreCommand(String clusterName,
                                                        String serviceName)
                                                 throws ApiException

      Upgrade Hive Metastore as part of a major version upgrade. Upgrade Hive Metastore as part of a major version upgrade. <p/> When doing a major version upgrade for Hive, it is necessary to upgrade data in the metastore database. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveUpgradeMetastoreCommandWithHttpInfo

          public ApiResponse<ApiCommand> hiveUpgradeMetastoreCommandWithHttpInfo(String clusterName,
                                                                                 String serviceName)
                                                                          throws ApiException

      Upgrade Hive Metastore as part of a major version upgrade. Upgrade Hive Metastore as part of a major version upgrade. <p/> When doing a major version upgrade for Hive, it is necessary to upgrade data in the metastore database. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveUpgradeMetastoreCommandAsync

          public com.squareup.okhttp.Call hiveUpgradeMetastoreCommandAsync(String clusterName,
                                                                           String serviceName,
                                                                           ApiCallback<ApiCommand> callback)
                                                                    throws ApiException

      Upgrade Hive Metastore as part of a major version upgrade. (asynchronously) Upgrade Hive Metastore as part of a major version upgrade. <p/> When doing a major version upgrade for Hive, it is necessary to upgrade data in the metastore database. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Hive service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hiveValidateMetastoreSchemaCommandCall

          public com.squareup.okhttp.Call hiveValidateMetastoreSchemaCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for hiveValidateMetastoreSchemaCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hiveValidateMetastoreSchemaCommand

          public ApiCommand hiveValidateMetastoreSchemaCommand(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      Validate the Hive Metastore Schema. Validate the Hive Metastore Schema. <p> This command checks the Hive metastore schema for any errors and corruptions. This command is to be run on two instances: <li>After the Hive Metastore database tables are created.</li> <li>Both before and after upgrading the Hive metastore database schema./li> * <p> Available since API v17.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveValidateMetastoreSchemaCommandWithHttpInfo

          public ApiResponse<ApiCommand> hiveValidateMetastoreSchemaCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName)
                                                                                 throws ApiException

      Validate the Hive Metastore Schema. Validate the Hive Metastore Schema. <p> This command checks the Hive metastore schema for any errors and corruptions. This command is to be run on two instances: <li>After the Hive Metastore database tables are created.</li> <li>Both before and after upgrading the Hive metastore database schema./li> * <p> Available since API v17.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hiveValidateMetastoreSchemaCommandAsync

          public com.squareup.okhttp.Call hiveValidateMetastoreSchemaCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      Validate the Hive Metastore Schema. (asynchronously) Validate the Hive Metastore Schema. <p> This command checks the Hive metastore schema for any errors and corruptions. This command is to be run on two instances: <li>After the Hive Metastore database tables are created.</li> <li>Both before and after upgrading the Hive metastore database schema./li> * <p> Available since API v17.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Hive service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hueDumpDbCommandCall

          public com.squareup.okhttp.Call hueDumpDbCommandCall(String clusterName,
                                                               String serviceName,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException

      Build call for hueDumpDbCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hueDumpDbCommand

          public ApiCommand hueDumpDbCommand(String clusterName,
                                             String serviceName)
                                      throws ApiException

      Runs Hue's dumpdata command. Runs Hue's dumpdata command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hueDumpDbCommandWithHttpInfo

          public ApiResponse<ApiCommand> hueDumpDbCommandWithHttpInfo(String clusterName,
                                                                      String serviceName)
                                                               throws ApiException

      Runs Hue's dumpdata command. Runs Hue's dumpdata command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hueDumpDbCommandAsync

          public com.squareup.okhttp.Call hueDumpDbCommandAsync(String clusterName,
                                                                String serviceName,
                                                                ApiCallback<ApiCommand> callback)
                                                         throws ApiException

      Runs Hue's dumpdata command. (asynchronously) Runs Hue's dumpdata command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hueLoadDbCommandCall

          public com.squareup.okhttp.Call hueLoadDbCommandCall(String clusterName,
                                                               String serviceName,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException

      Build call for hueLoadDbCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hueLoadDbCommand

          public ApiCommand hueLoadDbCommand(String clusterName,
                                             String serviceName)
                                      throws ApiException

      Runs Hue's loaddata command. Runs Hue's loaddata command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hueLoadDbCommandWithHttpInfo

          public ApiResponse<ApiCommand> hueLoadDbCommandWithHttpInfo(String clusterName,
                                                                      String serviceName)
                                                               throws ApiException

      Runs Hue's loaddata command. Runs Hue's loaddata command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hueLoadDbCommandAsync

          public com.squareup.okhttp.Call hueLoadDbCommandAsync(String clusterName,
                                                                String serviceName,
                                                                ApiCallback<ApiCommand> callback)
                                                         throws ApiException

      Runs Hue's loaddata command. (asynchronously) Runs Hue's loaddata command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### hueSyncDbCommandCall

          public com.squareup.okhttp.Call hueSyncDbCommandCall(String clusterName,
                                                               String serviceName,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException

      Build call for hueSyncDbCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### hueSyncDbCommand

          public ApiCommand hueSyncDbCommand(String clusterName,
                                             String serviceName)
                                      throws ApiException

      Runs Hue's syncdb command. Runs Hue's syncdb command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hueSyncDbCommandWithHttpInfo

          public ApiResponse<ApiCommand> hueSyncDbCommandWithHttpInfo(String clusterName,
                                                                      String serviceName)
                                                               throws ApiException

      Runs Hue's syncdb command. Runs Hue's syncdb command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### hueSyncDbCommandAsync

          public com.squareup.okhttp.Call hueSyncDbCommandAsync(String clusterName,
                                                                String serviceName,
                                                                ApiCallback<ApiCommand> callback)
                                                         throws ApiException

      Runs Hue's syncdb command. (asynchronously) Runs Hue's syncdb command. Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### impalaCreateCatalogDatabaseCommandCall

          public com.squareup.okhttp.Call impalaCreateCatalogDatabaseCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for impalaCreateCatalogDatabaseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### impalaCreateCatalogDatabaseCommand

          public ApiCommand impalaCreateCatalogDatabaseCommand(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      . <strong>Not needed in CM 5.0.0 Release, since Impala Catalog Database is not yet available in CDH as of this release.</strong> Create the Impala Catalog Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database needs to be created in the embedded postgresql database for the Impala Catalog Server. This command should usually be followed by a call to impalaCreateCatalogDatabaseTables. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### impalaCreateCatalogDatabaseCommandWithHttpInfo

          public ApiResponse<ApiCommand> impalaCreateCatalogDatabaseCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName)
                                                                                 throws ApiException

      . <strong>Not needed in CM 5.0.0 Release, since Impala Catalog Database is not yet available in CDH as of this release.</strong> Create the Impala Catalog Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database needs to be created in the embedded postgresql database for the Impala Catalog Server. This command should usually be followed by a call to impalaCreateCatalogDatabaseTables. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### impalaCreateCatalogDatabaseCommandAsync

          public com.squareup.okhttp.Call impalaCreateCatalogDatabaseCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      . (asynchronously) <strong>Not needed in CM 5.0.0 Release, since Impala Catalog Database is not yet available in CDH as of this release.</strong> Create the Impala Catalog Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database needs to be created in the embedded postgresql database for the Impala Catalog Server. This command should usually be followed by a call to impalaCreateCatalogDatabaseTables. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### impalaCreateCatalogDatabaseTablesCommandCall

          public com.squareup.okhttp.Call impalaCreateCatalogDatabaseTablesCommandCall(String clusterName,
                                                                                       String serviceName,
                                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                                throws ApiException

      Build call for impalaCreateCatalogDatabaseTablesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### impalaCreateCatalogDatabaseTablesCommand

          public ApiCommand impalaCreateCatalogDatabaseTablesCommand(String clusterName,
                                                                     String serviceName)
                                                              throws ApiException

      . <strong>Not needed in CM 5.0.0 Release, since Impala Catalog Database is not yet available in CDH as of this release.</strong> Create the Impala Catalog Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only available when all Impala Catalog Servers are stopped. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### impalaCreateCatalogDatabaseTablesCommandWithHttpInfo

          public ApiResponse<ApiCommand> impalaCreateCatalogDatabaseTablesCommandWithHttpInfo(String clusterName,
                                                                                              String serviceName)
                                                                                       throws ApiException

      . <strong>Not needed in CM 5.0.0 Release, since Impala Catalog Database is not yet available in CDH as of this release.</strong> Create the Impala Catalog Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only available when all Impala Catalog Servers are stopped. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### impalaCreateCatalogDatabaseTablesCommandAsync

          public com.squareup.okhttp.Call impalaCreateCatalogDatabaseTablesCommandAsync(String clusterName,
                                                                                        String serviceName,
                                                                                        ApiCallback<ApiCommand> callback)
                                                                                 throws ApiException

      . (asynchronously) <strong>Not needed in CM 5.0.0 Release, since Impala Catalog Database is not yet available in CDH as of this release.</strong> Create the Impala Catalog Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only available when all Impala Catalog Servers are stopped. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Impala service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### importMrConfigsIntoYarnCall

          public com.squareup.okhttp.Call importMrConfigsIntoYarnCall(String clusterName,
                                                                      String serviceName,
                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                               throws ApiException

      Build call for importMrConfigsIntoYarn
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### importMrConfigsIntoYarn

          public ApiCommand importMrConfigsIntoYarn(String clusterName,
                                                    String serviceName)
                                             throws ApiException

      Import MapReduce configuration into Yarn, overwriting Yarn configuration. Import MapReduce configuration into Yarn, overwriting Yarn configuration. <p> You will lose existing Yarn configuration. Read all MapReduce configuration, role assignments, and role configuration groups and update Yarn with corresponding values. MR1 configuration will be converted into the equivalent MR2 configuration. <p> Before running this command, Yarn must be stopped and MapReduce must exist with valid configuration. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### importMrConfigsIntoYarnWithHttpInfo

          public ApiResponse<ApiCommand> importMrConfigsIntoYarnWithHttpInfo(String clusterName,
                                                                             String serviceName)
                                                                      throws ApiException

      Import MapReduce configuration into Yarn, overwriting Yarn configuration. Import MapReduce configuration into Yarn, overwriting Yarn configuration. <p> You will lose existing Yarn configuration. Read all MapReduce configuration, role assignments, and role configuration groups and update Yarn with corresponding values. MR1 configuration will be converted into the equivalent MR2 configuration. <p> Before running this command, Yarn must be stopped and MapReduce must exist with valid configuration. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### importMrConfigsIntoYarnAsync

          public com.squareup.okhttp.Call importMrConfigsIntoYarnAsync(String clusterName,
                                                                       String serviceName,
                                                                       ApiCallback<ApiCommand> callback)
                                                                throws ApiException

      Import MapReduce configuration into Yarn, overwriting Yarn configuration. (asynchronously) Import MapReduce configuration into Yarn, overwriting Yarn configuration. <p> You will lose existing Yarn configuration. Read all MapReduce configuration, role assignments, and role configuration groups and update Yarn with corresponding values. MR1 configuration will be converted into the equivalent MR2 configuration. <p> Before running this command, Yarn must be stopped and MapReduce must exist with valid configuration. <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### initSolrCommandCall

          public com.squareup.okhttp.Call initSolrCommandCall(String clusterName,
                                                              String serviceName,
                                                              ProgressResponseBody.ProgressListener progressListener,
                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                       throws ApiException

      Build call for initSolrCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### initSolrCommand

          public ApiCommand initSolrCommand(String clusterName,
                                            String serviceName)
                                     throws ApiException

      Initializes the Solr service in Zookeeper. Initializes the Solr service in Zookeeper. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### initSolrCommandWithHttpInfo

          public ApiResponse<ApiCommand> initSolrCommandWithHttpInfo(String clusterName,
                                                                     String serviceName)
                                                              throws ApiException

      Initializes the Solr service in Zookeeper. Initializes the Solr service in Zookeeper. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### initSolrCommandAsync

          public com.squareup.okhttp.Call initSolrCommandAsync(String clusterName,
                                                               String serviceName,
                                                               ApiCallback<ApiCommand> callback)
                                                        throws ApiException

      Initializes the Solr service in Zookeeper. (asynchronously) Initializes the Solr service in Zookeeper. <p> Available since API v4.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### installMrFrameworkJarsCall

          public com.squareup.okhttp.Call installMrFrameworkJarsCall(String clusterName,
                                                                     String serviceName,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException

      Build call for installMrFrameworkJars
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### installMrFrameworkJars

          public ApiCommand installMrFrameworkJars(String clusterName,
                                                   String serviceName)
                                            throws ApiException

      Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it. Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it. <p> This command is run automatically when starting a YARN service for the first time, or when upgrading an existing YARN service. It can also be run manually to ensure that the latest version of the framework JARS is installed. <p> Available since API v30. <p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### installMrFrameworkJarsWithHttpInfo

          public ApiResponse<ApiCommand> installMrFrameworkJarsWithHttpInfo(String clusterName,
                                                                            String serviceName)
                                                                     throws ApiException

      Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it. Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it. <p> This command is run automatically when starting a YARN service for the first time, or when upgrading an existing YARN service. It can also be run manually to ensure that the latest version of the framework JARS is installed. <p> Available since API v30. <p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### installMrFrameworkJarsAsync

          public com.squareup.okhttp.Call installMrFrameworkJarsAsync(String clusterName,
                                                                      String serviceName,
                                                                      ApiCallback<ApiCommand> callback)
                                                               throws ApiException

      Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it. (asynchronously) Creates an HDFS directory to hold the MapReduce2 framework JARs (if necessary), and uploads the framework JARs to it. <p> This command is run automatically when starting a YARN service for the first time, or when upgrading an existing YARN service. It can also be run manually to ensure that the latest version of the framework JARS is installed. <p> Available since API v30. <p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the YARN service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### installOozieShareLibCall

          public com.squareup.okhttp.Call installOozieShareLibCall(String clusterName,
                                                                   String serviceName,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for installOozieShareLib
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### installOozieShareLib

          public ApiCommand installOozieShareLib(String clusterName,
                                                 String serviceName)
                                          throws ApiException

      Creates directory for Oozie user in HDFS and installs the ShareLib in it. Creates directory for Oozie user in HDFS and installs the ShareLib in it. <p/> This command should be re-run after a major version upgrade to refresh the ShareLib to the latest version. <p/> Available since API v3. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### installOozieShareLibWithHttpInfo

          public ApiResponse<ApiCommand> installOozieShareLibWithHttpInfo(String clusterName,
                                                                          String serviceName)
                                                                   throws ApiException

      Creates directory for Oozie user in HDFS and installs the ShareLib in it. Creates directory for Oozie user in HDFS and installs the ShareLib in it. <p/> This command should be re-run after a major version upgrade to refresh the ShareLib to the latest version. <p/> Available since API v3. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### installOozieShareLibAsync

          public com.squareup.okhttp.Call installOozieShareLibAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Creates directory for Oozie user in HDFS and installs the ShareLib in it. (asynchronously) Creates directory for Oozie user in HDFS and installs the ShareLib in it. <p/> This command should be re-run after a major version upgrade to refresh the ShareLib to the latest version. <p/> Available since API v3. <p/>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### ksMigrateToSentryCall

          public com.squareup.okhttp.Call ksMigrateToSentryCall(String clusterName,
                                                                String serviceName,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException

      Build call for ksMigrateToSentry
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the KeyStore Indexer service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### ksMigrateToSentry

          public ApiCommand ksMigrateToSentry(String clusterName,
                                              String serviceName)
                                       throws ApiException

      Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer. Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer. <p> Note: <li> <ul>KeyStore Indexer service should be in Stopped state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the KeyStore Indexer service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### ksMigrateToSentryWithHttpInfo

          public ApiResponse<ApiCommand> ksMigrateToSentryWithHttpInfo(String clusterName,
                                                                       String serviceName)
                                                                throws ApiException

      Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer. Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer. <p> Note: <li> <ul>KeyStore Indexer service should be in Stopped state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the KeyStore Indexer service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### ksMigrateToSentryAsync

          public com.squareup.okhttp.Call ksMigrateToSentryAsync(String clusterName,
                                                                 String serviceName,
                                                                 ApiCallback<ApiCommand> callback)
                                                          throws ApiException

      Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer. (asynchronously) Migrates the HBase Indexer policy-based permissions to Sentry, by invoking the SentryConfigToolIndexer. <p> Note: <li> <ul>KeyStore Indexer service should be in Stopped state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the KeyStore Indexer service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### listActiveCommandsCall

          public com.squareup.okhttp.Call listActiveCommandsCall(String clusterName,
                                                                 String serviceName,
                                                                 String commandName,
                                                                 String view,
                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                          throws ApiException

      Build call for listActiveCommands
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to which the role belongs. (required)
        `commandName` - the command name, unique for the command class HdfsCreateSnapshotCommand#COMMAND_NAME (optional)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### listActiveCommands

          public ApiCommandList listActiveCommands(String clusterName,
                                                   String serviceName,
                                                   String commandName,
                                                   String view)
                                            throws ApiException

      List active service commands. List active service commands.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to which the role belongs. (required)
        `commandName` - the command name, unique for the command class HdfsCreateSnapshotCommand#COMMAND_NAME (optional)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
      Returns:
        ApiCommandList
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### listActiveCommandsWithHttpInfo

          public ApiResponse<ApiCommandList> listActiveCommandsWithHttpInfo(String clusterName,
                                                                            String serviceName,
                                                                            String commandName,
                                                                            String view)
                                                                     throws ApiException

      List active service commands. List active service commands.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to which the role belongs. (required)
        `commandName` - the command name, unique for the command class HdfsCreateSnapshotCommand#COMMAND_NAME (optional)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
      Returns:
        ApiResponse<ApiCommandList>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### listActiveCommandsAsync

          public com.squareup.okhttp.Call listActiveCommandsAsync(String clusterName,
                                                                  String serviceName,
                                                                  String commandName,
                                                                  String view,
                                                                  ApiCallback<ApiCommandList> callback)
                                                           throws ApiException

      List active service commands. (asynchronously) List active service commands.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to which the role belongs. (required)
        `commandName` - the command name, unique for the command class HdfsCreateSnapshotCommand#COMMAND_NAME (optional)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### listRoleTypesCall

          public com.squareup.okhttp.Call listRoleTypesCall(String clusterName,
                                                            String serviceName,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException

      Build call for listRoleTypes
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### listRoleTypes

          public ApiRoleTypeList listRoleTypes(String clusterName,
                                               String serviceName)
                                        throws ApiException

      List the supported role types for a service. List the supported role types for a service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
      Returns:
        ApiRoleTypeList
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### listRoleTypesWithHttpInfo

          public ApiResponse<ApiRoleTypeList> listRoleTypesWithHttpInfo(String clusterName,
                                                                        String serviceName)
                                                                 throws ApiException

      List the supported role types for a service. List the supported role types for a service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
      Returns:
        ApiResponse<ApiRoleTypeList>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### listRoleTypesAsync

          public com.squareup.okhttp.Call listRoleTypesAsync(String clusterName,
                                                             String serviceName,
                                                             ApiCallback<ApiRoleTypeList> callback)
                                                      throws ApiException

      List the supported role types for a service. (asynchronously) List the supported role types for a service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### listServiceCommandsCall

          public com.squareup.okhttp.Call listServiceCommandsCall(String clusterName,
                                                                  String serviceName,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for listServiceCommands
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### listServiceCommands

          public ApiCommandMetadataList listServiceCommands(String clusterName,
                                                            String serviceName)
                                                     throws ApiException

      Lists all the commands (for CSD based services only) that can be executed by name on the provided service. Lists all the commands (for CSD based services only) that can be executed by name on the provided service. <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiCommandMetadataList
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### listServiceCommandsWithHttpInfo

          public ApiResponse<ApiCommandMetadataList> listServiceCommandsWithHttpInfo(String clusterName,
                                                                                     String serviceName)
                                                                              throws ApiException

      Lists all the commands (for CSD based services only) that can be executed by name on the provided service. Lists all the commands (for CSD based services only) that can be executed by name on the provided service. <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiResponse<ApiCommandMetadataList>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### listServiceCommandsAsync

          public com.squareup.okhttp.Call listServiceCommandsAsync(String clusterName,
                                                                   String serviceName,
                                                                   ApiCallback<ApiCommandMetadataList> callback)
                                                            throws ApiException

      Lists all the commands (for CSD based services only) that can be executed by name on the provided service. (asynchronously) Lists all the commands (for CSD based services only) that can be executed by name on the provided service. <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### offlineCommandCall

          public com.squareup.okhttp.Call offlineCommandCall(String clusterName,
                                                             String serviceName,
                                                             BigDecimal timeout,
                                                             ApiRoleNameList body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException

      Build call for offlineCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `timeout` - Offline timeout in seconds. Offlined roles will automatically transition from offline state to normal state after timeout. Specify as null to get the default timeout (4 hours). (optional)
        `body` - List of role names to offline. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### offlineCommand

          public ApiCommand offlineCommand(String clusterName,
                                           String serviceName,
                                           BigDecimal timeout,
                                           ApiRoleNameList body)
                                    throws ApiException

      Offline roles of a service. Offline roles of a service. <p> Currently the offline operation is only supported by HDFS. <p> For HDFS, the offline operation will put DataNodes into <em>HDFS IN MAINTENANCE</em> state which prevents unnecessary re-replication which could occur if decommissioned. <p> The <em>timeout</em> parameter is used to specify a timeout for offline. For HDFS, when the timeout expires, the DataNode will automatically transition out of <em>HDFS IN MAINTENANCE</em> state, back to <em>HDFS IN SERVICE</em> state. <p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `timeout` - Offline timeout in seconds. Offlined roles will automatically transition from offline state to normal state after timeout. Specify as null to get the default timeout (4 hours). (optional)
        `body` - List of role names to offline. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### offlineCommandWithHttpInfo

          public ApiResponse<ApiCommand> offlineCommandWithHttpInfo(String clusterName,
                                                                    String serviceName,
                                                                    BigDecimal timeout,
                                                                    ApiRoleNameList body)
                                                             throws ApiException

      Offline roles of a service. Offline roles of a service. <p> Currently the offline operation is only supported by HDFS. <p> For HDFS, the offline operation will put DataNodes into <em>HDFS IN MAINTENANCE</em> state which prevents unnecessary re-replication which could occur if decommissioned. <p> The <em>timeout</em> parameter is used to specify a timeout for offline. For HDFS, when the timeout expires, the DataNode will automatically transition out of <em>HDFS IN MAINTENANCE</em> state, back to <em>HDFS IN SERVICE</em> state. <p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `timeout` - Offline timeout in seconds. Offlined roles will automatically transition from offline state to normal state after timeout. Specify as null to get the default timeout (4 hours). (optional)
        `body` - List of role names to offline. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### offlineCommandAsync

          public com.squareup.okhttp.Call offlineCommandAsync(String clusterName,
                                                              String serviceName,
                                                              BigDecimal timeout,
                                                              ApiRoleNameList body,
                                                              ApiCallback<ApiCommand> callback)
                                                       throws ApiException

      Offline roles of a service. (asynchronously) Offline roles of a service. <p> Currently the offline operation is only supported by HDFS. <p> For HDFS, the offline operation will put DataNodes into <em>HDFS IN MAINTENANCE</em> state which prevents unnecessary re-replication which could occur if decommissioned. <p> The <em>timeout</em> parameter is used to specify a timeout for offline. For HDFS, when the timeout expires, the DataNode will automatically transition out of <em>HDFS IN MAINTENANCE</em> state, back to <em>HDFS IN SERVICE</em> state. <p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `timeout` - Offline timeout in seconds. Offlined roles will automatically transition from offline state to normal state after timeout. Specify as null to get the default timeout (4 hours). (optional)
        `body` - List of role names to offline. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### oozieCreateEmbeddedDatabaseCommandCall

          public com.squareup.okhttp.Call oozieCreateEmbeddedDatabaseCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for oozieCreateEmbeddedDatabaseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### oozieCreateEmbeddedDatabaseCommand

          public ApiCommand oozieCreateEmbeddedDatabaseCommand(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      Create the Oozie Server Database. Create the Oozie Server Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database need to be created in the embedded postgresql database for an Oozie service. This command should usually be followed by a call to createOozieDb. <p> Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieCreateEmbeddedDatabaseCommandWithHttpInfo

          public ApiResponse<ApiCommand> oozieCreateEmbeddedDatabaseCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName)
                                                                                 throws ApiException

      Create the Oozie Server Database. Create the Oozie Server Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database need to be created in the embedded postgresql database for an Oozie service. This command should usually be followed by a call to createOozieDb. <p> Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieCreateEmbeddedDatabaseCommandAsync

          public com.squareup.okhttp.Call oozieCreateEmbeddedDatabaseCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      Create the Oozie Server Database. (asynchronously) Create the Oozie Server Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database need to be created in the embedded postgresql database for an Oozie service. This command should usually be followed by a call to createOozieDb. <p> Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Oozie service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### oozieDumpDatabaseCommandCall

          public com.squareup.okhttp.Call oozieDumpDatabaseCommandCall(String clusterName,
                                                                       String serviceName,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException

      Build call for oozieDumpDatabaseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### oozieDumpDatabaseCommand

          public ApiCommand oozieDumpDatabaseCommand(String clusterName,
                                                     String serviceName)
                                              throws ApiException

      Dump the Oozie Server Database. Dump the Oozie Server Database.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieDumpDatabaseCommandWithHttpInfo

          public ApiResponse<ApiCommand> oozieDumpDatabaseCommandWithHttpInfo(String clusterName,
                                                                              String serviceName)
                                                                       throws ApiException

      Dump the Oozie Server Database. Dump the Oozie Server Database.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieDumpDatabaseCommandAsync

          public com.squareup.okhttp.Call oozieDumpDatabaseCommandAsync(String clusterName,
                                                                        String serviceName,
                                                                        ApiCallback<ApiCommand> callback)
                                                                 throws ApiException

      Dump the Oozie Server Database. (asynchronously) Dump the Oozie Server Database.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### oozieLoadDatabaseCommandCall

          public com.squareup.okhttp.Call oozieLoadDatabaseCommandCall(String clusterName,
                                                                       String serviceName,
                                                                       ProgressResponseBody.ProgressListener progressListener,
                                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                throws ApiException

      Build call for oozieLoadDatabaseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### oozieLoadDatabaseCommand

          public ApiCommand oozieLoadDatabaseCommand(String clusterName,
                                                     String serviceName)
                                              throws ApiException

      Load the Oozie Server Database from dump. Load the Oozie Server Database from dump.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieLoadDatabaseCommandWithHttpInfo

          public ApiResponse<ApiCommand> oozieLoadDatabaseCommandWithHttpInfo(String clusterName,
                                                                              String serviceName)
                                                                       throws ApiException

      Load the Oozie Server Database from dump. Load the Oozie Server Database from dump.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieLoadDatabaseCommandAsync

          public com.squareup.okhttp.Call oozieLoadDatabaseCommandAsync(String clusterName,
                                                                        String serviceName,
                                                                        ApiCallback<ApiCommand> callback)
                                                                 throws ApiException

      Load the Oozie Server Database from dump. (asynchronously) Load the Oozie Server Database from dump.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### oozieUpgradeDbCommandCall

          public com.squareup.okhttp.Call oozieUpgradeDbCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for oozieUpgradeDbCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### oozieUpgradeDbCommand

          public ApiCommand oozieUpgradeDbCommand(String clusterName,
                                                  String serviceName)
                                           throws ApiException

      Upgrade Oozie Database schema as part of a major version upgrade. Upgrade Oozie Database schema as part of a major version upgrade. <p/> When doing a major version upgrade for Oozie, it is necessary to upgrade the schema of its database before Oozie can run successfully. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieUpgradeDbCommandWithHttpInfo

          public ApiResponse<ApiCommand> oozieUpgradeDbCommandWithHttpInfo(String clusterName,
                                                                           String serviceName)
                                                                    throws ApiException

      Upgrade Oozie Database schema as part of a major version upgrade. Upgrade Oozie Database schema as part of a major version upgrade. <p/> When doing a major version upgrade for Oozie, it is necessary to upgrade the schema of its database before Oozie can run successfully. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### oozieUpgradeDbCommandAsync

          public com.squareup.okhttp.Call oozieUpgradeDbCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Upgrade Oozie Database schema as part of a major version upgrade. (asynchronously) Upgrade Oozie Database schema as part of a major version upgrade. <p/> When doing a major version upgrade for Oozie, it is necessary to upgrade the schema of its database before Oozie can run successfully. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Oozie service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### readServiceCall

          public com.squareup.okhttp.Call readServiceCall(String clusterName,
                                                          String serviceName,
                                                          String view,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException

      Build call for readService
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `view` - DataView to materialize. Defaults to 'full'. (optional, default to full)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### readService

          public ApiService readService(String clusterName,
                                        String serviceName,
                                        String view)
                                 throws ApiException

      Retrieves details information about a service. Retrieves details information about a service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `view` - DataView to materialize. Defaults to 'full'. (optional, default to full)
      Returns:
        ApiService
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readServiceWithHttpInfo

          public ApiResponse<ApiService> readServiceWithHttpInfo(String clusterName,
                                                                 String serviceName,
                                                                 String view)
                                                          throws ApiException

      Retrieves details information about a service. Retrieves details information about a service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `view` - DataView to materialize. Defaults to 'full'. (optional, default to full)
      Returns:
        ApiResponse<ApiService>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readServiceAsync

          public com.squareup.okhttp.Call readServiceAsync(String clusterName,
                                                           String serviceName,
                                                           String view,
                                                           ApiCallback<ApiService> callback)
                                                    throws ApiException

      Retrieves details information about a service. (asynchronously) Retrieves details information about a service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `view` - DataView to materialize. Defaults to 'full'. (optional, default to full)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### readServiceConfigCall

          public com.squareup.okhttp.Call readServiceConfigCall(String clusterName,
                                                                String serviceName,
                                                                String view,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException

      Build call for readServiceConfig
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to query. (required)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### readServiceConfig

          public ApiServiceConfig readServiceConfig(String clusterName,
                                                    String serviceName,
                                                    String view)
                                             throws ApiException

      Retrieves the configuration of a specific service. Retrieves the configuration of a specific service. <p> The \"summary\" view contains only the configured parameters, and configuration for role types that contain configured parameters. <p> The \"full\" view contains all available configuration parameters for the service and its role types. This mode performs validation on the configuration, which could take a few seconds on a large cluster (around 500 nodes or more).
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to query. (required)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
      Returns:
        ApiServiceConfig
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readServiceConfigWithHttpInfo

          public ApiResponse<ApiServiceConfig> readServiceConfigWithHttpInfo(String clusterName,
                                                                             String serviceName,
                                                                             String view)
                                                                      throws ApiException

      Retrieves the configuration of a specific service. Retrieves the configuration of a specific service. <p> The \"summary\" view contains only the configured parameters, and configuration for role types that contain configured parameters. <p> The \"full\" view contains all available configuration parameters for the service and its role types. This mode performs validation on the configuration, which could take a few seconds on a large cluster (around 500 nodes or more).
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to query. (required)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
      Returns:
        ApiResponse<ApiServiceConfig>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readServiceConfigAsync

          public com.squareup.okhttp.Call readServiceConfigAsync(String clusterName,
                                                                 String serviceName,
                                                                 String view,
                                                                 ApiCallback<ApiServiceConfig> callback)
                                                          throws ApiException

      Retrieves the configuration of a specific service. (asynchronously) Retrieves the configuration of a specific service. <p> The \"summary\" view contains only the configured parameters, and configuration for role types that contain configured parameters. <p> The \"full\" view contains all available configuration parameters for the service and its role types. This mode performs validation on the configuration, which could take a few seconds on a large cluster (around 500 nodes or more).
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to query. (required)
        `view` - The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### readServicesCall

          public com.squareup.okhttp.Call readServicesCall(String clusterName,
                                                           String view,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException

      Build call for readServices
      Parameters:
        `clusterName` - (required)
        `view` - (optional, default to summary)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### readServices

          public ApiServiceList readServices(String clusterName,
                                             String view)
                                      throws ApiException

      Lists all services registered in the cluster. Lists all services registered in the cluster.
      Parameters:
        `clusterName` - (required)
        `view` - (optional, default to summary)
      Returns:
        ApiServiceList
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readServicesWithHttpInfo

          public ApiResponse<ApiServiceList> readServicesWithHttpInfo(String clusterName,
                                                                      String view)
                                                               throws ApiException

      Lists all services registered in the cluster. Lists all services registered in the cluster.
      Parameters:
        `clusterName` - (required)
        `view` - (optional, default to summary)
      Returns:
        ApiResponse<ApiServiceList>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readServicesAsync

          public com.squareup.okhttp.Call readServicesAsync(String clusterName,
                                                            String view,
                                                            ApiCallback<ApiServiceList> callback)
                                                     throws ApiException

      Lists all services registered in the cluster. (asynchronously) Lists all services registered in the cluster.
      Parameters:
        `clusterName` - (required)
        `view` - (optional, default to summary)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### readTagsCall

          public com.squareup.okhttp.Call readTagsCall(String clusterName,
                                                       String serviceName,
                                                       BigDecimal limit,
                                                       BigDecimal offset,
                                                       ProgressResponseBody.ProgressListener progressListener,
                                                       ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                throws ApiException

      Build call for readTags
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `limit` - Number of tags (optional, default to 10)
        `offset` - Index of the first tag to retrieve (optional, default to 0)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### readTags

          public List<ApiEntityTag> readTags(String clusterName,
                                             String serviceName,
                                             BigDecimal limit,
                                             BigDecimal offset)
                                      throws ApiException

      Returns the tags associated with this service. Returns the tags associated with this service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `limit` - Number of tags (optional, default to 10)
        `offset` - Index of the first tag to retrieve (optional, default to 0)
      Returns:
        List<ApiEntityTag>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readTagsWithHttpInfo

          public ApiResponse<List<ApiEntityTag>> readTagsWithHttpInfo(String clusterName,
                                                                      String serviceName,
                                                                      BigDecimal limit,
                                                                      BigDecimal offset)
                                                               throws ApiException

      Returns the tags associated with this service. Returns the tags associated with this service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `limit` - Number of tags (optional, default to 10)
        `offset` - Index of the first tag to retrieve (optional, default to 0)
      Returns:
        ApiResponse<List<ApiEntityTag>>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### readTagsAsync

          public com.squareup.okhttp.Call readTagsAsync(String clusterName,
                                                        String serviceName,
                                                        BigDecimal limit,
                                                        BigDecimal offset,
                                                        ApiCallback<List<ApiEntityTag>> callback)
                                                 throws ApiException

      Returns the tags associated with this service. (asynchronously) Returns the tags associated with this service. Tag names beginning with the prefix _cldr_ (case insensitive) are reserved for internal use by Cloudera.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The name of the service (required)
        `limit` - Number of tags (optional, default to 10)
        `offset` - Index of the first tag to retrieve (optional, default to 0)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### recommissionCommandCall

          public com.squareup.okhttp.Call recommissionCommandCall(String clusterName,
                                                                  String serviceName,
                                                                  ApiRoleNameList body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for recommissionCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### recommissionCommand

          public ApiCommand recommissionCommand(String clusterName,
                                                String serviceName,
                                                ApiRoleNameList body)
                                         throws ApiException

      Recommission roles of a service. Recommission roles of a service. <p> The list should contain names of slave roles to recommission. </p> <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### recommissionCommandWithHttpInfo

          public ApiResponse<ApiCommand> recommissionCommandWithHttpInfo(String clusterName,
                                                                         String serviceName,
                                                                         ApiRoleNameList body)
                                                                  throws ApiException

      Recommission roles of a service. Recommission roles of a service. <p> The list should contain names of slave roles to recommission. </p> <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### recommissionCommandAsync

          public com.squareup.okhttp.Call recommissionCommandAsync(String clusterName,
                                                                   String serviceName,
                                                                   ApiRoleNameList body,
                                                                   ApiCallback<ApiCommand> callback)
                                                            throws ApiException

      Recommission roles of a service. (asynchronously) Recommission roles of a service. <p> The list should contain names of slave roles to recommission. </p> <p> Available since API v2. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### recommissionWithStartCommandCall

          public com.squareup.okhttp.Call recommissionWithStartCommandCall(String clusterName,
                                                                           String serviceName,
                                                                           ApiRoleNameList body,
                                                                           ProgressResponseBody.ProgressListener progressListener,
                                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                    throws ApiException

      Build call for recommissionWithStartCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### recommissionWithStartCommand

          public ApiCommand recommissionWithStartCommand(String clusterName,
                                                         String serviceName,
                                                         ApiRoleNameList body)
                                                  throws ApiException

      Start and recommission roles of a service. Start and recommission roles of a service. <p> The list should contain names of slave roles to start and recommission. </p> <p> Warning: Evolving. This method may change in the future and does not offer standard compatibility guarantees. Only support by HDFS. Do not use without guidance from Cloudera. </p> <p> Available since API v15. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### recommissionWithStartCommandWithHttpInfo

          public ApiResponse<ApiCommand> recommissionWithStartCommandWithHttpInfo(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiRoleNameList body)
                                                                           throws ApiException

      Start and recommission roles of a service. Start and recommission roles of a service. <p> The list should contain names of slave roles to start and recommission. </p> <p> Warning: Evolving. This method may change in the future and does not offer standard compatibility guarantees. Only support by HDFS. Do not use without guidance from Cloudera. </p> <p> Available since API v15. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### recommissionWithStartCommandAsync

          public com.squareup.okhttp.Call recommissionWithStartCommandAsync(String clusterName,
                                                                            String serviceName,
                                                                            ApiRoleNameList body,
                                                                            ApiCallback<ApiCommand> callback)
                                                                     throws ApiException

      Start and recommission roles of a service. (asynchronously) Start and recommission roles of a service. <p> The list should contain names of slave roles to start and recommission. </p> <p> Warning: Evolving. This method may change in the future and does not offer standard compatibility guarantees. Only support by HDFS. Do not use without guidance from Cloudera. </p> <p> Available since API v15. </p>
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the service on which to run the command. (required)
        `body` - List of role names to recommision. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### restartCommandCall

          public com.squareup.okhttp.Call restartCommandCall(String clusterName,
                                                             String serviceName,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException

      Build call for restartCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### restartCommand

          public ApiCommand restartCommand(String clusterName,
                                           String serviceName)
                                    throws ApiException

      Restart the service. Restart the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### restartCommandWithHttpInfo

          public ApiResponse<ApiCommand> restartCommandWithHttpInfo(String clusterName,
                                                                    String serviceName)
                                                             throws ApiException

      Restart the service. Restart the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### restartCommandAsync

          public com.squareup.okhttp.Call restartCommandAsync(String clusterName,
                                                              String serviceName,
                                                              ApiCallback<ApiCommand> callback)
                                                       throws ApiException

      Restart the service. (asynchronously) Restart the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### rollingRestartCall

          public com.squareup.okhttp.Call rollingRestartCall(String clusterName,
                                                             String serviceName,
                                                             ApiRollingRestartArgs body,
                                                             ProgressResponseBody.ProgressListener progressListener,
                                                             ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                      throws ApiException

      Build call for rollingRestart
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### rollingRestart

          public ApiCommand rollingRestart(String clusterName,
                                           String serviceName,
                                           ApiRollingRestartArgs body)
                                    throws ApiException

      Command to run rolling restart of roles in a service. Command to run rolling restart of roles in a service. The sequence is: <ol> <li>Restart all the non-slave roles <li>If slaves are present restart them in batches of size specified in RollingRestartCmdArgs <li>Perform any post-command needed after rolling restart </ol> <p> Available since API v3. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### rollingRestartWithHttpInfo

          public ApiResponse<ApiCommand> rollingRestartWithHttpInfo(String clusterName,
                                                                    String serviceName,
                                                                    ApiRollingRestartArgs body)
                                                             throws ApiException

      Command to run rolling restart of roles in a service. Command to run rolling restart of roles in a service. The sequence is: <ol> <li>Restart all the non-slave roles <li>If slaves are present restart them in batches of size specified in RollingRestartCmdArgs <li>Perform any post-command needed after rolling restart </ol> <p> Available since API v3. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### rollingRestartAsync

          public com.squareup.okhttp.Call rollingRestartAsync(String clusterName,
                                                              String serviceName,
                                                              ApiRollingRestartArgs body,
                                                              ApiCallback<ApiCommand> callback)
                                                       throws ApiException

      Command to run rolling restart of roles in a service. (asynchronously) Command to run rolling restart of roles in a service. The sequence is: <ol> <li>Restart all the non-slave roles <li>If slaves are present restart them in batches of size specified in RollingRestartCmdArgs <li>Perform any post-command needed after rolling restart </ol> <p> Available since API v3. Only available with Cloudera Manager Enterprise Edition.
      Parameters:
        `clusterName` - (required)
        `serviceName` - (required)
        `body` - (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### sentryCreateDatabaseCommandCall

          public com.squareup.okhttp.Call sentryCreateDatabaseCommandCall(String clusterName,
                                                                          String serviceName,
                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                   throws ApiException

      Build call for sentryCreateDatabaseCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### sentryCreateDatabaseCommand

          public ApiCommand sentryCreateDatabaseCommand(String clusterName,
                                                        String serviceName)
                                                 throws ApiException

      Create the Sentry Server Database. Create the Sentry Server Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database need to be created in the embedded postgresql database for a Sentry service. This command should usually be followed by a call to sentryCreateDatabaseTables. <p> Available since API v7.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sentryCreateDatabaseCommandWithHttpInfo

          public ApiResponse<ApiCommand> sentryCreateDatabaseCommandWithHttpInfo(String clusterName,
                                                                                 String serviceName)
                                                                          throws ApiException

      Create the Sentry Server Database. Create the Sentry Server Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database need to be created in the embedded postgresql database for a Sentry service. This command should usually be followed by a call to sentryCreateDatabaseTables. <p> Available since API v7.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sentryCreateDatabaseCommandAsync

          public com.squareup.okhttp.Call sentryCreateDatabaseCommandAsync(String clusterName,
                                                                           String serviceName,
                                                                           ApiCallback<ApiCommand> callback)
                                                                    throws ApiException

      Create the Sentry Server Database. (asynchronously) Create the Sentry Server Database. Only works with embedded postgresql database. <p> This command is to be run whenever a new user and database need to be created in the embedded postgresql database for a Sentry service. This command should usually be followed by a call to sentryCreateDatabaseTables. <p> Available since API v7.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### sentryCreateDatabaseTablesCommandCall

          public com.squareup.okhttp.Call sentryCreateDatabaseTablesCommandCall(String clusterName,
                                                                                String serviceName,
                                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                         throws ApiException

      Build call for sentryCreateDatabaseTablesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### sentryCreateDatabaseTablesCommand

          public ApiCommand sentryCreateDatabaseTablesCommand(String clusterName,
                                                              String serviceName)
                                                       throws ApiException

      Create the Sentry Server Database tables. Create the Sentry Server Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when Sentry Server is stopped. <p> Available since API v7.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sentryCreateDatabaseTablesCommandWithHttpInfo

          public ApiResponse<ApiCommand> sentryCreateDatabaseTablesCommandWithHttpInfo(String clusterName,
                                                                                       String serviceName)
                                                                                throws ApiException

      Create the Sentry Server Database tables. Create the Sentry Server Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when Sentry Server is stopped. <p> Available since API v7.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sentryCreateDatabaseTablesCommandAsync

          public com.squareup.okhttp.Call sentryCreateDatabaseTablesCommandAsync(String clusterName,
                                                                                 String serviceName,
                                                                                 ApiCallback<ApiCommand> callback)
                                                                          throws ApiException

      Create the Sentry Server Database tables. (asynchronously) Create the Sentry Server Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only Available when Sentry Server is stopped. <p> Available since API v7.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### sentryUpgradeDatabaseTablesCommandCall

          public com.squareup.okhttp.Call sentryUpgradeDatabaseTablesCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for sentryUpgradeDatabaseTablesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### sentryUpgradeDatabaseTablesCommand

          public ApiCommand sentryUpgradeDatabaseTablesCommand(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      Upgrade the Sentry Server Database tables. Upgrade the Sentry Server Database tables. <p> This command is to be run whenever Sentry requires an upgrade to its database tables. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sentryUpgradeDatabaseTablesCommandWithHttpInfo

          public ApiResponse<ApiCommand> sentryUpgradeDatabaseTablesCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName)
                                                                                 throws ApiException

      Upgrade the Sentry Server Database tables. Upgrade the Sentry Server Database tables. <p> This command is to be run whenever Sentry requires an upgrade to its database tables. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sentryUpgradeDatabaseTablesCommandAsync

          public com.squareup.okhttp.Call sentryUpgradeDatabaseTablesCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      Upgrade the Sentry Server Database tables. (asynchronously) Upgrade the Sentry Server Database tables. <p> This command is to be run whenever Sentry requires an upgrade to its database tables. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### serviceCommandByNameCall

          public com.squareup.okhttp.Call serviceCommandByNameCall(String clusterName,
                                                                   String commandName,
                                                                   String serviceName,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for serviceCommandByName
      Parameters:
        `clusterName` - (required)
        `commandName` - The command name. (required)
        `serviceName` - The service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### serviceCommandByName

          public ApiCommand serviceCommandByName(String clusterName,
                                                 String commandName,
                                                 String serviceName)
                                          throws ApiException

      Executes a command on the service specified by name. Executes a command on the service specified by name. <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `commandName` - The command name. (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### serviceCommandByNameWithHttpInfo

          public ApiResponse<ApiCommand> serviceCommandByNameWithHttpInfo(String clusterName,
                                                                          String commandName,
                                                                          String serviceName)
                                                                   throws ApiException

      Executes a command on the service specified by name. Executes a command on the service specified by name. <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `commandName` - The command name. (required)
        `serviceName` - The service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### serviceCommandByNameAsync

          public com.squareup.okhttp.Call serviceCommandByNameAsync(String clusterName,
                                                                    String commandName,
                                                                    String serviceName,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Executes a command on the service specified by name. (asynchronously) Executes a command on the service specified by name. <p> Available since API v6. </p>
      Parameters:
        `clusterName` - (required)
        `commandName` - The command name. (required)
        `serviceName` - The service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### solrBootstrapCollectionsCommandCall

          public com.squareup.okhttp.Call solrBootstrapCollectionsCommandCall(String clusterName,
                                                                              String serviceName,
                                                                              ProgressResponseBody.ProgressListener progressListener,
                                                                              ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                       throws ApiException

      Build call for solrBootstrapCollectionsCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### solrBootstrapCollectionsCommand

          public ApiCommand solrBootstrapCollectionsCommand(String clusterName,
                                                            String serviceName)
                                                     throws ApiException

      Bootstraps Solr Collections after the CDH upgrade. Bootstraps Solr Collections after the CDH upgrade. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrBootstrapCollectionsCommandWithHttpInfo

          public ApiResponse<ApiCommand> solrBootstrapCollectionsCommandWithHttpInfo(String clusterName,
                                                                                     String serviceName)
                                                                              throws ApiException

      Bootstraps Solr Collections after the CDH upgrade. Bootstraps Solr Collections after the CDH upgrade. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrBootstrapCollectionsCommandAsync

          public com.squareup.okhttp.Call solrBootstrapCollectionsCommandAsync(String clusterName,
                                                                               String serviceName,
                                                                               ApiCallback<ApiCommand> callback)
                                                                        throws ApiException

      Bootstraps Solr Collections after the CDH upgrade. (asynchronously) Bootstraps Solr Collections after the CDH upgrade. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### solrBootstrapConfigCommandCall

          public com.squareup.okhttp.Call solrBootstrapConfigCommandCall(String clusterName,
                                                                         String serviceName,
                                                                         ProgressResponseBody.ProgressListener progressListener,
                                                                         ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                  throws ApiException

      Build call for solrBootstrapConfigCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### solrBootstrapConfigCommand

          public ApiCommand solrBootstrapConfigCommand(String clusterName,
                                                       String serviceName)
                                                throws ApiException

      Bootstraps Solr config during the CDH upgrade. Bootstraps Solr config during the CDH upgrade. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrBootstrapConfigCommandWithHttpInfo

          public ApiResponse<ApiCommand> solrBootstrapConfigCommandWithHttpInfo(String clusterName,
                                                                                String serviceName)
                                                                         throws ApiException

      Bootstraps Solr config during the CDH upgrade. Bootstraps Solr config during the CDH upgrade. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrBootstrapConfigCommandAsync

          public com.squareup.okhttp.Call solrBootstrapConfigCommandAsync(String clusterName,
                                                                          String serviceName,
                                                                          ApiCallback<ApiCommand> callback)
                                                                   throws ApiException

      Bootstraps Solr config during the CDH upgrade. (asynchronously) Bootstraps Solr config during the CDH upgrade. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### solrConfigBackupCommandCall

          public com.squareup.okhttp.Call solrConfigBackupCommandCall(String clusterName,
                                                                      String serviceName,
                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                               throws ApiException

      Build call for solrConfigBackupCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### solrConfigBackupCommand

          public ApiCommand solrConfigBackupCommand(String clusterName,
                                                    String serviceName)
                                             throws ApiException

      Backs up Solr configuration metadata before CDH upgrade. Backs up Solr configuration metadata before CDH upgrade. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS and Zookeeper services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> </p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrConfigBackupCommandWithHttpInfo

          public ApiResponse<ApiCommand> solrConfigBackupCommandWithHttpInfo(String clusterName,
                                                                             String serviceName)
                                                                      throws ApiException

      Backs up Solr configuration metadata before CDH upgrade. Backs up Solr configuration metadata before CDH upgrade. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS and Zookeeper services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> </p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrConfigBackupCommandAsync

          public com.squareup.okhttp.Call solrConfigBackupCommandAsync(String clusterName,
                                                                       String serviceName,
                                                                       ApiCallback<ApiCommand> callback)
                                                                throws ApiException

      Backs up Solr configuration metadata before CDH upgrade. (asynchronously) Backs up Solr configuration metadata before CDH upgrade. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS and Zookeeper services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> </p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### solrMigrateSentryPrivilegesCommandCall

          public com.squareup.okhttp.Call solrMigrateSentryPrivilegesCommandCall(String clusterName,
                                                                                 String serviceName,
                                                                                 ProgressResponseBody.ProgressListener progressListener,
                                                                                 ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                          throws ApiException

      Build call for solrMigrateSentryPrivilegesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### solrMigrateSentryPrivilegesCommand

          public ApiCommand solrMigrateSentryPrivilegesCommand(String clusterName,
                                                               String serviceName)
                                                        throws ApiException

      Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service. Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS, Zookeeper, and Sentry services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrMigrateSentryPrivilegesCommandWithHttpInfo

          public ApiResponse<ApiCommand> solrMigrateSentryPrivilegesCommandWithHttpInfo(String clusterName,
                                                                                        String serviceName)
                                                                                 throws ApiException

      Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service. Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS, Zookeeper, and Sentry services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrMigrateSentryPrivilegesCommandAsync

          public com.squareup.okhttp.Call solrMigrateSentryPrivilegesCommandAsync(String clusterName,
                                                                                  String serviceName,
                                                                                  ApiCallback<ApiCommand> callback)
                                                                           throws ApiException

      Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service. (asynchronously) Migrates Sentry privileges to new model compatible to support more granular permissions if Solr is configured with a Sentry service. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS, Zookeeper, and Sentry services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### solrReinitializeStateForUpgradeCommandCall

          public com.squareup.okhttp.Call solrReinitializeStateForUpgradeCommandCall(String clusterName,
                                                                                     String serviceName,
                                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                              throws ApiException

      Build call for solrReinitializeStateForUpgradeCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### solrReinitializeStateForUpgradeCommand

          public ApiCommand solrReinitializeStateForUpgradeCommand(String clusterName,
                                                                   String serviceName)
                                                            throws ApiException

      Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state. Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS and Zookeeper services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrReinitializeStateForUpgradeCommandWithHttpInfo

          public ApiResponse<ApiCommand> solrReinitializeStateForUpgradeCommandWithHttpInfo(String clusterName,
                                                                                            String serviceName)
                                                                                     throws ApiException

      Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state. Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS and Zookeeper services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrReinitializeStateForUpgradeCommandAsync

          public com.squareup.okhttp.Call solrReinitializeStateForUpgradeCommandAsync(String clusterName,
                                                                                      String serviceName,
                                                                                      ApiCallback<ApiCommand> callback)
                                                                               throws ApiException

      Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state. (asynchronously) Reinitializes the Solr state by clearing the Solr HDFS data directory, the Solr data directory, and the Zookeeper state. <p> Note: <li> <ul>Solr service should be in Stopped state.</ul> <ul>HDFS and Zookeeper services should in Running state.</ul> <ul>This is only needed for upgrading to CDH6.0.</ul> <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### solrValidateMetadataCommandCall

          public com.squareup.okhttp.Call solrValidateMetadataCommandCall(String clusterName,
                                                                          String serviceName,
                                                                          ProgressResponseBody.ProgressListener progressListener,
                                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                   throws ApiException

      Build call for solrValidateMetadataCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### solrValidateMetadataCommand

          public ApiCommand solrValidateMetadataCommand(String clusterName,
                                                        String serviceName)
                                                 throws ApiException

      Validates Solr metadata and configurations. Validates Solr metadata and configurations. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrValidateMetadataCommandWithHttpInfo

          public ApiResponse<ApiCommand> solrValidateMetadataCommandWithHttpInfo(String clusterName,
                                                                                 String serviceName)
                                                                          throws ApiException

      Validates Solr metadata and configurations. Validates Solr metadata and configurations. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### solrValidateMetadataCommandAsync

          public com.squareup.okhttp.Call solrValidateMetadataCommandAsync(String clusterName,
                                                                           String serviceName,
                                                                           ApiCallback<ApiCommand> callback)
                                                                    throws ApiException

      Validates Solr metadata and configurations. (asynchronously) Validates Solr metadata and configurations. <p> Note: This is only needed for upgrading to CDH6.0. <p> Available since API v30.
      Parameters:
        `clusterName` - (required)
        `serviceName` - A String representing the Solr service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### sqoopCreateDatabaseTablesCommandCall

          public com.squareup.okhttp.Call sqoopCreateDatabaseTablesCommandCall(String clusterName,
                                                                               String serviceName,
                                                                               ProgressResponseBody.ProgressListener progressListener,
                                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                                        throws ApiException

      Build call for sqoopCreateDatabaseTablesCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### sqoopCreateDatabaseTablesCommand

          public ApiCommand sqoopCreateDatabaseTablesCommand(String clusterName,
                                                             String serviceName)
                                                      throws ApiException

      Create the Sqoop2 Server Database tables. Create the Sqoop2 Server Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only available when Sqoop2 Server is stopped. <p> Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sqoopCreateDatabaseTablesCommandWithHttpInfo

          public ApiResponse<ApiCommand> sqoopCreateDatabaseTablesCommandWithHttpInfo(String clusterName,
                                                                                      String serviceName)
                                                                               throws ApiException

      Create the Sqoop2 Server Database tables. Create the Sqoop2 Server Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only available when Sqoop2 Server is stopped. <p> Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sqoopCreateDatabaseTablesCommandAsync

          public com.squareup.okhttp.Call sqoopCreateDatabaseTablesCommandAsync(String clusterName,
                                                                                String serviceName,
                                                                                ApiCallback<ApiCommand> callback)
                                                                         throws ApiException

      Create the Sqoop2 Server Database tables. (asynchronously) Create the Sqoop2 Server Database tables. <p> This command is to be run whenever a new database has been specified. Will do nothing if tables already exist. Will not perform an upgrade. Only available when Sqoop2 Server is stopped. <p> Available since API v10.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Sentry service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### sqoopUpgradeDbCommandCall

          public com.squareup.okhttp.Call sqoopUpgradeDbCommandCall(String clusterName,
                                                                    String serviceName,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException

      Build call for sqoopUpgradeDbCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### sqoopUpgradeDbCommand

          public ApiCommand sqoopUpgradeDbCommand(String clusterName,
                                                  String serviceName)
                                           throws ApiException

      Upgrade Sqoop Database schema as part of a major version upgrade. Upgrade Sqoop Database schema as part of a major version upgrade. <p/> When doing a major version upgrade for Sqoop, it is necessary to upgrade the schema of its database before Sqoop can run successfully. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sqoopUpgradeDbCommandWithHttpInfo

          public ApiResponse<ApiCommand> sqoopUpgradeDbCommandWithHttpInfo(String clusterName,
                                                                           String serviceName)
                                                                    throws ApiException

      Upgrade Sqoop Database schema as part of a major version upgrade. Upgrade Sqoop Database schema as part of a major version upgrade. <p/> When doing a major version upgrade for Sqoop, it is necessary to upgrade the schema of its database before Sqoop can run successfully. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### sqoopUpgradeDbCommandAsync

          public com.squareup.okhttp.Call sqoopUpgradeDbCommandAsync(String clusterName,
                                                                     String serviceName,
                                                                     ApiCallback<ApiCommand> callback)
                                                              throws ApiException

      Upgrade Sqoop Database schema as part of a major version upgrade. (asynchronously) Upgrade Sqoop Database schema as part of a major version upgrade. <p/> When doing a major version upgrade for Sqoop, it is necessary to upgrade the schema of its database before Sqoop can run successfully. <p/> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The Sqoop service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### startCommandCall

          public com.squareup.okhttp.Call startCommandCall(String clusterName,
                                                           String serviceName,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException

      Build call for startCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### startCommand

          public ApiCommand startCommand(String clusterName,
                                         String serviceName)
                                  throws ApiException

      Start the service. Start the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### startCommandWithHttpInfo

          public ApiResponse<ApiCommand> startCommandWithHttpInfo(String clusterName,
                                                                  String serviceName)
                                                           throws ApiException

      Start the service. Start the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### startCommandAsync

          public com.squareup.okhttp.Call startCommandAsync(String clusterName,
                                                            String serviceName,
                                                            ApiCallback<ApiCommand> callback)
                                                     throws ApiException

      Start the service. (asynchronously) Start the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### stopCommandCall

          public com.squareup.okhttp.Call stopCommandCall(String clusterName,
                                                          String serviceName,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException

      Build call for stopCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to stop. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### stopCommand

          public ApiCommand stopCommand(String clusterName,
                                        String serviceName)
                                 throws ApiException

      Stop the service. Stop the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to stop. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### stopCommandWithHttpInfo

          public ApiResponse<ApiCommand> stopCommandWithHttpInfo(String clusterName,
                                                                 String serviceName)
                                                          throws ApiException

      Stop the service. Stop the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to stop. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### stopCommandAsync

          public com.squareup.okhttp.Call stopCommandAsync(String clusterName,
                                                           String serviceName,
                                                           ApiCallback<ApiCommand> callback)
                                                    throws ApiException

      Stop the service. (asynchronously) Stop the service.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to stop. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### switchToMr2Call

          public com.squareup.okhttp.Call switchToMr2Call(String clusterName,
                                                          String serviceName,
                                                          ProgressResponseBody.ProgressListener progressListener,
                                                          ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                   throws ApiException

      Build call for switchToMr2
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### switchToMr2

          public ApiCommand switchToMr2(String clusterName,
                                        String serviceName)
                                 throws ApiException

      Change the cluster to use MR2 instead of MR1. Change the cluster to use MR2 instead of MR1. Services will be restarted. <p> Will perform the following steps: <ul> <li>Update all services that depend on MapReduce to instead depend on Yarn. </li> <li>Stop MapReduce</li> <li>Start Yarn (MR2 Included)</li> <li>Deploy Yarn (MR2) Client Configuration</li> </ul> <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### switchToMr2WithHttpInfo

          public ApiResponse<ApiCommand> switchToMr2WithHttpInfo(String clusterName,
                                                                 String serviceName)
                                                          throws ApiException

      Change the cluster to use MR2 instead of MR1. Change the cluster to use MR2 instead of MR1. Services will be restarted. <p> Will perform the following steps: <ul> <li>Update all services that depend on MapReduce to instead depend on Yarn. </li> <li>Stop MapReduce</li> <li>Start Yarn (MR2 Included)</li> <li>Deploy Yarn (MR2) Client Configuration</li> </ul> <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### switchToMr2Async

          public com.squareup.okhttp.Call switchToMr2Async(String clusterName,
                                                           String serviceName,
                                                           ApiCallback<ApiCommand> callback)
                                                    throws ApiException

      Change the cluster to use MR2 instead of MR1. (asynchronously) Change the cluster to use MR2 instead of MR1. Services will be restarted. <p> Will perform the following steps: <ul> <li>Update all services that depend on MapReduce to instead depend on Yarn. </li> <li>Stop MapReduce</li> <li>Start Yarn (MR2 Included)</li> <li>Deploy Yarn (MR2) Client Configuration</li> </ul> <p> Available since API v6.
      Parameters:
        `clusterName` - (required)
        `serviceName` - Name of the Yarn service on which to run the command. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### updateServiceCall

          public com.squareup.okhttp.Call updateServiceCall(String clusterName,
                                                            String serviceName,
                                                            ApiService body,
                                                            ProgressResponseBody.ProgressListener progressListener,
                                                            ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                     throws ApiException

      Build call for updateService
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - Updated service information. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### updateService

          public ApiService updateService(String clusterName,
                                          String serviceName,
                                          ApiService body)
                                   throws ApiException

      Updates service information. Updates service information. <p/> This method will update only writable fields of the service information. Currently this only includes the service display name. <p/> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - Updated service information. (optional)
      Returns:
        ApiService
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### updateServiceWithHttpInfo

          public ApiResponse<ApiService> updateServiceWithHttpInfo(String clusterName,
                                                                   String serviceName,
                                                                   ApiService body)
                                                            throws ApiException

      Updates service information. Updates service information. <p/> This method will update only writable fields of the service information. Currently this only includes the service display name. <p/> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - Updated service information. (optional)
      Returns:
        ApiResponse<ApiService>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### updateServiceAsync

          public com.squareup.okhttp.Call updateServiceAsync(String clusterName,
                                                             String serviceName,
                                                             ApiService body,
                                                             ApiCallback<ApiService> callback)
                                                      throws ApiException

      Updates service information. (asynchronously) Updates service information. <p/> This method will update only writable fields of the service information. Currently this only includes the service display name. <p/> Available since API v3.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service name. (required)
        `body` - Updated service information. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### updateServiceConfigCall

          public com.squareup.okhttp.Call updateServiceConfigCall(String clusterName,
                                                                  String serviceName,
                                                                  String message,
                                                                  ApiServiceConfig body,
                                                                  ProgressResponseBody.ProgressListener progressListener,
                                                                  ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                           throws ApiException

      Build call for updateServiceConfig
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
        `message` - Optional message describing the changes. (optional)
        `body` - Configuration changes. (optional)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### updateServiceConfig

          public ApiServiceConfig updateServiceConfig(String clusterName,
                                                      String serviceName,
                                                      String message,
                                                      ApiServiceConfig body)
                                               throws ApiException

      Updates the service configuration with the given values. Updates the service configuration with the given values. <p> If a value is set in the given configuration, it will be added to the service's configuration, replacing any existing entries. If a value is unset (its value is null), the existing configuration for the attribute will be erased, if any. <p> Attributes that are not listed in the input will maintain their current values in the configuration.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
        `message` - Optional message describing the changes. (optional)
        `body` - Configuration changes. (optional)
      Returns:
        ApiServiceConfig
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### updateServiceConfigWithHttpInfo

          public ApiResponse<ApiServiceConfig> updateServiceConfigWithHttpInfo(String clusterName,
                                                                               String serviceName,
                                                                               String message,
                                                                               ApiServiceConfig body)
                                                                        throws ApiException

      Updates the service configuration with the given values. Updates the service configuration with the given values. <p> If a value is set in the given configuration, it will be added to the service's configuration, replacing any existing entries. If a value is unset (its value is null), the existing configuration for the attribute will be erased, if any. <p> Attributes that are not listed in the input will maintain their current values in the configuration.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
        `message` - Optional message describing the changes. (optional)
        `body` - Configuration changes. (optional)
      Returns:
        ApiResponse<ApiServiceConfig>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### updateServiceConfigAsync

          public com.squareup.okhttp.Call updateServiceConfigAsync(String clusterName,
                                                                   String serviceName,
                                                                   String message,
                                                                   ApiServiceConfig body,
                                                                   ApiCallback<ApiServiceConfig> callback)
                                                            throws ApiException

      Updates the service configuration with the given values. (asynchronously) Updates the service configuration with the given values. <p> If a value is set in the given configuration, it will be added to the service's configuration, replacing any existing entries. If a value is unset (its value is null), the existing configuration for the attribute will be erased, if any. <p> Attributes that are not listed in the input will maintain their current values in the configuration.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to modify. (required)
        `message` - Optional message describing the changes. (optional)
        `body` - Configuration changes. (optional)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### yarnFormatStateStoreCall

          public com.squareup.okhttp.Call yarnFormatStateStoreCall(String clusterName,
                                                                   String serviceName,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for yarnFormatStateStore
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### yarnFormatStateStore

          public ApiCommand yarnFormatStateStore(String clusterName,
                                                 String serviceName)
                                          throws ApiException

      Formats the state store in ZooKeeper used for Resource Manager High Availability. Formats the state store in ZooKeeper used for Resource Manager High Availability. Typically used while moving from non-secure to secure cluster or vice-versa. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### yarnFormatStateStoreWithHttpInfo

          public ApiResponse<ApiCommand> yarnFormatStateStoreWithHttpInfo(String clusterName,
                                                                          String serviceName)
                                                                   throws ApiException

      Formats the state store in ZooKeeper used for Resource Manager High Availability. Formats the state store in ZooKeeper used for Resource Manager High Availability. Typically used while moving from non-secure to secure cluster or vice-versa. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### yarnFormatStateStoreAsync

          public com.squareup.okhttp.Call yarnFormatStateStoreAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Formats the state store in ZooKeeper used for Resource Manager High Availability. (asynchronously) Formats the state store in ZooKeeper used for Resource Manager High Availability. Typically used while moving from non-secure to secure cluster or vice-versa. <p> Available since API v8.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The YARN service name. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### zooKeeperCleanupCommandCall

          public com.squareup.okhttp.Call zooKeeperCleanupCommandCall(String clusterName,
                                                                      String serviceName,
                                                                      ProgressResponseBody.ProgressListener progressListener,
                                                                      ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                               throws ApiException

      Build call for zooKeeperCleanupCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### zooKeeperCleanupCommand

          public ApiCommand zooKeeperCleanupCommand(String clusterName,
                                                    String serviceName)
                                             throws ApiException

      Clean up all running server instances of a ZooKeeper service. Clean up all running server instances of a ZooKeeper service. <p> This command removes snapshots and transaction log files kept by ZooKeeper for backup purposes. Refer to the ZooKeeper documentation for more details.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### zooKeeperCleanupCommandWithHttpInfo

          public ApiResponse<ApiCommand> zooKeeperCleanupCommandWithHttpInfo(String clusterName,
                                                                             String serviceName)
                                                                      throws ApiException

      Clean up all running server instances of a ZooKeeper service. Clean up all running server instances of a ZooKeeper service. <p> This command removes snapshots and transaction log files kept by ZooKeeper for backup purposes. Refer to the ZooKeeper documentation for more details.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### zooKeeperCleanupCommandAsync

          public com.squareup.okhttp.Call zooKeeperCleanupCommandAsync(String clusterName,
                                                                       String serviceName,
                                                                       ApiCallback<ApiCommand> callback)
                                                                throws ApiException

      Clean up all running server instances of a ZooKeeper service. (asynchronously) Clean up all running server instances of a ZooKeeper service. <p> This command removes snapshots and transaction log files kept by ZooKeeper for backup purposes. Refer to the ZooKeeper documentation for more details.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

    - #### zooKeeperInitCommandCall

          public com.squareup.okhttp.Call zooKeeperInitCommandCall(String clusterName,
                                                                   String serviceName,
                                                                   ProgressResponseBody.ProgressListener progressListener,
                                                                   ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                            throws ApiException

      Build call for zooKeeperInitCommand
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `progressListener` - Progress listener
        `progressRequestListener` - Progress request listener
      Returns:
        Call to execute
      Throws:
        `ApiException` - If fail to serialize the request body object

    - #### zooKeeperInitCommand

          public ApiCommand zooKeeperInitCommand(String clusterName,
                                                 String serviceName)
                                          throws ApiException

      Initializes all the server instances of a ZooKeeper service. Initializes all the server instances of a ZooKeeper service. <p> ZooKeeper server roles need to be initialized before they can be used.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiCommand
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### zooKeeperInitCommandWithHttpInfo

          public ApiResponse<ApiCommand> zooKeeperInitCommandWithHttpInfo(String clusterName,
                                                                          String serviceName)
                                                                   throws ApiException

      Initializes all the server instances of a ZooKeeper service. Initializes all the server instances of a ZooKeeper service. <p> ZooKeeper server roles need to be initialized before they can be used.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
      Returns:
        ApiResponse<ApiCommand>
      Throws:
        `ApiException` - If fail to call the API, e.g. server error or cannot deserialize the response body

    - #### zooKeeperInitCommandAsync

          public com.squareup.okhttp.Call zooKeeperInitCommandAsync(String clusterName,
                                                                    String serviceName,
                                                                    ApiCallback<ApiCommand> callback)
                                                             throws ApiException

      Initializes all the server instances of a ZooKeeper service. (asynchronously) Initializes all the server instances of a ZooKeeper service. <p> ZooKeeper server roles need to be initialized before they can be used.
      Parameters:
        `clusterName` - (required)
        `serviceName` - The service to start. (required)
        `callback` - The callback to be executed when the API call finishes
      Returns:
        The request call
      Throws:
        `ApiException` - If fail to process the API call, e.g. serializing the request body object

Copyright © 2022. All rights reserved.