Package com.datadog.api.client.v2.api
Class EntityIntegrationConfigsApi
java.lang.Object
com.datadog.api.client.v2.api.EntityIntegrationConfigsApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EntityIntegrationConfigsApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteEntityIntegrationConfig(String integrationId) Delete an entity integration configuration.deleteEntityIntegrationConfigAsync(String integrationId) Delete an entity integration configuration.deleteEntityIntegrationConfigWithHttpInfo(String integrationId) Delete the configuration stored for a given integration in the caller's organization.deleteEntityIntegrationConfigWithHttpInfoAsync(String integrationId) Delete an entity integration configuration.Get the API client.getEntityIntegrationConfig(String integrationId) Get an entity integration configuration.getEntityIntegrationConfigAsync(String integrationId) Get an entity integration configuration.getEntityIntegrationConfigWithHttpInfo(String integrationId) Retrieve the configuration currently stored for a given integration in the caller's organization.getEntityIntegrationConfigWithHttpInfoAsync(String integrationId) Get an entity integration configuration.voidsetApiClient(ApiClient apiClient) Set the API client.updateEntityIntegrationConfig(String integrationId, EntityIntegrationConfigRequest body) Create or update entity integration configuration.updateEntityIntegrationConfigAsync(String integrationId, EntityIntegrationConfigRequest body) Create or update entity integration configuration.updateEntityIntegrationConfigWithHttpInfo(String integrationId, EntityIntegrationConfigRequest body) Create or replace the configuration for a given integration in the caller's organization.updateEntityIntegrationConfigWithHttpInfoAsync(String integrationId, EntityIntegrationConfigRequest body) Create or update entity integration configuration.
-
Constructor Details
-
EntityIntegrationConfigsApi
public EntityIntegrationConfigsApi() -
EntityIntegrationConfigsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
deleteEntityIntegrationConfig
Delete an entity integration configuration.See
deleteEntityIntegrationConfigWithHttpInfo(java.lang.String).- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Throws:
ApiException- if fails to make API call
-
deleteEntityIntegrationConfigAsync
Delete an entity integration configuration.See
deleteEntityIntegrationConfigWithHttpInfoAsync(java.lang.String).- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- CompletableFuture
-
deleteEntityIntegrationConfigWithHttpInfo
public ApiResponse<Void> deleteEntityIntegrationConfigWithHttpInfo(String integrationId) throws ApiException Delete the configuration stored for a given integration in the caller's organization.- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
deleteEntityIntegrationConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteEntityIntegrationConfigWithHttpInfoAsync(String integrationId) Delete an entity integration configuration.See
deleteEntityIntegrationConfigWithHttpInfo(java.lang.String).- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getEntityIntegrationConfig
public EntityIntegrationConfigResponse getEntityIntegrationConfig(String integrationId) throws ApiException Get an entity integration configuration.See
getEntityIntegrationConfigWithHttpInfo(java.lang.String).- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- EntityIntegrationConfigResponse
- Throws:
ApiException- if fails to make API call
-
getEntityIntegrationConfigAsync
public CompletableFuture<EntityIntegrationConfigResponse> getEntityIntegrationConfigAsync(String integrationId) Get an entity integration configuration.See
getEntityIntegrationConfigWithHttpInfoAsync(java.lang.String).- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- CompletableFuture<EntityIntegrationConfigResponse>
-
getEntityIntegrationConfigWithHttpInfo
public ApiResponse<EntityIntegrationConfigResponse> getEntityIntegrationConfigWithHttpInfo(String integrationId) throws ApiException Retrieve the configuration currently stored for a given integration in the caller's organization.- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- ApiResponse<EntityIntegrationConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
getEntityIntegrationConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<EntityIntegrationConfigResponse>> getEntityIntegrationConfigWithHttpInfoAsync(String integrationId) Get an entity integration configuration.See
getEntityIntegrationConfigWithHttpInfo(java.lang.String).- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)- Returns:
- CompletableFuture<ApiResponse<EntityIntegrationConfigResponse>>
-
updateEntityIntegrationConfig
public EntityIntegrationConfigResponse updateEntityIntegrationConfig(String integrationId, EntityIntegrationConfigRequest body) throws ApiException Create or update entity integration configuration.- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)body- (required)- Returns:
- EntityIntegrationConfigResponse
- Throws:
ApiException- if fails to make API call
-
updateEntityIntegrationConfigAsync
public CompletableFuture<EntityIntegrationConfigResponse> updateEntityIntegrationConfigAsync(String integrationId, EntityIntegrationConfigRequest body) Create or update entity integration configuration.- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)body- (required)- Returns:
- CompletableFuture<EntityIntegrationConfigResponse>
-
updateEntityIntegrationConfigWithHttpInfo
public ApiResponse<EntityIntegrationConfigResponse> updateEntityIntegrationConfigWithHttpInfo(String integrationId, EntityIntegrationConfigRequest body) throws ApiException Create or replace the configuration for a given integration in the caller's organization. The shape ofdata.attributes.configdepends on the integration:- For
github:configmust contain anenabled_reposarray of objects withhostname,github_org_name, andrepo_name. - For
jira:configmust contain anenabled_projectsarray of objects withhostname,account_id, andproject_key. - For
pagerduty:configmust contain anaccountsarray of objects with a requiredenabledboolean and an optionalsubdomainstring.
- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)body- (required)- Returns:
- ApiResponse<EntityIntegrationConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
- For
-
updateEntityIntegrationConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<EntityIntegrationConfigResponse>> updateEntityIntegrationConfigWithHttpInfoAsync(String integrationId, EntityIntegrationConfigRequest body) Create or update entity integration configuration.- Parameters:
integrationId- The identifier of the integration whose configuration is being managed. Supported values aregithub,jira, andpagerduty. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<EntityIntegrationConfigResponse>>
-