Package com.cloudera.cdp.drscp.model
Class Backup
java.lang.Object
com.cloudera.cdp.drscp.model.Backup
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:26.550-07:00")
public class Backup
extends Object
Backup entry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for backupCreationTime.Getter for backupCrn.Getter for backupJob.Getter for backupJobState.Getter for backupName.Getter for backupPhase.Getter for backupUpdatedTime.Getter for errors.Getter for includedNamespaces.Getter for warnings.int
hashCode()
void
setBackupCreationTime
(String backupCreationTime) Setter for backupCreationTime.void
setBackupCrn
(String backupCrn) Setter for backupCrn.void
setBackupJob
(String backupJob) Setter for backupJob.void
setBackupJobState
(String backupJobState) Setter for backupJobState.void
setBackupName
(String backupName) Setter for backupName.void
setBackupPhase
(String backupPhase) Setter for backupPhase.void
setBackupUpdatedTime
(String backupUpdatedTime) Setter for backupUpdatedTime.void
Setter for errors.void
setIncludedNamespaces
(List<String> includedNamespaces) Setter for includedNamespaces.void
setWarnings
(List<Message> warnings) Setter for warnings.toString()
-
Constructor Details
-
Backup
public Backup()
-
-
Method Details
-
getBackupCrn
Getter for backupCrn. The unique CRN of the backup. -
setBackupCrn
Setter for backupCrn. The unique CRN of the backup. -
getBackupCreationTime
Getter for backupCreationTime. The time when the backup was created. -
setBackupCreationTime
Setter for backupCreationTime. The time when the backup was created. -
getBackupName
Getter for backupName. The display name of the backup. -
setBackupName
Setter for backupName. The display name of the backup. -
getBackupUpdatedTime
Getter for backupUpdatedTime. The time when the backup was updated. -
setBackupUpdatedTime
Setter for backupUpdatedTime. The time when the backup was updated. -
getBackupPhase
Getter for backupPhase. The phase of the backup operation. The values are PENDING, PRE_VALIDATION, SAVING_OBJECTS, CREATING_SNAPSHOTS and FINISHED. PENDING indicates waiting for the job to start executing. PRE_VALIDATION indicates validation of the environment before backup. SAVING_OBJECTS indicates saving all the kubernetes resources related to the backup item. CREATING_SNAPSHOTS indicates creating a snapshot of all Kubernetes PersistentVolumeClaims related to the backup item and FINISHED indicates that the backup job has finished. -
setBackupPhase
Setter for backupPhase. The phase of the backup operation. The values are PENDING, PRE_VALIDATION, SAVING_OBJECTS, CREATING_SNAPSHOTS and FINISHED. PENDING indicates waiting for the job to start executing. PRE_VALIDATION indicates validation of the environment before backup. SAVING_OBJECTS indicates saving all the kubernetes resources related to the backup item. CREATING_SNAPSHOTS indicates creating a snapshot of all Kubernetes PersistentVolumeClaims related to the backup item and FINISHED indicates that the backup job has finished. -
getBackupJobState
Getter for backupJobState. The current state of the backup job. The values are NOT_STARTED, IN_PROGRESS, COMPLETED, PARTIALLY_FAILED, FAILED and TERMINATING. NOT_STARTED indicates the job has not started. IN_PROGRESS indicates the job is running. COMPLETED indicates the job has finished running successfully. PARTIALLY_FAILED indicates the job has finished running with some warnings. FAILED indicates the job has finished running with errors and TERMINATING indicates that the entity containing this job is being deleted. -
setBackupJobState
Setter for backupJobState. The current state of the backup job. The values are NOT_STARTED, IN_PROGRESS, COMPLETED, PARTIALLY_FAILED, FAILED and TERMINATING. NOT_STARTED indicates the job has not started. IN_PROGRESS indicates the job is running. COMPLETED indicates the job has finished running successfully. PARTIALLY_FAILED indicates the job has finished running with some warnings. FAILED indicates the job has finished running with errors and TERMINATING indicates that the entity containing this job is being deleted. -
getBackupJob
Getter for backupJob. The backup job name. -
setBackupJob
Setter for backupJob. The backup job name. -
getIncludedNamespaces
Getter for includedNamespaces. The list of namespaces to be included in backup. -
setIncludedNamespaces
Setter for includedNamespaces. The list of namespaces to be included in backup. -
getWarnings
Getter for warnings. The warnings from backup job. -
setWarnings
Setter for warnings. The warnings from backup job. -
getErrors
Getter for errors. The errors from backup job. -
setErrors
Setter for errors. The errors from backup job. -
equals
-
hashCode
public int hashCode() -
toString
-