@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ReportSchedulesApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportSchedulesApi.ListReportSchedulesOptionalParameters
Manage optional parameters to listReportSchedules.
|
| Constructor and Description |
|---|
ReportSchedulesApi() |
ReportSchedulesApi(ApiClient apiClient) |
public ReportSchedulesApi()
public ReportSchedulesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic ReportScheduleResponse createReportSchedule(ReportScheduleCreateRequest body) throws ApiException
See createReportScheduleWithHttpInfo(com.datadog.api.client.v2.model.ReportScheduleCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleResponse> createReportScheduleAsync(ReportScheduleCreateRequest body)
See createReportScheduleWithHttpInfoAsync(com.datadog.api.client.v2.model.ReportScheduleCreateRequest).
body - (required)public ApiResponse<ReportScheduleResponse> createReportScheduleWithHttpInfo(ReportScheduleCreateRequest body) throws ApiException
generate_dashboard_reports permission.body - (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<ReportScheduleResponse>> createReportScheduleWithHttpInfoAsync(ReportScheduleCreateRequest body)
See createReportScheduleWithHttpInfo(com.datadog.api.client.v2.model.ReportScheduleCreateRequest).
body - (required)public ReportScheduleResponse deleteReportSchedule(UUID scheduleUuid) throws ApiException
scheduleUuid - The unique identifier of the report schedule to delete. (required)ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleResponse> deleteReportScheduleAsync(UUID scheduleUuid)
scheduleUuid - The unique identifier of the report schedule to delete. (required)public ApiResponse<ReportScheduleResponse> deleteReportScheduleWithHttpInfo(UUID scheduleUuid) throws ApiException
scheduleUuid - The unique identifier of the report schedule 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 | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ReportScheduleResponse>> deleteReportScheduleWithHttpInfoAsync(UUID scheduleUuid)
scheduleUuid - The unique identifier of the report schedule to delete. (required)public ReportScheduleResponse getReportSchedule(UUID scheduleUuid) throws ApiException
scheduleUuid - The unique identifier of the report schedule to fetch. (required)ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleResponse> getReportScheduleAsync(UUID scheduleUuid)
scheduleUuid - The unique identifier of the report schedule to fetch. (required)public ApiResponse<ReportScheduleResponse> getReportScheduleWithHttpInfo(UUID scheduleUuid) throws ApiException
scheduleUuid - The unique identifier of the report schedule to fetch. (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<ReportScheduleResponse>> getReportScheduleWithHttpInfoAsync(UUID scheduleUuid)
scheduleUuid - The unique identifier of the report schedule to fetch. (required)public ReportScheduleListResponse getReportSchedulesForResource(ReportScheduleResourceType resourceType, String resourceId) throws ApiException
resourceType - The type of resource to fetch report schedules for. (required)resourceId - The identifier of the resource to fetch report schedules for. (required)ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleListResponse> getReportSchedulesForResourceAsync(ReportScheduleResourceType resourceType, String resourceId)
resourceType - The type of resource to fetch report schedules for. (required)resourceId - The identifier of the resource to fetch report schedules for. (required)public ApiResponse<ReportScheduleListResponse> getReportSchedulesForResourceWithHttpInfo(ReportScheduleResourceType resourceType, String resourceId) throws ApiException
resourceType - The type of resource to fetch report schedules for. (required)resourceId - The identifier of the resource to fetch report schedules for. (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<ReportScheduleListResponse>> getReportSchedulesForResourceWithHttpInfoAsync(ReportScheduleResourceType resourceType, String resourceId)
resourceType - The type of resource to fetch report schedules for. (required)resourceId - The identifier of the resource to fetch report schedules for. (required)public DatasetReportScheduleListResponse listDatasetReportSchedules(String datasetId) throws ApiException
See listDatasetReportSchedulesWithHttpInfo(java.lang.String).
datasetId - The identifier of the published dataset to retrieve report schedules for.
(required)ApiException - if fails to make API callpublic CompletableFuture<DatasetReportScheduleListResponse> listDatasetReportSchedulesAsync(String datasetId)
See listDatasetReportSchedulesWithHttpInfoAsync(java.lang.String).
datasetId - The identifier of the published dataset to retrieve report schedules for.
(required)public ApiResponse<DatasetReportScheduleListResponse> listDatasetReportSchedulesWithHttpInfo(String datasetId) throws ApiException
generate_log_reports or manage_log_reports permission.datasetId - The identifier of the published dataset to retrieve report schedules for.
(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<DatasetReportScheduleListResponse>> listDatasetReportSchedulesWithHttpInfoAsync(String datasetId)
See listDatasetReportSchedulesWithHttpInfo(java.lang.String).
datasetId - The identifier of the published dataset to retrieve report schedules for.
(required)public ReportScheduleListResponse listReportSchedules() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleListResponse> listReportSchedulesAsync()
public ReportScheduleListResponse listReportSchedules(ReportSchedulesApi.ListReportSchedulesOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleListResponse> listReportSchedulesAsync(ReportSchedulesApi.ListReportSchedulesOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<ReportScheduleListResponse> listReportSchedulesWithHttpInfo(ReportSchedulesApi.ListReportSchedulesOptionalParameters parameters) throws ApiException
generate_dashboard_reports permission.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 | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ReportScheduleListResponse>> listReportSchedulesWithHttpInfoAsync(ReportSchedulesApi.ListReportSchedulesOptionalParameters parameters)
parameters - Optional parameters for the request.public ReportScheduleResponse patchReportSchedule(UUID scheduleUuid, ReportSchedulePatchRequest body) throws ApiException
scheduleUuid - The unique identifier of the report schedule to update. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleResponse> patchReportScheduleAsync(UUID scheduleUuid, ReportSchedulePatchRequest body)
scheduleUuid - The unique identifier of the report schedule to update. (required)body - (required)public ApiResponse<ReportScheduleResponse> patchReportScheduleWithHttpInfo(UUID scheduleUuid, ReportSchedulePatchRequest body) throws ApiException
resource_id and
resource_type) cannot be changed after creation. Requires the
generate_dashboard_reports permission and schedule ownership.scheduleUuid - The unique identifier of the report schedule to update. (required)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<ReportScheduleResponse>> patchReportScheduleWithHttpInfoAsync(UUID scheduleUuid, ReportSchedulePatchRequest body)
scheduleUuid - The unique identifier of the report schedule to update. (required)body - (required)public PrintReportResponse printReport(PrintReportRequest body) throws ApiException
See printReportWithHttpInfo(com.datadog.api.client.v2.model.PrintReportRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<PrintReportResponse> printReportAsync(PrintReportRequest body)
See printReportWithHttpInfoAsync(com.datadog.api.client.v2.model.PrintReportRequest).
body - (required)public ApiResponse<PrintReportResponse> printReportWithHttpInfo(PrintReportRequest 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 | - |
| 422 | Unprocessable Entity | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<PrintReportResponse>> printReportWithHttpInfoAsync(PrintReportRequest body)
See printReportWithHttpInfo(com.datadog.api.client.v2.model.PrintReportRequest).
body - (required)public ReportScheduleResponse toggleReportSchedule(UUID scheduleUuid, ReportScheduleToggleRequest body) throws ApiException
scheduleUuid - The unique identifier of the report schedule to toggle. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<ReportScheduleResponse> toggleReportScheduleAsync(UUID scheduleUuid, ReportScheduleToggleRequest body)
scheduleUuid - The unique identifier of the report schedule to toggle. (required)body - (required)public ApiResponse<ReportScheduleResponse> toggleReportScheduleWithHttpInfo(UUID scheduleUuid, ReportScheduleToggleRequest body) throws ApiException
active or
inactive. Requires a reporting write permission appropriate to the targeted resource
type and schedule ownership.scheduleUuid - The unique identifier of the report schedule to toggle. (required)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<ReportScheduleResponse>> toggleReportScheduleWithHttpInfoAsync(UUID scheduleUuid, ReportScheduleToggleRequest body)
scheduleUuid - The unique identifier of the report schedule to toggle. (required)body - (required)Copyright © 2026. All rights reserved.