Package com.cloudera.cdp.drscp.api
Class DrscpClient
java.lang.Object
com.cloudera.cdp.client.CdpClient
com.cloudera.cdp.drscp.api.DrscpClient
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:26.550-07:00")
public class DrscpClient
extends CdpClient
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpClient
NO_EXTENSION
-
Constructor Summary
ConstructorDescriptionDrscpClient
(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) DrscpClient
(CdpRequestContext<?> context) -
Method Summary
Modifier and TypeMethodDescriptioncreateBackup
(CreateBackupRequest input) Creates a backup for the control plane.deleteBackup
(DeleteBackupRequest input) Deletes a control plane backup.Describes the backup.Restores the backup.getLogs
(GetLogsRequest input) Gets job logs.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 potential backup entities associated with the control plane.listBackups
(ListBackupsRequest input) Lists backupslistRestores
(ListRestoresRequest input) Lists restores.Restores backup.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
-
DrscpClient
public DrscpClient(CdpCredentials credentials, String endPoint, CdpClientConfiguration clientConfiguration) -
DrscpClient
-
-
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
-
createBackup
Creates a backup for the control plane.- Parameters:
input
-- Returns:
- CreateBackupResponse
-
deleteBackup
Deletes a control plane backup.- Parameters:
input
-- Returns:
- DeleteBackupResponse
-
describeBackup
Describes the backup.- Parameters:
input
-- Returns:
- DescribeBackupResponse
-
describeRestore
Restores the backup.- Parameters:
input
-- Returns:
- DescribeRestoreResponse
-
getLogs
Gets job logs.- Parameters:
input
-- Returns:
- GetLogsResponse
-
listBackupEntities
Lists potential backup entities associated with the control plane.- Parameters:
input
-- Returns:
- ListBackupEntitiesResponse
-
listBackups
Lists backups- Parameters:
input
-- Returns:
- ListBackupsResponse
-
listRestores
Lists restores.- Parameters:
input
-- Returns:
- ListRestoresResponse
-
restoreBackup
Restores backup.- Parameters:
input
-- Returns:
- RestoreBackupResponse
-