@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WorkflowAutomationApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowAutomationApi.ListWorkflowInstancesOptionalParameters
Manage optional parameters to listWorkflowInstances.
|
| Constructor and Description |
|---|
WorkflowAutomationApi() |
WorkflowAutomationApi(ApiClient apiClient) |
public WorkflowAutomationApi()
public WorkflowAutomationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic WorklflowCancelInstanceResponse cancelWorkflowInstance(String workflowId, String instanceId) throws ApiException
See cancelWorkflowInstanceWithHttpInfo(java.lang.String, java.lang.String).
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)ApiException - if fails to make API callpublic CompletableFuture<WorklflowCancelInstanceResponse> cancelWorkflowInstanceAsync(String workflowId, String instanceId)
See cancelWorkflowInstanceWithHttpInfoAsync(java.lang.String, java.lang.String).
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)public ApiResponse<WorklflowCancelInstanceResponse> cancelWorkflowInstanceWithHttpInfo(String workflowId, String instanceId) throws ApiException
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WorklflowCancelInstanceResponse>> cancelWorkflowInstanceWithHttpInfoAsync(String workflowId, String instanceId)
See cancelWorkflowInstanceWithHttpInfo(java.lang.String, java.lang.String).
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)public WorkflowInstanceCreateResponse createWorkflowInstance(String workflowId, WorkflowInstanceCreateRequest body) throws ApiException
workflowId - The ID of the workflow. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<WorkflowInstanceCreateResponse> createWorkflowInstanceAsync(String workflowId, WorkflowInstanceCreateRequest body)
workflowId - The ID of the workflow. (required)body - (required)public ApiResponse<WorkflowInstanceCreateResponse> createWorkflowInstanceWithHttpInfo(String workflowId, WorkflowInstanceCreateRequest body) throws ApiException
workflowId - The ID of the workflow. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WorkflowInstanceCreateResponse>> createWorkflowInstanceWithHttpInfoAsync(String workflowId, WorkflowInstanceCreateRequest body)
workflowId - The ID of the workflow. (required)body - (required)public WorklflowGetInstanceResponse getWorkflowInstance(String workflowId, String instanceId) throws ApiException
See getWorkflowInstanceWithHttpInfo(java.lang.String, java.lang.String).
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)ApiException - if fails to make API callpublic CompletableFuture<WorklflowGetInstanceResponse> getWorkflowInstanceAsync(String workflowId, String instanceId)
See getWorkflowInstanceWithHttpInfoAsync(java.lang.String, java.lang.String).
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)public ApiResponse<WorklflowGetInstanceResponse> getWorkflowInstanceWithHttpInfo(String workflowId, String instanceId) throws ApiException
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WorklflowGetInstanceResponse>> getWorkflowInstanceWithHttpInfoAsync(String workflowId, String instanceId)
See getWorkflowInstanceWithHttpInfo(java.lang.String, java.lang.String).
workflowId - The ID of the workflow. (required)instanceId - The ID of the workflow instance. (required)public WorkflowListInstancesResponse listWorkflowInstances(String workflowId) throws ApiException
workflowId - The ID of the workflow. (required)ApiException - if fails to make API callpublic CompletableFuture<WorkflowListInstancesResponse> listWorkflowInstancesAsync(String workflowId)
workflowId - The ID of the workflow. (required)public WorkflowListInstancesResponse listWorkflowInstances(String workflowId, WorkflowAutomationApi.ListWorkflowInstancesOptionalParameters parameters) throws ApiException
workflowId - The ID of the workflow. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<WorkflowListInstancesResponse> listWorkflowInstancesAsync(String workflowId, WorkflowAutomationApi.ListWorkflowInstancesOptionalParameters parameters)
workflowId - The ID of the workflow. (required)parameters - Optional parameters for the request.public ApiResponse<WorkflowListInstancesResponse> listWorkflowInstancesWithHttpInfo(String workflowId, WorkflowAutomationApi.ListWorkflowInstancesOptionalParameters parameters) throws ApiException
workflowId - The ID of the workflow. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WorkflowListInstancesResponse>> listWorkflowInstancesWithHttpInfoAsync(String workflowId, WorkflowAutomationApi.ListWorkflowInstancesOptionalParameters parameters)
workflowId - The ID of the workflow. (required)parameters - Optional parameters for the request.Copyright © 2024. All rights reserved.