@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ChangeManagementApi extends Object
| Constructor and Description |
|---|
ChangeManagementApi() |
ChangeManagementApi(ApiClient apiClient) |
public ChangeManagementApi()
public ChangeManagementApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic ChangeRequestResponse createChangeRequest(ChangeRequestCreateRequest body) throws ApiException
See createChangeRequestWithHttpInfo(com.datadog.api.client.v2.model.ChangeRequestCreateRequest).
body - Change request payload. (required)ApiException - if fails to make API callpublic CompletableFuture<ChangeRequestResponse> createChangeRequestAsync(ChangeRequestCreateRequest body)
See createChangeRequestWithHttpInfoAsync(com.datadog.api.client.v2.model.ChangeRequestCreateRequest).
body - Change request payload. (required)public ApiResponse<ChangeRequestResponse> createChangeRequestWithHttpInfo(ChangeRequestCreateRequest body) throws ApiException
body - Change request payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | Created | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ChangeRequestResponse>> createChangeRequestWithHttpInfoAsync(ChangeRequestCreateRequest body)
See createChangeRequestWithHttpInfo(com.datadog.api.client.v2.model.ChangeRequestCreateRequest).
body - Change request payload. (required)public ChangeRequestResponse createChangeRequestBranch(String changeRequestId, ChangeRequestBranchCreateRequest body) throws ApiException
changeRequestId - The identifier of the change request. (required)body - Branch creation payload. (required)ApiException - if fails to make API callpublic CompletableFuture<ChangeRequestResponse> createChangeRequestBranchAsync(String changeRequestId, ChangeRequestBranchCreateRequest body)
changeRequestId - The identifier of the change request. (required)body - Branch creation payload. (required)public ApiResponse<ChangeRequestResponse> createChangeRequestBranchWithHttpInfo(String changeRequestId, ChangeRequestBranchCreateRequest body) throws ApiException
changeRequestId - The identifier of the change request. (required)body - Branch creation payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ChangeRequestResponse>> createChangeRequestBranchWithHttpInfoAsync(String changeRequestId, ChangeRequestBranchCreateRequest body)
changeRequestId - The identifier of the change request. (required)body - Branch creation payload. (required)public ChangeRequestResponse deleteChangeRequestDecision(String changeRequestId, String decisionId) throws ApiException
See deleteChangeRequestDecisionWithHttpInfo(java.lang.String, java.lang.String).
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)ApiException - if fails to make API callpublic CompletableFuture<ChangeRequestResponse> deleteChangeRequestDecisionAsync(String changeRequestId, String decisionId)
See deleteChangeRequestDecisionWithHttpInfoAsync(java.lang.String, java.lang.String).
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)public ApiResponse<ChangeRequestResponse> deleteChangeRequestDecisionWithHttpInfo(String changeRequestId, String decisionId) throws ApiException
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ChangeRequestResponse>> deleteChangeRequestDecisionWithHttpInfoAsync(String changeRequestId, String decisionId)
See deleteChangeRequestDecisionWithHttpInfo(java.lang.String, java.lang.String).
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)public ChangeRequestResponse getChangeRequest(String changeRequestId) throws ApiException
changeRequestId - The identifier of the change request. (required)ApiException - if fails to make API callpublic CompletableFuture<ChangeRequestResponse> getChangeRequestAsync(String changeRequestId)
changeRequestId - The identifier of the change request. (required)public ApiResponse<ChangeRequestResponse> getChangeRequestWithHttpInfo(String changeRequestId) throws ApiException
changeRequestId - The identifier of the change request. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ChangeRequestResponse>> getChangeRequestWithHttpInfoAsync(String changeRequestId)
changeRequestId - The identifier of the change request. (required)public ChangeRequestResponse updateChangeRequest(String changeRequestId, ChangeRequestUpdateRequest body) throws ApiException
changeRequestId - The identifier of the change request. (required)body - Change request update payload. (required)ApiException - if fails to make API callpublic CompletableFuture<ChangeRequestResponse> updateChangeRequestAsync(String changeRequestId, ChangeRequestUpdateRequest body)
changeRequestId - The identifier of the change request. (required)body - Change request update payload. (required)public ApiResponse<ChangeRequestResponse> updateChangeRequestWithHttpInfo(String changeRequestId, ChangeRequestUpdateRequest body) throws ApiException
changeRequestId - The identifier of the change request. (required)body - Change request update payload. (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<ChangeRequestResponse>> updateChangeRequestWithHttpInfoAsync(String changeRequestId, ChangeRequestUpdateRequest body)
changeRequestId - The identifier of the change request. (required)body - Change request update payload. (required)public ChangeRequestResponse updateChangeRequestDecision(String changeRequestId, String decisionId, ChangeRequestDecisionUpdateRequest body) throws ApiException
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)body - Decision update payload. (required)ApiException - if fails to make API callpublic CompletableFuture<ChangeRequestResponse> updateChangeRequestDecisionAsync(String changeRequestId, String decisionId, ChangeRequestDecisionUpdateRequest body)
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)body - Decision update payload. (required)public ApiResponse<ChangeRequestResponse> updateChangeRequestDecisionWithHttpInfo(String changeRequestId, String decisionId, ChangeRequestDecisionUpdateRequest body) throws ApiException
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)body - Decision update payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ChangeRequestResponse>> updateChangeRequestDecisionWithHttpInfoAsync(String changeRequestId, String decisionId, ChangeRequestDecisionUpdateRequest body)
changeRequestId - The identifier of the change request. (required)decisionId - The identifier of the change request decision. (required)body - Decision update payload. (required)Copyright © 2026. All rights reserved.