Package com.datadog.api.client.v2.api
Class RumConfigApi
java.lang.Object
com.datadog.api.client.v2.api.RumConfigApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumConfigApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate the RUM configuration.Create the RUM configuration.Create the RUM configuration for your organization.Create the RUM configuration.Get the API client.Get the RUM configuration.Get the RUM configuration.Get the RUM configuration for your organization.Get the RUM configuration.voidsetApiClient(ApiClient apiClient) Set the API client.Update the RUM configuration.Update the RUM configuration.Update the RUM configuration for your organization.Update the RUM configuration.
-
Constructor Details
-
RumConfigApi
public RumConfigApi() -
RumConfigApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createRumConfig
Create the RUM configuration.See
createRumConfigWithHttpInfo(com.datadog.api.client.v2.model.RumConfigCreateRequest).- Parameters:
body- The definition of the RUM configuration to create. (required)- Returns:
- RumConfigResponse
- Throws:
ApiException- if fails to make API call
-
createRumConfigAsync
Create the RUM configuration.See
createRumConfigWithHttpInfoAsync(com.datadog.api.client.v2.model.RumConfigCreateRequest).- Parameters:
body- The definition of the RUM configuration to create. (required)- Returns:
- CompletableFuture<RumConfigResponse>
-
createRumConfigWithHttpInfo
public ApiResponse<RumConfigResponse> createRumConfigWithHttpInfo(RumConfigCreateRequest body) throws ApiException Create the RUM configuration for your organization. Returns the RUM configuration object from the request body when the request is successful.- Parameters:
body- The definition of the RUM configuration to create. (required)- Returns:
- ApiResponse<RumConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 Created - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
-
createRumConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<RumConfigResponse>> createRumConfigWithHttpInfoAsync(RumConfigCreateRequest body) Create the RUM configuration.See
createRumConfigWithHttpInfo(com.datadog.api.client.v2.model.RumConfigCreateRequest).- Parameters:
body- The definition of the RUM configuration to create. (required)- Returns:
- CompletableFuture<ApiResponse<RumConfigResponse>>
-
getRumConfig
Get the RUM configuration.- Returns:
- RumConfigResponse
- Throws:
ApiException- if fails to make API call
-
getRumConfigAsync
Get the RUM configuration.- Returns:
- CompletableFuture<RumConfigResponse>
-
getRumConfigWithHttpInfo
Get the RUM configuration for your organization.- Returns:
- ApiResponse<RumConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 429 Too many requests -
-
getRumConfigWithHttpInfoAsync
Get the RUM configuration.- Returns:
- CompletableFuture<ApiResponse<RumConfigResponse>>
-
updateRumConfig
Update the RUM configuration.See
updateRumConfigWithHttpInfo(com.datadog.api.client.v2.model.RumConfigUpdateRequest).- Parameters:
body- New definition of the RUM configuration. (required)- Returns:
- RumConfigResponse
- Throws:
ApiException- if fails to make API call
-
updateRumConfigAsync
Update the RUM configuration.See
updateRumConfigWithHttpInfoAsync(com.datadog.api.client.v2.model.RumConfigUpdateRequest).- Parameters:
body- New definition of the RUM configuration. (required)- Returns:
- CompletableFuture<RumConfigResponse>
-
updateRumConfigWithHttpInfo
public ApiResponse<RumConfigResponse> updateRumConfigWithHttpInfo(RumConfigUpdateRequest body) throws ApiException Update the RUM configuration for your organization. Returns the RUM configuration object from the request body when the request is successful.- Parameters:
body- New definition of the RUM configuration. (required)- Returns:
- ApiResponse<RumConfigResponse>
- 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 -
-
updateRumConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<RumConfigResponse>> updateRumConfigWithHttpInfoAsync(RumConfigUpdateRequest body) Update the RUM configuration.See
updateRumConfigWithHttpInfo(com.datadog.api.client.v2.model.RumConfigUpdateRequest).- Parameters:
body- New definition of the RUM configuration. (required)- Returns:
- CompletableFuture<ApiResponse<RumConfigResponse>>
-