@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RumRetentionQuotasApi extends Object
| Constructor and Description |
|---|
RumRetentionQuotasApi() |
RumRetentionQuotasApi(ApiClient apiClient) |
public RumRetentionQuotasApi()
public RumRetentionQuotasApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic void deleteRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required, default to "application")scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId)
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required, default to "application")scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)public ApiResponse<Void> deleteRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required)scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId)
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required)scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)public RumRetentionQuotaConfigResponse getRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required, default to "application")scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)ApiException - if fails to make API callpublic CompletableFuture<RumRetentionQuotaConfigResponse> getRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId)
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required, default to "application")scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)public ApiResponse<RumRetentionQuotaConfigResponse> getRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required)scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>> getRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId)
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required)scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)public RumRetentionQuotaConfigResponse upsertRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) throws ApiException
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required, default to "application")scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)body - The definition of the RUM retention quota configuration to create or update.
(required)ApiException - if fails to make API callpublic CompletableFuture<RumRetentionQuotaConfigResponse> upsertRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body)
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required, default to "application")scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)body - The definition of the RUM retention quota configuration to create or update.
(required)public ApiResponse<RumRetentionQuotaConfigResponse> upsertRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) throws ApiException
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required)scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)body - The definition of the RUM retention quota configuration to create or update.
(required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>> upsertRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body)
scopeType - The type of scope the retention quota configuration applies to.
application is the only supported scope type. (required)scopeId - The identifier of the scope the retention quota configuration applies to. For
the application scope, this is the RUM application ID. (required)body - The definition of the RUM retention quota configuration to create or update.
(required)Copyright © 2026. All rights reserved.