public class MgmtRoleConfigGroupsResourceApi extends Object
Constructor and Description |
---|
MgmtRoleConfigGroupsResourceApi() |
MgmtRoleConfigGroupsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
ApiConfigList |
readConfig(String roleConfigGroupName,
String view)
Returns the current revision of the config for the specified role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readConfigAsync(String roleConfigGroupName,
String view,
ApiCallback<ApiConfigList> callback)
Returns the current revision of the config for the specified role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readConfigCall(String roleConfigGroupName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readConfig
|
ApiResponse<ApiConfigList> |
readConfigWithHttpInfo(String roleConfigGroupName,
String view)
Returns the current revision of the config for the specified role config group in the Cloudera Management Services.
|
ApiRoleConfigGroup |
readRoleConfigGroup(String roleConfigGroupName)
Returns the information for a given role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readRoleConfigGroupAsync(String roleConfigGroupName,
ApiCallback<ApiRoleConfigGroup> callback)
Returns the information for a given role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readRoleConfigGroupCall(String roleConfigGroupName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readRoleConfigGroup
|
ApiRoleConfigGroupList |
readRoleConfigGroups()
Returns the information for all role config groups in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readRoleConfigGroupsAsync(ApiCallback<ApiRoleConfigGroupList> callback)
Returns the information for all role config groups in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readRoleConfigGroupsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readRoleConfigGroups
|
ApiResponse<ApiRoleConfigGroupList> |
readRoleConfigGroupsWithHttpInfo()
Returns the information for all role config groups in the Cloudera Management Services.
|
ApiResponse<ApiRoleConfigGroup> |
readRoleConfigGroupWithHttpInfo(String roleConfigGroupName)
Returns the information for a given role config group in the Cloudera Management Services.
|
ApiRoleList |
readRoles(String roleConfigGroupName)
Returns all roles in the given role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readRolesAsync(String roleConfigGroupName,
ApiCallback<ApiRoleList> callback)
Returns all roles in the given role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
readRolesCall(String roleConfigGroupName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readRoles
|
ApiResponse<ApiRoleList> |
readRolesWithHttpInfo(String roleConfigGroupName)
Returns all roles in the given role config group in the Cloudera Management Services.
|
void |
setApiClient(ApiClient apiClient) |
ApiConfigList |
updateConfig(String roleConfigGroupName,
String message,
ApiConfigList body)
Updates the config for the given role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
updateConfigAsync(String roleConfigGroupName,
String message,
ApiConfigList body,
ApiCallback<ApiConfigList> callback)
Updates the config for the given role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
updateConfigCall(String roleConfigGroupName,
String message,
ApiConfigList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateConfig
|
ApiResponse<ApiConfigList> |
updateConfigWithHttpInfo(String roleConfigGroupName,
String message,
ApiConfigList body)
Updates the config for the given role config group in the Cloudera Management Services.
|
ApiRoleConfigGroup |
updateRoleConfigGroup(String roleConfigGroupName,
String message,
ApiRoleConfigGroup body)
Updates an existing role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
updateRoleConfigGroupAsync(String roleConfigGroupName,
String message,
ApiRoleConfigGroup body,
ApiCallback<ApiRoleConfigGroup> callback)
Updates an existing role config group in the Cloudera Management Services.
|
com.squareup.okhttp.Call |
updateRoleConfigGroupCall(String roleConfigGroupName,
String message,
ApiRoleConfigGroup body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateRoleConfigGroup
|
ApiResponse<ApiRoleConfigGroup> |
updateRoleConfigGroupWithHttpInfo(String roleConfigGroupName,
String message,
ApiRoleConfigGroup body)
Updates an existing role config group in the Cloudera Management Services.
|
public MgmtRoleConfigGroupsResourceApi()
public MgmtRoleConfigGroupsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call readConfigCall(String roleConfigGroupName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiConfigList readConfig(String roleConfigGroupName, String view) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiConfigList> readConfigWithHttpInfo(String roleConfigGroupName, String view) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)view
- The view of the data to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readConfigAsync(String roleConfigGroupName, String view, ApiCallback<ApiConfigList> callback) throws ApiException
roleConfigGroupName
- The name of the role config group. (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 finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readRoleConfigGroupCall(String roleConfigGroupName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
roleConfigGroupName
- The name of the requested group. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleConfigGroup readRoleConfigGroup(String roleConfigGroupName) throws ApiException
roleConfigGroupName
- The name of the requested group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleConfigGroup> readRoleConfigGroupWithHttpInfo(String roleConfigGroupName) throws ApiException
roleConfigGroupName
- The name of the requested group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readRoleConfigGroupAsync(String roleConfigGroupName, ApiCallback<ApiRoleConfigGroup> callback) throws ApiException
roleConfigGroupName
- The name of the requested group. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readRoleConfigGroupsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleConfigGroupList readRoleConfigGroups() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleConfigGroupList> readRoleConfigGroupsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readRoleConfigGroupsAsync(ApiCallback<ApiRoleConfigGroupList> callback) throws ApiException
callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call readRolesCall(String roleConfigGroupName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleList readRoles(String roleConfigGroupName) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleList> readRolesWithHttpInfo(String roleConfigGroupName) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readRolesAsync(String roleConfigGroupName, ApiCallback<ApiRoleList> callback) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateConfigCall(String roleConfigGroupName, String message, ApiConfigList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)message
- Optional message describing the changes. (optional)body
- The new config information for the group. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiConfigList updateConfig(String roleConfigGroupName, String message, ApiConfigList body) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)message
- Optional message describing the changes. (optional)body
- The new config information for the group. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiConfigList> updateConfigWithHttpInfo(String roleConfigGroupName, String message, ApiConfigList body) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)message
- Optional message describing the changes. (optional)body
- The new config information for the group. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateConfigAsync(String roleConfigGroupName, String message, ApiConfigList body, ApiCallback<ApiConfigList> callback) throws ApiException
roleConfigGroupName
- The name of the role config group. (required)message
- Optional message describing the changes. (optional)body
- The new config information for the group. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call updateRoleConfigGroupCall(String roleConfigGroupName, String message, ApiRoleConfigGroup body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
roleConfigGroupName
- The name of the group to update. (required)message
- The optional message describing the changes. (optional)body
- The updated role config group. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRoleConfigGroup updateRoleConfigGroup(String roleConfigGroupName, String message, ApiRoleConfigGroup body) throws ApiException
roleConfigGroupName
- The name of the group to update. (required)message
- The optional message describing the changes. (optional)body
- The updated role config group. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRoleConfigGroup> updateRoleConfigGroupWithHttpInfo(String roleConfigGroupName, String message, ApiRoleConfigGroup body) throws ApiException
roleConfigGroupName
- The name of the group to update. (required)message
- The optional message describing the changes. (optional)body
- The updated role config group. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateRoleConfigGroupAsync(String roleConfigGroupName, String message, ApiRoleConfigGroup body, ApiCallback<ApiRoleConfigGroup> callback) throws ApiException
roleConfigGroupName
- The name of the group to update. (required)message
- The optional message describing the changes. (optional)body
- The updated role config group. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.