Package com.cloudera.cdp.drscp.model
Class SimpleBackup
- java.lang.Object
-
- com.cloudera.cdp.drscp.model.SimpleBackup
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-14T10:47:18.347-07:00") public class SimpleBackup extends Object
A simple backup entry for listBackup usage
-
-
Constructor Summary
Constructors Constructor Description SimpleBackup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBackupCreationTime()
Getter for backupCreationTime.String
getBackupCrn()
Getter for backupCrn.String
getBackupJobState()
Getter for backupJobState.String
getBackupName()
Getter for backupName.String
getBackupPhase()
Getter for backupPhase.int
hashCode()
void
setBackupCreationTime(String backupCreationTime)
Setter for backupCreationTime.void
setBackupCrn(String backupCrn)
Setter for backupCrn.void
setBackupJobState(String backupJobState)
Setter for backupJobState.void
setBackupName(String backupName)
Setter for backupName.void
setBackupPhase(String backupPhase)
Setter for backupPhase.String
toString()
-
-
-
Method Detail
-
getBackupCrn
public String getBackupCrn()
Getter for backupCrn. The unique CRN of the backup.
-
setBackupCrn
public void setBackupCrn(String backupCrn)
Setter for backupCrn. The unique CRN of the backup.
-
getBackupName
public String getBackupName()
Getter for backupName. The display name of the backup.
-
setBackupName
public void setBackupName(String backupName)
Setter for backupName. The display name of the backup.
-
getBackupCreationTime
public String getBackupCreationTime()
Getter for backupCreationTime. The time when the backup was created.
-
setBackupCreationTime
public void setBackupCreationTime(String backupCreationTime)
Setter for backupCreationTime. The time when the backup was created.
-
getBackupPhase
public String 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
public void setBackupPhase(String backupPhase)
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
public String 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
public void setBackupJobState(String backupJobState)
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.
-
-