Package com.datadog.api.client.v2.api
Class DomainAllowlistApi
java.lang.Object
com.datadog.api.client.v2.api.DomainAllowlistApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DomainAllowlistApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.Get Domain Allowlist.Get Domain Allowlist.Get the domain allowlist for an organization.Get Domain Allowlist.Sets Domain Allowlist.Sets Domain Allowlist.Update the domain allowlist for an organization.Sets Domain Allowlist.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
DomainAllowlistApi
public DomainAllowlistApi() -
DomainAllowlistApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getDomainAllowlist
Get Domain Allowlist.- Returns:
- DomainAllowlistResponse
- Throws:
ApiException- if fails to make API call
-
getDomainAllowlistAsync
Get Domain Allowlist.- Returns:
- CompletableFuture<DomainAllowlistResponse>
-
getDomainAllowlistWithHttpInfo
Get the domain allowlist for an organization.- Returns:
- ApiResponse<DomainAllowlistResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getDomainAllowlistWithHttpInfoAsync
public CompletableFuture<ApiResponse<DomainAllowlistResponse>> getDomainAllowlistWithHttpInfoAsync()Get Domain Allowlist.- Returns:
- CompletableFuture<ApiResponse<DomainAllowlistResponse>>
-
patchDomainAllowlist
public DomainAllowlistResponse patchDomainAllowlist(DomainAllowlistRequest body) throws ApiException Sets Domain Allowlist.See
patchDomainAllowlistWithHttpInfo(com.datadog.api.client.v2.model.DomainAllowlistRequest).- Parameters:
body- (required)- Returns:
- DomainAllowlistResponse
- Throws:
ApiException- if fails to make API call
-
patchDomainAllowlistAsync
public CompletableFuture<DomainAllowlistResponse> patchDomainAllowlistAsync(DomainAllowlistRequest body) Sets Domain Allowlist.See
patchDomainAllowlistWithHttpInfoAsync(com.datadog.api.client.v2.model.DomainAllowlistRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<DomainAllowlistResponse>
-
patchDomainAllowlistWithHttpInfo
public ApiResponse<DomainAllowlistResponse> patchDomainAllowlistWithHttpInfo(DomainAllowlistRequest body) throws ApiException Update the domain allowlist for an organization.- Parameters:
body- (required)- Returns:
- ApiResponse<DomainAllowlistResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
patchDomainAllowlistWithHttpInfoAsync
public CompletableFuture<ApiResponse<DomainAllowlistResponse>> patchDomainAllowlistWithHttpInfoAsync(DomainAllowlistRequest body) Sets Domain Allowlist.See
patchDomainAllowlistWithHttpInfo(com.datadog.api.client.v2.model.DomainAllowlistRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<DomainAllowlistResponse>>
-