@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ConfluentCloudApi extends Object
Constructor and Description |
---|
ConfluentCloudApi() |
ConfluentCloudApi(ApiClient apiClient) |
public ConfluentCloudApi()
public ConfluentCloudApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic ConfluentAccountResponse createConfluentAccount(ConfluentAccountCreateRequest body) throws ApiException
See createConfluentAccountWithHttpInfo(com.datadog.api.client.v2.model.ConfluentAccountCreateRequest)
.
body
- Confluent payload (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentAccountResponse> createConfluentAccountAsync(ConfluentAccountCreateRequest body)
body
- Confluent payload (required)public ApiResponse<ConfluentAccountResponse> createConfluentAccountWithHttpInfo(ConfluentAccountCreateRequest body) throws ApiException
body
- Confluent payload (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
201 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentAccountResponse>> createConfluentAccountWithHttpInfoAsync(ConfluentAccountCreateRequest body)
See createConfluentAccountWithHttpInfo(com.datadog.api.client.v2.model.ConfluentAccountCreateRequest)
.
body
- Confluent payload (required)public ConfluentResourceResponse createConfluentResource(String accountId, ConfluentResourceRequest body) throws ApiException
accountId
- Confluent Account id. (required)body
- Confluent payload (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentResourceResponse> createConfluentResourceAsync(String accountId, ConfluentResourceRequest body)
accountId
- Confluent Account id. (required)body
- Confluent payload (required)public ApiResponse<ConfluentResourceResponse> createConfluentResourceWithHttpInfo(String accountId, ConfluentResourceRequest body) throws ApiException
accountId
- Confluent Account id. (required)body
- Confluent payload (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
201 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentResourceResponse>> createConfluentResourceWithHttpInfoAsync(String accountId, ConfluentResourceRequest body)
accountId
- Confluent Account id. (required)body
- Confluent payload (required)public void deleteConfluentAccount(String accountId) throws ApiException
accountId
- Confluent Account id. (required)ApiException
- if fails to make API callpublic CompletableFuture<Void> deleteConfluentAccountAsync(String accountId)
See deleteConfluentAccountWithHttpInfoAsync(java.lang.String)
.
accountId
- Confluent Account id. (required)public ApiResponse<Void> deleteConfluentAccountWithHttpInfo(String accountId) throws ApiException
accountId
- Confluent Account id. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
204 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteConfluentAccountWithHttpInfoAsync(String accountId)
accountId
- Confluent Account id. (required)public void deleteConfluentResource(String accountId, String resourceId) throws ApiException
See deleteConfluentResourceWithHttpInfo(java.lang.String, java.lang.String)
.
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)ApiException
- if fails to make API callpublic CompletableFuture<Void> deleteConfluentResourceAsync(String accountId, String resourceId)
See deleteConfluentResourceWithHttpInfoAsync(java.lang.String, java.lang.String)
.
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)public ApiResponse<Void> deleteConfluentResourceWithHttpInfo(String accountId, String resourceId) throws ApiException
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
204 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteConfluentResourceWithHttpInfoAsync(String accountId, String resourceId)
See deleteConfluentResourceWithHttpInfo(java.lang.String, java.lang.String)
.
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)public ConfluentAccountResponse getConfluentAccount(String accountId) throws ApiException
accountId
- Confluent Account id. (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentAccountResponse> getConfluentAccountAsync(String accountId)
accountId
- Confluent Account id. (required)public ApiResponse<ConfluentAccountResponse> getConfluentAccountWithHttpInfo(String accountId) throws ApiException
accountId
- Confluent Account id. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentAccountResponse>> getConfluentAccountWithHttpInfoAsync(String accountId)
accountId
- Confluent Account id. (required)public ConfluentResourceResponse getConfluentResource(String accountId, String resourceId) throws ApiException
See getConfluentResourceWithHttpInfo(java.lang.String, java.lang.String)
.
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentResourceResponse> getConfluentResourceAsync(String accountId, String resourceId)
See getConfluentResourceWithHttpInfoAsync(java.lang.String, java.lang.String)
.
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)public ApiResponse<ConfluentResourceResponse> getConfluentResourceWithHttpInfo(String accountId, String resourceId) throws ApiException
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentResourceResponse>> getConfluentResourceWithHttpInfoAsync(String accountId, String resourceId)
See getConfluentResourceWithHttpInfo(java.lang.String, java.lang.String)
.
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)public ConfluentAccountsResponse listConfluentAccount() throws ApiException
ApiException
- if fails to make API callpublic CompletableFuture<ConfluentAccountsResponse> listConfluentAccountAsync()
public ApiResponse<ConfluentAccountsResponse> listConfluentAccountWithHttpInfo() throws ApiException
ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentAccountsResponse>> listConfluentAccountWithHttpInfoAsync()
public ConfluentResourcesResponse listConfluentResource(String accountId) throws ApiException
accountId
- Confluent Account id. (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentResourcesResponse> listConfluentResourceAsync(String accountId)
See listConfluentResourceWithHttpInfoAsync(java.lang.String)
.
accountId
- Confluent Account id. (required)public ApiResponse<ConfluentResourcesResponse> listConfluentResourceWithHttpInfo(String accountId) throws ApiException
accountId
- Confluent Account id. (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentResourcesResponse>> listConfluentResourceWithHttpInfoAsync(String accountId)
accountId
- Confluent Account id. (required)public ConfluentAccountResponse updateConfluentAccount(String accountId, ConfluentAccountUpdateRequest body) throws ApiException
accountId
- Confluent Account id. (required)body
- Confluent payload (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentAccountResponse> updateConfluentAccountAsync(String accountId, ConfluentAccountUpdateRequest body)
accountId
- Confluent Account id. (required)body
- Confluent payload (required)public ApiResponse<ConfluentAccountResponse> updateConfluentAccountWithHttpInfo(String accountId, ConfluentAccountUpdateRequest body) throws ApiException
accountId
- Confluent Account id. (required)body
- Confluent payload (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentAccountResponse>> updateConfluentAccountWithHttpInfoAsync(String accountId, ConfluentAccountUpdateRequest body)
accountId
- Confluent Account id. (required)body
- Confluent payload (required)public ConfluentResourceResponse updateConfluentResource(String accountId, String resourceId, ConfluentResourceRequest body) throws ApiException
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)body
- Confluent payload (required)ApiException
- if fails to make API callpublic CompletableFuture<ConfluentResourceResponse> updateConfluentResourceAsync(String accountId, String resourceId, ConfluentResourceRequest body)
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)body
- Confluent payload (required)public ApiResponse<ConfluentResourceResponse> updateConfluentResourceWithHttpInfo(String accountId, String resourceId, ConfluentResourceRequest body) throws ApiException
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)body
- Confluent payload (required)ApiException
- if fails to make API callStatus Code | Description | Response Headers |
200 | OK | - |
400 | Bad Request | - |
403 | Forbidden | - |
404 | Not Found | - |
429 | Too many requests | - |
public CompletableFuture<ApiResponse<ConfluentResourceResponse>> updateConfluentResourceWithHttpInfoAsync(String accountId, String resourceId, ConfluentResourceRequest body)
accountId
- Confluent Account id. (required)resourceId
- Confluent Account Resource ID. (required)body
- Confluent payload (required)Copyright © 2023. All rights reserved.