Package com.datadog.api.client.v2.api
Class BitsAiApi
java.lang.Object
com.datadog.api.client.v2.api.BitsAiApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class BitsAiApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listInvestigations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.Get a Bits AI investigation.Get a Bits AI investigation.Get a specific Bits AI investigation by ID.Get a Bits AI investigation.List Bits AI investigations.List Bits AI investigations.List Bits AI investigations.List Bits AI investigations.List all Bits AI investigations for the organization.List Bits AI investigations.List Bits AI investigations.List Bits AI investigations.voidsetApiClient(ApiClient apiClient) Set the API client.Trigger a Bits AI investigation.Trigger a Bits AI investigation.Trigger a new Bits AI investigation based on a monitor alert.Trigger a Bits AI investigation.
-
Constructor Details
-
BitsAiApi
public BitsAiApi() -
BitsAiApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getInvestigation
Get a Bits AI investigation.- Parameters:
id- The ID of the investigation. (required)- Returns:
- GetInvestigationResponse
- Throws:
ApiException- if fails to make API call
-
getInvestigationAsync
Get a Bits AI investigation.- Parameters:
id- The ID of the investigation. (required)- Returns:
- CompletableFuture<GetInvestigationResponse>
-
getInvestigationWithHttpInfo
public ApiResponse<GetInvestigationResponse> getInvestigationWithHttpInfo(String id) throws ApiException Get a specific Bits AI investigation by ID.- Parameters:
id- The ID of the investigation. (required)- Returns:
- ApiResponse<GetInvestigationResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
getInvestigationWithHttpInfoAsync
public CompletableFuture<ApiResponse<GetInvestigationResponse>> getInvestigationWithHttpInfoAsync(String id) Get a Bits AI investigation.- Parameters:
id- The ID of the investigation. (required)- Returns:
- CompletableFuture<ApiResponse<GetInvestigationResponse>>
-
listInvestigations
List Bits AI investigations.- Returns:
- ListInvestigationsResponse
- Throws:
ApiException- if fails to make API call
-
listInvestigationsAsync
List Bits AI investigations.- Returns:
- CompletableFuture<ListInvestigationsResponse>
-
listInvestigations
public ListInvestigationsResponse listInvestigations(BitsAiApi.ListInvestigationsOptionalParameters parameters) throws ApiException List Bits AI investigations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ListInvestigationsResponse
- Throws:
ApiException- if fails to make API call
-
listInvestigationsAsync
public CompletableFuture<ListInvestigationsResponse> listInvestigationsAsync(BitsAiApi.ListInvestigationsOptionalParameters parameters) List Bits AI investigations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListInvestigationsResponse>
-
listInvestigationsWithPagination
List Bits AI investigations.- Returns:
- PaginationIterable<ListInvestigationsResponseData>
-
listInvestigationsWithPagination
public PaginationIterable<ListInvestigationsResponseData> listInvestigationsWithPagination(BitsAiApi.ListInvestigationsOptionalParameters parameters) List Bits AI investigations.- Returns:
- ListInvestigationsResponse
-
listInvestigationsWithHttpInfo
public ApiResponse<ListInvestigationsResponse> listInvestigationsWithHttpInfo(BitsAiApi.ListInvestigationsOptionalParameters parameters) throws ApiException List all Bits AI investigations for the organization.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListInvestigationsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests -
-
listInvestigationsWithHttpInfoAsync
public CompletableFuture<ApiResponse<ListInvestigationsResponse>> listInvestigationsWithHttpInfoAsync(BitsAiApi.ListInvestigationsOptionalParameters parameters) List Bits AI investigations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListInvestigationsResponse>>
-
triggerInvestigation
public TriggerInvestigationResponse triggerInvestigation(TriggerInvestigationRequest body) throws ApiException Trigger a Bits AI investigation.See
triggerInvestigationWithHttpInfo(com.datadog.api.client.v2.model.TriggerInvestigationRequest).- Parameters:
body- Trigger investigation request body. (required)- Returns:
- TriggerInvestigationResponse
- Throws:
ApiException- if fails to make API call
-
triggerInvestigationAsync
public CompletableFuture<TriggerInvestigationResponse> triggerInvestigationAsync(TriggerInvestigationRequest body) Trigger a Bits AI investigation.See
triggerInvestigationWithHttpInfoAsync(com.datadog.api.client.v2.model.TriggerInvestigationRequest).- Parameters:
body- Trigger investigation request body. (required)- Returns:
- CompletableFuture<TriggerInvestigationResponse>
-
triggerInvestigationWithHttpInfo
public ApiResponse<TriggerInvestigationResponse> triggerInvestigationWithHttpInfo(TriggerInvestigationRequest body) throws ApiException Trigger a new Bits AI investigation based on a monitor alert. Themonitors_readpermission is required when the trigger type ismonitor_alert_trigger.- Parameters:
body- Trigger investigation request body. (required)- Returns:
- ApiResponse<TriggerInvestigationResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests -
-
triggerInvestigationWithHttpInfoAsync
public CompletableFuture<ApiResponse<TriggerInvestigationResponse>> triggerInvestigationWithHttpInfoAsync(TriggerInvestigationRequest body) Trigger a Bits AI investigation.See
triggerInvestigationWithHttpInfo(com.datadog.api.client.v2.model.TriggerInvestigationRequest).- Parameters:
body- Trigger investigation request body. (required)- Returns:
- CompletableFuture<ApiResponse<TriggerInvestigationResponse>>
-