@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ActionConnectionApi extends Object
| Constructor and Description |
|---|
ActionConnectionApi() |
ActionConnectionApi(ApiClient apiClient) |
public ActionConnectionApi()
public ActionConnectionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateActionConnectionResponse createActionConnection(CreateActionConnectionRequest body) throws ApiException
See createActionConnectionWithHttpInfo(com.datadog.api.client.v2.model.CreateActionConnectionRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CreateActionConnectionResponse> createActionConnectionAsync(CreateActionConnectionRequest body)
body - (required)public ApiResponse<CreateActionConnectionResponse> createActionConnectionWithHttpInfo(CreateActionConnectionRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Successfully created Action Connection | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<CreateActionConnectionResponse>> createActionConnectionWithHttpInfoAsync(CreateActionConnectionRequest body)
See createActionConnectionWithHttpInfo(com.datadog.api.client.v2.model.CreateActionConnectionRequest).
body - (required)public void deleteActionConnection(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteActionConnectionAsync(String connectionId)
See deleteActionConnectionWithHttpInfoAsync(java.lang.String).
connectionId - The ID of the action connection (required)public ApiResponse<Void> deleteActionConnectionWithHttpInfo(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | The resource was deleted successfully. | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<Void>> deleteActionConnectionWithHttpInfoAsync(String connectionId)
connectionId - The ID of the action connection (required)public GetActionConnectionResponse getActionConnection(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API callpublic CompletableFuture<GetActionConnectionResponse> getActionConnectionAsync(String connectionId)
connectionId - The ID of the action connection (required)public ApiResponse<GetActionConnectionResponse> getActionConnectionWithHttpInfo(String connectionId) throws ApiException
connectionId - The ID of the action connection (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully get Action Connection | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<GetActionConnectionResponse>> getActionConnectionWithHttpInfoAsync(String connectionId)
connectionId - The ID of the action connection (required)public UpdateActionConnectionResponse updateActionConnection(String connectionId, UpdateActionConnectionRequest body) throws ApiException
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateActionConnectionResponse> updateActionConnectionAsync(String connectionId, UpdateActionConnectionRequest body)
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)public ApiResponse<UpdateActionConnectionResponse> updateActionConnectionWithHttpInfo(String connectionId, UpdateActionConnectionRequest body) throws ApiException
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | Successfully updated Action Connection | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Request | - |
public CompletableFuture<ApiResponse<UpdateActionConnectionResponse>> updateActionConnectionWithHttpInfoAsync(String connectionId, UpdateActionConnectionRequest body)
connectionId - The ID of the action connection (required)body - Update an existing Action Connection request body (required)Copyright © 2025. All rights reserved.