Package com.datadog.api.client.v2.api
Class ApmApi
java.lang.Object
com.datadog.api.client.v2.api.ApmApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApmApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.getServiceList(String filterEnv) Get service list.getServiceListAsync(String filterEnv) Get service list.getServiceListWithHttpInfo(String filterEnv) getServiceListWithHttpInfoAsync(String filterEnv) Get service list.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
ApmApi
public ApmApi() -
ApmApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getServiceList
Get service list.- Parameters:
filterEnv- Filter services by environment. Can be set to*to return all services across all environments. (required)- Returns:
- ServiceList
- Throws:
ApiException- if fails to make API call
-
getServiceListAsync
Get service list.- Parameters:
filterEnv- Filter services by environment. Can be set to*to return all services across all environments. (required)- Returns:
- CompletableFuture<ServiceList>
-
getServiceListWithHttpInfo
- Parameters:
filterEnv- Filter services by environment. Can be set to*to return all services across all environments. (required)- Returns:
- ApiResponse<ServiceList>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getServiceListWithHttpInfoAsync
public CompletableFuture<ApiResponse<ServiceList>> getServiceListWithHttpInfoAsync(String filterEnv) Get service list.- Parameters:
filterEnv- Filter services by environment. Can be set to*to return all services across all environments. (required)- Returns:
- CompletableFuture<ApiResponse<ServiceList>>
-