@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IpAllowlistApi extends Object
| Constructor and Description |
|---|
IpAllowlistApi() |
IpAllowlistApi(ApiClient apiClient) |
public IpAllowlistApi()
public IpAllowlistApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic IPAllowlistResponse getIPAllowlist() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<IPAllowlistResponse> getIPAllowlistAsync()
public ApiResponse<IPAllowlistResponse> getIPAllowlistWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<IPAllowlistResponse>> getIPAllowlistWithHttpInfoAsync()
public IPAllowlistResponse updateIPAllowlist(IPAllowlistUpdateRequest body) throws ApiException
See updateIPAllowlistWithHttpInfo(com.datadog.api.client.v2.model.IPAllowlistUpdateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<IPAllowlistResponse> updateIPAllowlistAsync(IPAllowlistUpdateRequest body)
See updateIPAllowlistWithHttpInfoAsync(com.datadog.api.client.v2.model.IPAllowlistUpdateRequest).
body - (required)public ApiResponse<IPAllowlistResponse> updateIPAllowlistWithHttpInfo(IPAllowlistUpdateRequest body) throws ApiException
body - (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<IPAllowlistResponse>> updateIPAllowlistWithHttpInfoAsync(IPAllowlistUpdateRequest body)
See updateIPAllowlistWithHttpInfo(com.datadog.api.client.v2.model.IPAllowlistUpdateRequest).
body - (required)Copyright © 2024. All rights reserved.