Package com.cloudera.cdp.consumption.api
Class ConsumptionClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.consumption.api.ConsumptionClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:29.233-07:00")
public class ConsumptionClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionConsumptionClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) ConsumptionClient
(CdpRequestContext<?> context) -
Method Summary
Methods inherited from class com.cloudera.cdp.client.CdpClient
invokeAPI, invokeAPI, invokeAPI, invokeAPI, parameterToPair, parameterToPairs, parameterToString, shutdown
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Constructor Details
-
ConsumptionClient
public ConsumptionClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
ConsumptionClient
-
-
Method Details
-
getServiceName
Description copied from class:CdpClient
Gets the service name.- Specified by:
getServiceName
in classCdpClient
- Returns:
- the service name
-
getRequestContentType
Description copied from class:CdpClient
Gets the request Content-Type, used by 'Conent-Type' request header.- Overrides:
getRequestContentType
in classCdpClient
- Returns:
- the request Content-Type
-
getResponseContentType
Description copied from class:CdpClient
Gets the expected response Content-Type, used by 'Accept' request header.- Overrides:
getResponseContentType
in classCdpClient
- Returns:
- the response Content-Type
-
listComputeUsageRecords
public ListComputeUsageRecordsResponse listComputeUsageRecords(ListComputeUsageRecordsRequest input) Lists compute usage records.- Parameters:
input
-- Returns:
- ListComputeUsageRecordsResponse
-