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="2024-09-27T08:40:29.297-07: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 all replication tasks defined by the policy.Collect diagnostic bundle for a policy.Create an ABFS Cloud Credential.Create an AWS Cloud Credential.createPolicy
(CreatePolicyRequest input) Create a Replication Policy.Delete Cloud Credential.deletePolicy
(DeletePolicyRequest input) Delete Replication Policy.Download diagnostic bundle for a policy.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.listPolicies
(ListPoliciesRequest input) Get All Replication Policies.Stop all replication tasks defined by the policy.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
-
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
-
createAbfsCredential
Create an ABFS Cloud Credential.- Parameters:
input
-- Returns:
- CreateAbfsCredentialResponse
-
createAwsCredential
Create an AWS Cloud Credential.- Parameters:
input
-- Returns:
- CreateAwsCredentialResponse
-
createPolicy
Create a Replication Policy.- Parameters:
input
-- Returns:
- CreatePolicyResponse
-
deleteCredential
Delete Cloud Credential.- Parameters:
input
-- Returns:
- DeleteCredentialResponse
-
deletePolicy
Delete Replication Policy.- Parameters:
input
-- Returns:
- DeletePolicyResponse
-
downloadDiagnosticBundle
public DownloadDiagnosticBundleResponse downloadDiagnosticBundle(DownloadDiagnosticBundleRequest input) Download diagnostic bundle for a policy.- Parameters:
input
-- Returns:
- DownloadDiagnosticBundleResponse
-
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
-
listPolicies
Get All Replication Policies.- Parameters:
input
-- Returns:
- ListPoliciesResponse
-
suspendPolicy
Stop all replication tasks defined by the policy.- Parameters:
input
-- Returns:
- SuspendPolicyResponse
-