Package com.datadog.api.client.v2.api
Class RumRetentionQuotasApi
java.lang.Object
com.datadog.api.client.v2.api.RumRetentionQuotasApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumRetentionQuotasApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) Delete a RUM retention quota configuration.deleteRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Delete a RUM retention quota configuration.deleteRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId) Delete the RUM retention quota configuration for a given scope.deleteRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Delete a RUM retention quota configuration.Get the API client.getRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) Get a RUM retention quota configuration.getRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Get a RUM retention quota configuration.getRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId) Get the RUM retention quota configuration for a given scope.getRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Get a RUM retention quota configuration.voidsetApiClient(ApiClient apiClient) Set the API client.upsertRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) Create or update a RUM retention quota config.upsertRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) Create or update a RUM retention quota config.upsertRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) Create or update the RUM retention quota configuration for a given scope.upsertRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) Create or update a RUM retention quota config.
-
Constructor Details
-
RumRetentionQuotasApi
public RumRetentionQuotasApi() -
RumRetentionQuotasApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
deleteRumQuotaConfig
public void deleteRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException Delete a RUM retention quota configuration.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required, default to "application")scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Throws:
ApiException- if fails to make API call
-
deleteRumQuotaConfigAsync
public CompletableFuture<Void> deleteRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Delete a RUM retention quota configuration.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required, default to "application")scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Returns:
- CompletableFuture
-
deleteRumQuotaConfigWithHttpInfo
public ApiResponse<Void> deleteRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException Delete the RUM retention quota configuration for a given scope.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required)scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (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 - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteRumQuotaConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Delete a RUM retention quota configuration.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required)scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getRumQuotaConfig
public RumRetentionQuotaConfigResponse getRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException Get a RUM retention quota configuration.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required, default to "application")scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Returns:
- RumRetentionQuotaConfigResponse
- Throws:
ApiException- if fails to make API call
-
getRumQuotaConfigAsync
public CompletableFuture<RumRetentionQuotaConfigResponse> getRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Get a RUM retention quota configuration.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required, default to "application")scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Returns:
- CompletableFuture<RumRetentionQuotaConfigResponse>
-
getRumQuotaConfigWithHttpInfo
public ApiResponse<RumRetentionQuotaConfigResponse> getRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException Get the RUM retention quota configuration for a given scope.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required)scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Returns:
- ApiResponse<RumRetentionQuotaConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getRumQuotaConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>> getRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId) Get a RUM retention quota configuration.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required)scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)- Returns:
- CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>>
-
upsertRumQuotaConfig
public RumRetentionQuotaConfigResponse upsertRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) throws ApiException Create or update a RUM retention quota config.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required, default to "application")scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)body- The definition of the RUM retention quota configuration to create or update. (required)- Returns:
- RumRetentionQuotaConfigResponse
- Throws:
ApiException- if fails to make API call
-
upsertRumQuotaConfigAsync
public CompletableFuture<RumRetentionQuotaConfigResponse> upsertRumQuotaConfigAsync(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) Create or update a RUM retention quota config.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required, default to "application")scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)body- The definition of the RUM retention quota configuration to create or update. (required)- Returns:
- CompletableFuture<RumRetentionQuotaConfigResponse>
-
upsertRumQuotaConfigWithHttpInfo
public ApiResponse<RumRetentionQuotaConfigResponse> upsertRumQuotaConfigWithHttpInfo(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) throws ApiException Create or update the RUM retention quota configuration for a given scope. Returns the retention quota configuration object when the request is successful.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required)scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)body- The definition of the RUM retention quota configuration to create or update. (required)- Returns:
- ApiResponse<RumRetentionQuotaConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
upsertRumQuotaConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>> upsertRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId, RumRetentionQuotaConfigUpdateRequest body) Create or update a RUM retention quota config.- Parameters:
scopeType- The type of scope the retention quota configuration applies to.applicationis the only supported scope type. (required)scopeId- The identifier of the scope the retention quota configuration applies to. For theapplicationscope, this is the RUM application ID. (required)body- The definition of the RUM retention quota configuration to create or update. (required)- Returns:
- CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>>
-