@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WebIntegrationsApi extends Object
| Constructor and Description |
|---|
WebIntegrationsApi() |
WebIntegrationsApi(ApiClient apiClient) |
public WebIntegrationsApi()
public WebIntegrationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic WebIntegrationAccountResponse createWebIntegrationAccount(String integrationName, WebIntegrationAccountCreateRequest body) throws ApiException
integrationName - The name of the integration (for example, databricks).
(required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<WebIntegrationAccountResponse> createWebIntegrationAccountAsync(String integrationName, WebIntegrationAccountCreateRequest body)
integrationName - The name of the integration (for example, databricks).
(required)body - (required)public ApiResponse<WebIntegrationAccountResponse> createWebIntegrationAccountWithHttpInfo(String integrationName, WebIntegrationAccountCreateRequest body) throws ApiException
integrationName - The name of the integration (for example, databricks).
(required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 422 | The server cannot process the request because it contains invalid data. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WebIntegrationAccountResponse>> createWebIntegrationAccountWithHttpInfoAsync(String integrationName, WebIntegrationAccountCreateRequest body)
integrationName - The name of the integration (for example, databricks).
(required)body - (required)public void deleteWebIntegrationAccount(String integrationName, String accountId) throws ApiException
See deleteWebIntegrationAccountWithHttpInfo(java.lang.String, java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteWebIntegrationAccountAsync(String integrationName, String accountId)
See deleteWebIntegrationAccountWithHttpInfoAsync(java.lang.String, java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)public ApiResponse<Void> deleteWebIntegrationAccountWithHttpInfo(String integrationName, String accountId) throws ApiException
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteWebIntegrationAccountWithHttpInfoAsync(String integrationName, String accountId)
See deleteWebIntegrationAccountWithHttpInfo(java.lang.String, java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)public WebIntegrationAccountResponse getWebIntegrationAccount(String integrationName, String accountId) throws ApiException
See getWebIntegrationAccountWithHttpInfo(java.lang.String, java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)ApiException - if fails to make API callpublic CompletableFuture<WebIntegrationAccountResponse> getWebIntegrationAccountAsync(String integrationName, String accountId)
See getWebIntegrationAccountWithHttpInfoAsync(java.lang.String, java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)public ApiResponse<WebIntegrationAccountResponse> getWebIntegrationAccountWithHttpInfo(String integrationName, String accountId) throws ApiException
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (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<WebIntegrationAccountResponse>> getWebIntegrationAccountWithHttpInfoAsync(String integrationName, String accountId)
See getWebIntegrationAccountWithHttpInfo(java.lang.String, java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)public WebIntegrationAccountsResponse listWebIntegrationAccounts(String integrationName) throws ApiException
See listWebIntegrationAccountsWithHttpInfo(java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)ApiException - if fails to make API callpublic CompletableFuture<WebIntegrationAccountsResponse> listWebIntegrationAccountsAsync(String integrationName)
See listWebIntegrationAccountsWithHttpInfoAsync(java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)public ApiResponse<WebIntegrationAccountsResponse> listWebIntegrationAccountsWithHttpInfo(String integrationName) throws ApiException
integrationName - The name of the integration (for example, databricks).
(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<WebIntegrationAccountsResponse>> listWebIntegrationAccountsWithHttpInfoAsync(String integrationName)
See listWebIntegrationAccountsWithHttpInfo(java.lang.String).
integrationName - The name of the integration (for example, databricks).
(required)public WebIntegrationAccountResponse updateWebIntegrationAccount(String integrationName, String accountId, WebIntegrationAccountUpdateRequest body) throws ApiException
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<WebIntegrationAccountResponse> updateWebIntegrationAccountAsync(String integrationName, String accountId, WebIntegrationAccountUpdateRequest body)
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)body - (required)public ApiResponse<WebIntegrationAccountResponse> updateWebIntegrationAccountWithHttpInfo(String integrationName, String accountId, WebIntegrationAccountUpdateRequest body) throws ApiException
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 422 | The server cannot process the request because it contains invalid data. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<WebIntegrationAccountResponse>> updateWebIntegrationAccountWithHttpInfoAsync(String integrationName, String accountId, WebIntegrationAccountUpdateRequest body)
integrationName - The name of the integration (for example, databricks).
(required)accountId - The unique identifier of the web integration account. (required)body - (required)Copyright © 2026. All rights reserved.