@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AuthNMappingsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthNMappingsApi.ListAuthNMappingsOptionalParameters
Manage optional parameters to listAuthNMappings.
|
| Constructor and Description |
|---|
AuthNMappingsApi() |
AuthNMappingsApi(ApiClient apiClient) |
public AuthNMappingsApi()
public AuthNMappingsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic AuthNMappingResponse createAuthNMapping(AuthNMappingCreateRequest body) throws ApiException
See createAuthNMappingWithHttpInfo(com.datadog.api.client.v2.model.AuthNMappingCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<AuthNMappingResponse> createAuthNMappingAsync(AuthNMappingCreateRequest body)
See createAuthNMappingWithHttpInfoAsync(com.datadog.api.client.v2.model.AuthNMappingCreateRequest).
body - (required)public ApiResponse<AuthNMappingResponse> createAuthNMappingWithHttpInfo(AuthNMappingCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AuthNMappingResponse>> createAuthNMappingWithHttpInfoAsync(AuthNMappingCreateRequest body)
See createAuthNMappingWithHttpInfo(com.datadog.api.client.v2.model.AuthNMappingCreateRequest).
body - (required)public void deleteAuthNMapping(String authnMappingId) throws ApiException
authnMappingId - The UUID of the AuthN Mapping. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteAuthNMappingAsync(String authnMappingId)
authnMappingId - The UUID of the AuthN Mapping. (required)public ApiResponse<Void> deleteAuthNMappingWithHttpInfo(String authnMappingId) throws ApiException
authnMappingId - The UUID of the AuthN Mapping. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 403 | Authentication Error | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteAuthNMappingWithHttpInfoAsync(String authnMappingId)
authnMappingId - The UUID of the AuthN Mapping. (required)public AuthNMappingResponse getAuthNMapping(String authnMappingId) throws ApiException
authnMappingId - The UUID of the AuthN Mapping. (required)ApiException - if fails to make API callpublic CompletableFuture<AuthNMappingResponse> getAuthNMappingAsync(String authnMappingId)
authnMappingId - The UUID of the AuthN Mapping. (required)public ApiResponse<AuthNMappingResponse> getAuthNMappingWithHttpInfo(String authnMappingId) throws ApiException
authnMappingId - The UUID of the AuthN Mapping. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Authentication Error | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AuthNMappingResponse>> getAuthNMappingWithHttpInfoAsync(String authnMappingId)
authnMappingId - The UUID of the AuthN Mapping. (required)public AuthNMappingsResponse listAuthNMappings() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AuthNMappingsResponse> listAuthNMappingsAsync()
public AuthNMappingsResponse listAuthNMappings(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<AuthNMappingsResponse> listAuthNMappingsAsync(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<AuthNMappingsResponse> listAuthNMappingsWithHttpInfo(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AuthNMappingsResponse>> listAuthNMappingsWithHttpInfoAsync(AuthNMappingsApi.ListAuthNMappingsOptionalParameters parameters)
parameters - Optional parameters for the request.public AuthNMappingResponse updateAuthNMapping(String authnMappingId, AuthNMappingUpdateRequest body) throws ApiException
authnMappingId - The UUID of the AuthN Mapping. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<AuthNMappingResponse> updateAuthNMappingAsync(String authnMappingId, AuthNMappingUpdateRequest body)
authnMappingId - The UUID of the AuthN Mapping. (required)body - (required)public ApiResponse<AuthNMappingResponse> updateAuthNMappingWithHttpInfo(String authnMappingId, AuthNMappingUpdateRequest body) throws ApiException
authnMappingId - The UUID of the AuthN Mapping. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 422 | Unprocessable Entity | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AuthNMappingResponse>> updateAuthNMappingWithHttpInfoAsync(String authnMappingId, AuthNMappingUpdateRequest body)
authnMappingId - The UUID of the AuthN Mapping. (required)body - (required)Copyright © 2024. All rights reserved.