@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AppBuilderApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AppBuilderApi.GetAppOptionalParameters
Manage optional parameters to getApp.
|
static class |
AppBuilderApi.ListAppsOptionalParameters
Manage optional parameters to listApps.
|
| Constructor and Description |
|---|
AppBuilderApi() |
AppBuilderApi(ApiClient apiClient) |
public AppBuilderApi()
public AppBuilderApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateAppResponse createApp(CreateAppRequest body) throws ApiException
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CreateAppResponse> createAppAsync(CreateAppRequest body)
body - (required)public ApiResponse<CreateAppResponse> createAppWithHttpInfo(CreateAppRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<CreateAppResponse>> createAppWithHttpInfoAsync(CreateAppRequest body)
body - (required)public DeleteAppResponse deleteApp(UUID appId) throws ApiException
appId - The ID of the app to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<DeleteAppResponse> deleteAppAsync(UUID appId)
appId - The ID of the app to delete. (required)public ApiResponse<DeleteAppResponse> deleteAppWithHttpInfo(UUID appId) throws ApiException
appId - The ID of the app to delete. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 410 | Gone | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<DeleteAppResponse>> deleteAppWithHttpInfoAsync(UUID appId)
appId - The ID of the app to delete. (required)public DeleteAppsResponse deleteApps(DeleteAppsRequest body) throws ApiException
See deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<DeleteAppsResponse> deleteAppsAsync(DeleteAppsRequest body)
See deleteAppsWithHttpInfoAsync(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)public ApiResponse<DeleteAppsResponse> deleteAppsWithHttpInfo(DeleteAppsRequest 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<DeleteAppsResponse>> deleteAppsWithHttpInfoAsync(DeleteAppsRequest body)
See deleteAppsWithHttpInfo(com.datadog.api.client.v2.model.DeleteAppsRequest).
body - (required)public GetAppResponse getApp(UUID appId) throws ApiException
appId - The ID of the app to retrieve. (required)ApiException - if fails to make API callpublic CompletableFuture<GetAppResponse> getAppAsync(UUID appId)
appId - The ID of the app to retrieve. (required)public GetAppResponse getApp(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) throws ApiException
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<GetAppResponse> getAppAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters)
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.public ApiResponse<GetAppResponse> getAppWithHttpInfo(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters) throws ApiException
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 410 | Gone | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GetAppResponse>> getAppWithHttpInfoAsync(UUID appId, AppBuilderApi.GetAppOptionalParameters parameters)
appId - The ID of the app to retrieve. (required)parameters - Optional parameters for the request.public ListAppsResponse listApps() throws ApiException
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
ApiException - if fails to make API callpublic CompletableFuture<ListAppsResponse> listAppsAsync()
See listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
public ListAppsResponse listApps(AppBuilderApi.ListAppsOptionalParameters parameters) throws ApiException
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ListAppsResponse> listAppsAsync(AppBuilderApi.ListAppsOptionalParameters parameters)
See listAppsWithHttpInfoAsync(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.public ApiResponse<ListAppsResponse> listAppsWithHttpInfo(AppBuilderApi.ListAppsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ListAppsResponse>> listAppsWithHttpInfoAsync(AppBuilderApi.ListAppsOptionalParameters parameters)
See listAppsWithHttpInfo(com.datadog.api.client.v2.api.AppBuilderApi.ListAppsOptionalParameters).
parameters - Optional parameters for the request.public PublishAppResponse publishApp(UUID appId) throws ApiException
appId - The ID of the app to publish. (required)ApiException - if fails to make API callpublic CompletableFuture<PublishAppResponse> publishAppAsync(UUID appId)
appId - The ID of the app to publish. (required)public ApiResponse<PublishAppResponse> publishAppWithHttpInfo(UUID appId) throws ApiException
appId - The ID of the app to publish. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<PublishAppResponse>> publishAppWithHttpInfoAsync(UUID appId)
appId - The ID of the app to publish. (required)public UnpublishAppResponse unpublishApp(UUID appId) throws ApiException
appId - The ID of the app to unpublish. (required)ApiException - if fails to make API callpublic CompletableFuture<UnpublishAppResponse> unpublishAppAsync(UUID appId)
appId - The ID of the app to unpublish. (required)public ApiResponse<UnpublishAppResponse> unpublishAppWithHttpInfo(UUID appId) throws ApiException
deployment object on the app, with a nil app_version_id (
00000000-0000-0000-0000-000000000000). The app can still be updated and published again
in the future. This API requires a registered
application key. Alternatively, you can configure these permissions in the
UI.appId - The ID of the app to unpublish. (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<UnpublishAppResponse>> unpublishAppWithHttpInfoAsync(UUID appId)
appId - The ID of the app to unpublish. (required)public UpdateAppResponse updateApp(UUID appId, UpdateAppRequest body) throws ApiException
See updateAppWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - The ID of the app to update. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<UpdateAppResponse> updateAppAsync(UUID appId, UpdateAppRequest body)
See updateAppWithHttpInfoAsync(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - The ID of the app to update. (required)body - (required)public ApiResponse<UpdateAppResponse> updateAppWithHttpInfo(UUID appId, UpdateAppRequest body) throws ApiException
appId - The ID of the app to update. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<UpdateAppResponse>> updateAppWithHttpInfoAsync(UUID appId, UpdateAppRequest body)
See updateAppWithHttpInfo(java.util.UUID, com.datadog.api.client.v2.model.UpdateAppRequest).
appId - The ID of the app to update. (required)body - (required)Copyright © 2025. All rights reserved.