Package com.cloudera.cdp.compute.api
Class ComputeClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.compute.api.ComputeClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:29.145-07:00")
public class ComputeClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionComputeClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) ComputeClient
(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptionDescribes a deploymentprotected String
Gets the request Content-Type, used by 'Conent-Type' request header.protected String
Gets the expected response Content-Type, used by 'Accept' request header.protected String
Gets the service name.listClusters
(ListClustersRequest input) List compute clustersUpgrades a deployment to a different chart.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
-
ComputeClient
public ComputeClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
ComputeClient
-
-
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
-
describeDeployment
Describes a deployment- Parameters:
input
-- Returns:
- DescribeDeploymentResponse
-
listClusters
List compute clusters- Parameters:
input
-- Returns:
- ListClustersResponse
-
upgradeDeployment
Upgrades a deployment to a different chart.- Parameters:
input
-- Returns:
- UpgradeDeploymentResponse
-