Class ReplicationmanagerClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.replicationmanager.api.ReplicationmanagerClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-01-23T07:12:43.267-08:00")
public class ReplicationmanagerClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionReplicationmanagerClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) ReplicationmanagerClient
(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptionResume a suspended HBase replication policy.Resume all replication tasks defined by the policy.Collect diagnostic bundle for a policy.Continue the setup of an HBase policy.Create an ABFS Cloud Credential.Create an AWS Cloud Credential.Create an HBase Replication Policy.createPolicy
(CreatePolicyRequest input) Create a Replication Policy.Delete Cloud Credential.Delete an HBase Replication Policy.deletePolicy
(DeletePolicyRequest input) Delete Replication Policy.Download diagnostic bundle for a policy.Get configuration of a cluster.Get the status of the given CM command.Get Cloud Credentials from a Cluster.protected 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.Lists Cloud Credentials.listClusters
(ListClustersRequest input) Lists all clusters.Lists Cluster Service Statuses.List cluster CRNs which have an active HBase policy.listPolicies
(ListPoliciesRequest input) Get All Replication Policies.Suspend an HBase replication policy.Stop all replication tasks defined by the policy.Update an HBase Replication Policy.Verify a source-destination cluster pair for HBase policy creation.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
-
ReplicationmanagerClient
public ReplicationmanagerClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
ReplicationmanagerClient
-
-
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
-
activateHbasePolicy
Resume a suspended HBase replication policy.- Parameters:
input
-- Returns:
- ActivateHbasePolicyResponse
-
activatePolicy
Resume all replication tasks defined by the policy.- Parameters:
input
-- Returns:
- ActivatePolicyResponse
-
collectDiagnosticBundle
public CollectDiagnosticBundleResponse collectDiagnosticBundle(CollectDiagnosticBundleRequest input) Collect diagnostic bundle for a policy.- Parameters:
input
-- Returns:
- CollectDiagnosticBundleResponse
-
continueHbaseSetup
Continue the setup of an HBase policy.- Parameters:
input
-- Returns:
- ContinueHbaseSetupResponse
-
createAbfsCredential
Create an ABFS Cloud Credential.- Parameters:
input
-- Returns:
- CreateAbfsCredentialResponse
-
createAwsCredential
Create an AWS Cloud Credential.- Parameters:
input
-- Returns:
- CreateAwsCredentialResponse
-
createHbasePolicy
Create an HBase Replication Policy.- Parameters:
input
-- Returns:
- CreateHbasePolicyResponse
-
createPolicy
Create a Replication Policy.- Parameters:
input
-- Returns:
- CreatePolicyResponse
-
deleteCredential
Delete Cloud Credential.- Parameters:
input
-- Returns:
- DeleteCredentialResponse
-
deleteHbasePolicy
Delete an HBase Replication Policy.- Parameters:
input
-- Returns:
- DeleteHbasePolicyResponse
-
deletePolicy
Delete Replication Policy.- Parameters:
input
-- Returns:
- DeletePolicyResponse
-
downloadDiagnosticBundle
public DownloadDiagnosticBundleResponse downloadDiagnosticBundle(DownloadDiagnosticBundleRequest input) Download diagnostic bundle for a policy.- Parameters:
input
-- Returns:
- DownloadDiagnosticBundleResponse
-
getClusterConfig
Get configuration of a cluster.- Parameters:
input
-- Returns:
- GetClusterConfigResponse
-
getCommandStatus
Get the status of the given CM command.- Parameters:
input
-- Returns:
- GetCommandStatusResponse
-
getCredentials
Get Cloud Credentials from a Cluster.- Parameters:
input
-- Returns:
- GetCredentialsResponse
-
listAllCredentials
Lists Cloud Credentials.- Parameters:
input
-- Returns:
- ListAllCredentialsResponse
-
listClusterServiceStatuses
public ListClusterServiceStatusesResponse listClusterServiceStatuses(ListClusterServiceStatusesRequest input) Lists Cluster Service Statuses.- Parameters:
input
-- Returns:
- ListClusterServiceStatusesResponse
-
listClusters
Lists all clusters.- Parameters:
input
-- Returns:
- ListClustersResponse
-
listPairedHbaseClusters
public ListPairedHbaseClustersResponse listPairedHbaseClusters(ListPairedHbaseClustersRequest input) List cluster CRNs which have an active HBase policy.- Parameters:
input
-- Returns:
- ListPairedHbaseClustersResponse
-
listPolicies
Get All Replication Policies.- Parameters:
input
-- Returns:
- ListPoliciesResponse
-
suspendHbasePolicy
Suspend an HBase replication policy.- Parameters:
input
-- Returns:
- SuspendHbasePolicyResponse
-
suspendPolicy
Stop all replication tasks defined by the policy.- Parameters:
input
-- Returns:
- SuspendPolicyResponse
-
updateHbasePolicy
Update an HBase Replication Policy.- Parameters:
input
-- Returns:
- UpdateHbasePolicyResponse
-
verifyHbaseClusterPair
Verify a source-destination cluster pair for HBase policy creation.- Parameters:
input
-- Returns:
- VerifyHbaseClusterPairResponse
-