@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ReportingAndSharingApi extends Object
| Constructor and Description |
|---|
ReportingAndSharingApi() |
ReportingAndSharingApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotResponse |
createSnapshot(CreateSnapshotRequest body)
Create a graph snapshot.
|
CompletableFuture<CreateSnapshotResponse> |
createSnapshotAsync(CreateSnapshotRequest body)
Create a graph snapshot.
|
ApiResponse<CreateSnapshotResponse> |
createSnapshotWithHttpInfo(CreateSnapshotRequest body)
Create a snapshot of a graph widget.
|
CompletableFuture<ApiResponse<CreateSnapshotResponse>> |
createSnapshotWithHttpInfoAsync(CreateSnapshotRequest body)
Create a graph snapshot.
|
ApiClient |
getApiClient()
Get the API client.
|
void |
setApiClient(ApiClient apiClient)
Set the API client.
|
public ReportingAndSharingApi()
public ReportingAndSharingApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic CreateSnapshotResponse createSnapshot(CreateSnapshotRequest body) throws ApiException
See createSnapshotWithHttpInfo(com.datadog.api.client.v2.model.CreateSnapshotRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<CreateSnapshotResponse> createSnapshotAsync(CreateSnapshotRequest body)
See createSnapshotWithHttpInfoAsync(com.datadog.api.client.v2.model.CreateSnapshotRequest).
body - (required)public ApiResponse<CreateSnapshotResponse> createSnapshotWithHttpInfo(CreateSnapshotRequest body) throws ApiException
body - (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<CreateSnapshotResponse>> createSnapshotWithHttpInfoAsync(CreateSnapshotRequest body)
See createSnapshotWithHttpInfo(com.datadog.api.client.v2.model.CreateSnapshotRequest).
body - (required)Copyright © 2026. All rights reserved.