public class ReplicationsResourceApi extends Object
Constructor and Description |
---|
ReplicationsResourceApi() |
ReplicationsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiCommand |
collectDiagnosticData(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view,
ApiReplicationDiagnosticsCollectionArgs body)
Collect diagnostic data for a schedule, optionally for a subset of commands on that schedule, matched by schedule ID.
|
com.squareup.okhttp.Call |
collectDiagnosticDataAsync(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view,
ApiReplicationDiagnosticsCollectionArgs body,
ApiCallback<ApiCommand> callback)
Collect diagnostic data for a schedule, optionally for a subset of commands on that schedule, matched by schedule ID.
|
com.squareup.okhttp.Call |
collectDiagnosticDataCall(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view,
ApiReplicationDiagnosticsCollectionArgs body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for collectDiagnosticData
|
ApiResponse<ApiCommand> |
collectDiagnosticDataWithHttpInfo(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view,
ApiReplicationDiagnosticsCollectionArgs body)
Collect diagnostic data for a schedule, optionally for a subset of commands on that schedule, matched by schedule ID.
|
ApiReplicationScheduleList |
createSchedules(String clusterName,
String serviceName,
ApiReplicationScheduleList body)
Creates one or more replication schedules.
|
com.squareup.okhttp.Call |
createSchedulesAsync(String clusterName,
String serviceName,
ApiReplicationScheduleList body,
ApiCallback<ApiReplicationScheduleList> callback)
Creates one or more replication schedules.
|
com.squareup.okhttp.Call |
createSchedulesCall(String clusterName,
String serviceName,
ApiReplicationScheduleList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createSchedules
|
ApiResponse<ApiReplicationScheduleList> |
createSchedulesWithHttpInfo(String clusterName,
String serviceName,
ApiReplicationScheduleList body)
Creates one or more replication schedules.
|
ApiReplicationScheduleList |
deleteAllSchedules(String clusterName,
String serviceName)
Deletes all existing replication schedules.
|
com.squareup.okhttp.Call |
deleteAllSchedulesAsync(String clusterName,
String serviceName,
ApiCallback<ApiReplicationScheduleList> callback)
Deletes all existing replication schedules.
|
com.squareup.okhttp.Call |
deleteAllSchedulesCall(String clusterName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAllSchedules
|
ApiResponse<ApiReplicationScheduleList> |
deleteAllSchedulesWithHttpInfo(String clusterName,
String serviceName)
Deletes all existing replication schedules.
|
ApiReplicationSchedule |
deleteSchedule(String clusterName,
BigDecimal scheduleId,
String serviceName)
Deletes an existing replication schedule.
|
com.squareup.okhttp.Call |
deleteScheduleAsync(String clusterName,
BigDecimal scheduleId,
String serviceName,
ApiCallback<ApiReplicationSchedule> callback)
Deletes an existing replication schedule.
|
com.squareup.okhttp.Call |
deleteScheduleCall(String clusterName,
BigDecimal scheduleId,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteSchedule
|
ApiResponse<ApiReplicationSchedule> |
deleteScheduleWithHttpInfo(String clusterName,
BigDecimal scheduleId,
String serviceName)
Deletes an existing replication schedule.
|
ApiClient |
getApiClient() |
ApiReplicationState |
getReplicationState(String clusterName,
String serviceName,
String view)
returns the replication state.
|
com.squareup.okhttp.Call |
getReplicationStateAsync(String clusterName,
String serviceName,
String view,
ApiCallback<ApiReplicationState> callback)
returns the replication state.
|
com.squareup.okhttp.Call |
getReplicationStateCall(String clusterName,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getReplicationState
|
ApiResponse<ApiReplicationState> |
getReplicationStateWithHttpInfo(String clusterName,
String serviceName,
String view)
returns the replication state.
|
ApiReplicationCommandList |
readHistory(String clusterName,
BigDecimal scheduleId,
String serviceName,
Integer limit,
Integer offset,
String view)
Returns a list of commands triggered by a schedule.
|
com.squareup.okhttp.Call |
readHistoryAsync(String clusterName,
BigDecimal scheduleId,
String serviceName,
Integer limit,
Integer offset,
String view,
ApiCallback<ApiReplicationCommandList> callback)
Returns a list of commands triggered by a schedule.
|
com.squareup.okhttp.Call |
readHistoryCall(String clusterName,
BigDecimal scheduleId,
String serviceName,
Integer limit,
Integer offset,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readHistory
|
ApiResponse<ApiReplicationCommandList> |
readHistoryWithHttpInfo(String clusterName,
BigDecimal scheduleId,
String serviceName,
Integer limit,
Integer offset,
String view)
Returns a list of commands triggered by a schedule.
|
ApiReplicationSchedule |
readSchedule(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view)
Returns information for a specific replication schedule.
|
com.squareup.okhttp.Call |
readScheduleAsync(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view,
ApiCallback<ApiReplicationSchedule> callback)
Returns information for a specific replication schedule.
|
com.squareup.okhttp.Call |
readScheduleCall(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readSchedule
|
ApiReplicationScheduleList |
readSchedules(String clusterName,
String serviceName,
String view)
Returns information for all replication schedules.
|
com.squareup.okhttp.Call |
readSchedulesAsync(String clusterName,
String serviceName,
String view,
ApiCallback<ApiReplicationScheduleList> callback)
Returns information for all replication schedules.
|
com.squareup.okhttp.Call |
readSchedulesCall(String clusterName,
String serviceName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readSchedules
|
ApiResponse<ApiReplicationScheduleList> |
readSchedulesWithHttpInfo(String clusterName,
String serviceName,
String view)
Returns information for all replication schedules.
|
ApiResponse<ApiReplicationSchedule> |
readScheduleWithHttpInfo(String clusterName,
BigDecimal scheduleId,
String serviceName,
String view)
Returns information for a specific replication schedule.
|
ApiCommand |
runCopyListing(String clusterName,
String serviceName,
String body)
Run the hdfs copy listing command.
|
com.squareup.okhttp.Call |
runCopyListingAsync(String clusterName,
String serviceName,
String body,
ApiCallback<ApiCommand> callback)
Run the hdfs copy listing command.
|
com.squareup.okhttp.Call |
runCopyListingCall(String clusterName,
String serviceName,
String body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for runCopyListing
|
ApiResponse<ApiCommand> |
runCopyListingWithHttpInfo(String clusterName,
String serviceName,
String body)
Run the hdfs copy listing command.
|
ApiCommand |
runSchedule(String clusterName,
BigDecimal scheduleId,
String serviceName,
Boolean dryRun)
Run the schedule immediately.
|
com.squareup.okhttp.Call |
runScheduleAsync(String clusterName,
BigDecimal scheduleId,
String serviceName,
Boolean dryRun,
ApiCallback<ApiCommand> callback)
Run the schedule immediately.
|
com.squareup.okhttp.Call |
runScheduleCall(String clusterName,
BigDecimal scheduleId,
String serviceName,
Boolean dryRun,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for runSchedule
|
ApiResponse<ApiCommand> |
runScheduleWithHttpInfo(String clusterName,
BigDecimal scheduleId,
String serviceName,
Boolean dryRun)
Run the schedule immediately.
|
void |
setApiClient(ApiClient apiClient) |
ApiReplicationSchedule |
updateSchedule(String clusterName,
BigDecimal scheduleId,
String serviceName,
ApiReplicationSchedule body)
Updates an existing replication schedule.
|
com.squareup.okhttp.Call |
updateScheduleAsync(String clusterName,
BigDecimal scheduleId,
String serviceName,
ApiReplicationSchedule body,
ApiCallback<ApiReplicationSchedule> callback)
Updates an existing replication schedule.
|
com.squareup.okhttp.Call |
updateScheduleCall(String clusterName,
BigDecimal scheduleId,
String serviceName,
ApiReplicationSchedule body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateSchedule
|
ApiResponse<ApiReplicationSchedule> |
updateScheduleWithHttpInfo(String clusterName,
BigDecimal scheduleId,
String serviceName,
ApiReplicationSchedule body)
Updates an existing replication schedule.
|
public ReplicationsResourceApi()
public ReplicationsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call collectDiagnosticDataCall(String clusterName, BigDecimal scheduleId, String serviceName, String view, ApiReplicationDiagnosticsCollectionArgs body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)scheduleId
- Schedule ID (required)serviceName
- The service name. (required)view
- view to materialize (optional, default to summary)body
- Replication collection arguments (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand collectDiagnosticData(String clusterName, BigDecimal scheduleId, String serviceName, String view, ApiReplicationDiagnosticsCollectionArgs body) throws ApiException
clusterName
- (required)scheduleId
- Schedule ID (required)serviceName
- The service name. (required)view
- view to materialize (optional, default to summary)body
- Replication collection arguments (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> collectDiagnosticDataWithHttpInfo(String clusterName, BigDecimal scheduleId, String serviceName, String view, ApiReplicationDiagnosticsCollectionArgs body) throws ApiException
clusterName
- (required)scheduleId
- Schedule ID (required)serviceName
- The service name. (required)view
- view to materialize (optional, default to summary)body
- Replication collection arguments (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call collectDiagnosticDataAsync(String clusterName, BigDecimal scheduleId, String serviceName, String view, ApiReplicationDiagnosticsCollectionArgs body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)scheduleId
- Schedule ID (required)serviceName
- The service name. (required)view
- view to materialize (optional, default to summary)body
- Replication collection arguments (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 createSchedulesCall(String clusterName, String serviceName, ApiReplicationScheduleList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- List of the replication schedules to create. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationScheduleList createSchedules(String clusterName, String serviceName, ApiReplicationScheduleList body) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- List of the replication schedules to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationScheduleList> createSchedulesWithHttpInfo(String clusterName, String serviceName, ApiReplicationScheduleList body) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- List of the replication schedules to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSchedulesAsync(String clusterName, String serviceName, ApiReplicationScheduleList body, ApiCallback<ApiReplicationScheduleList> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- List of the replication schedules to create. (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 deleteAllSchedulesCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationScheduleList deleteAllSchedules(String clusterName, String serviceName) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationScheduleList> deleteAllSchedulesWithHttpInfo(String clusterName, String serviceName) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAllSchedulesAsync(String clusterName, String serviceName, ApiCallback<ApiReplicationScheduleList> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (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 deleteScheduleCall(String clusterName, BigDecimal scheduleId, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationSchedule deleteSchedule(String clusterName, BigDecimal scheduleId, String serviceName) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationSchedule> deleteScheduleWithHttpInfo(String clusterName, BigDecimal scheduleId, String serviceName) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteScheduleAsync(String clusterName, BigDecimal scheduleId, String serviceName, ApiCallback<ApiReplicationSchedule> callback) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (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 getReplicationStateCall(String clusterName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- view to materialize (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationState getReplicationState(String clusterName, String serviceName, String view) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- view to materialize (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationState> getReplicationStateWithHttpInfo(String clusterName, String serviceName, String view) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- view to materialize (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 getReplicationStateAsync(String clusterName, String serviceName, String view, ApiCallback<ApiReplicationState> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- view to materialize (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 readHistoryCall(String clusterName, BigDecimal scheduleId, String serviceName, Integer limit, Integer offset, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)limit
- Maximum number of commands to retrieve. (optional, default to 20)offset
- Index of first command to retrieve. (optional, default to 0)view
- The view to materialize. (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationCommandList readHistory(String clusterName, BigDecimal scheduleId, String serviceName, Integer limit, Integer offset, String view) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)limit
- Maximum number of commands to retrieve. (optional, default to 20)offset
- Index of first command to retrieve. (optional, default to 0)view
- The view to materialize. (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationCommandList> readHistoryWithHttpInfo(String clusterName, BigDecimal scheduleId, String serviceName, Integer limit, Integer offset, String view) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)limit
- Maximum number of commands to retrieve. (optional, default to 20)offset
- Index of first command to retrieve. (optional, default to 0)view
- The view to materialize. (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 readHistoryAsync(String clusterName, BigDecimal scheduleId, String serviceName, Integer limit, Integer offset, String view, ApiCallback<ApiReplicationCommandList> callback) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)limit
- Maximum number of commands to retrieve. (optional, default to 20)offset
- Index of first command to retrieve. (optional, default to 0)view
- The view to materialize. (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 readScheduleCall(String clusterName, BigDecimal scheduleId, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)view
- The view to materialize. (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationSchedule readSchedule(String clusterName, BigDecimal scheduleId, String serviceName, String view) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)view
- The view to materialize. (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationSchedule> readScheduleWithHttpInfo(String clusterName, BigDecimal scheduleId, String serviceName, String view) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)view
- The view to materialize. (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 readScheduleAsync(String clusterName, BigDecimal scheduleId, String serviceName, String view, ApiCallback<ApiReplicationSchedule> callback) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)view
- The view to materialize. (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 readSchedulesCall(String clusterName, String serviceName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- provides summary or detailed view, default is summary (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationScheduleList readSchedules(String clusterName, String serviceName, String view) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- provides summary or detailed view, default is summary (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationScheduleList> readSchedulesWithHttpInfo(String clusterName, String serviceName, String view) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- provides summary or detailed view, default is summary (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 readSchedulesAsync(String clusterName, String serviceName, String view, ApiCallback<ApiReplicationScheduleList> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)view
- provides summary or detailed view, default is summary (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 runCopyListingCall(String clusterName, String serviceName, String body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand runCopyListing(String clusterName, String serviceName, String body) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> runCopyListingWithHttpInfo(String clusterName, String serviceName, String body) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call runCopyListingAsync(String clusterName, String serviceName, String body, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- (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 runScheduleCall(String clusterName, BigDecimal scheduleId, String serviceName, Boolean dryRun, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)dryRun
- Whether to execute a dry run. (optional, default to false)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand runSchedule(String clusterName, BigDecimal scheduleId, String serviceName, Boolean dryRun) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)dryRun
- Whether to execute a dry run. (optional, default to false)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> runScheduleWithHttpInfo(String clusterName, BigDecimal scheduleId, String serviceName, Boolean dryRun) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)dryRun
- Whether to execute a dry run. (optional, default to false)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call runScheduleAsync(String clusterName, BigDecimal scheduleId, String serviceName, Boolean dryRun, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)dryRun
- Whether to execute a dry run. (optional, default to false)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 updateScheduleCall(String clusterName, BigDecimal scheduleId, String serviceName, ApiReplicationSchedule body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiReplicationSchedule updateSchedule(String clusterName, BigDecimal scheduleId, String serviceName, ApiReplicationSchedule body) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiReplicationSchedule> updateScheduleWithHttpInfo(String clusterName, BigDecimal scheduleId, String serviceName, ApiReplicationSchedule body) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateScheduleAsync(String clusterName, BigDecimal scheduleId, String serviceName, ApiReplicationSchedule body, ApiCallback<ApiReplicationSchedule> callback) throws ApiException
clusterName
- (required)scheduleId
- Id of an existing replication schedule. (required)serviceName
- The service name. (required)body
- (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.