@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ApmApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient()
Get the API client.
|
ServiceList |
getServiceList(String filterEnv)
Get service list.
|
CompletableFuture<ServiceList> |
getServiceListAsync(String filterEnv)
Get service list.
|
ApiResponse<ServiceList> |
getServiceListWithHttpInfo(String filterEnv) |
CompletableFuture<ApiResponse<ServiceList>> |
getServiceListWithHttpInfoAsync(String filterEnv)
Get service list.
|
void |
setApiClient(ApiClient apiClient)
Set the API client.
|
public ApmApi()
public ApmApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic ServiceList getServiceList(String filterEnv) throws ApiException
filterEnv - Filter services by environment. Can be set to * to return all
services across all environments. (required)ApiException - if fails to make API callpublic CompletableFuture<ServiceList> getServiceListAsync(String filterEnv)
filterEnv - Filter services by environment. Can be set to * to return all
services across all environments. (required)public ApiResponse<ServiceList> getServiceListWithHttpInfo(String filterEnv) throws ApiException
filterEnv - Filter services by environment. Can be set to * to return all
services across all environments. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<ServiceList>> getServiceListWithHttpInfoAsync(String filterEnv)
filterEnv - Filter services by environment. Can be set to * to return all
services across all environments. (required)Copyright © 2026. All rights reserved.