Package com.cloudera.cdp.drscp.model
Class SimpleRestore
java.lang.Object
com.cloudera.cdp.drscp.model.SimpleRestore
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:26.550-07:00")
public class SimpleRestore
extends Object
A simple Restore entry for listRestore Usage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for backupCrn.Getter for includedNamespaces.Getter for restoreCreationTime.Getter for restoreCrn.Getter for restoreJobState.Getter for restorePhase.int
hashCode()
void
setBackupCrn
(String backupCrn) Setter for backupCrn.void
setIncludedNamespaces
(List<String> includedNamespaces) Setter for includedNamespaces.void
setRestoreCreationTime
(String restoreCreationTime) Setter for restoreCreationTime.void
setRestoreCrn
(String restoreCrn) Setter for restoreCrn.void
setRestoreJobState
(String restoreJobState) Setter for restoreJobState.void
setRestorePhase
(String restorePhase) Setter for restorePhase.toString()
-
Constructor Details
-
SimpleRestore
public SimpleRestore()
-
-
Method Details
-
getRestoreCrn
Getter for restoreCrn. The CRN of the restore. -
setRestoreCrn
Setter for restoreCrn. The CRN of the restore. -
getBackupCrn
Getter for backupCrn. The CRN of the backup. -
setBackupCrn
Setter for backupCrn. The CRN of the backup. -
getRestoreCreationTime
Getter for restoreCreationTime. The time when the restore was created. -
setRestoreCreationTime
Setter for restoreCreationTime. The time when the restore was created. -
getIncludedNamespaces
Getter for includedNamespaces. The list of namespaces to be included in restore. -
setIncludedNamespaces
Setter for includedNamespaces. The list of namespaces to be included in restore. -
getRestorePhase
Getter for restorePhase. The phase of the restore operation. The values are PENDING, PRE_VALIDATION, STOPPING_APPS, DELETING_OBJECTS, DELETING_OBJECTS_PVC, RESTORING_PVC, RESTORING_OBJECTS, STARTING_APPS and FINISHED. PENDING indicates waiting for the job to start executing. PRE_VALIDATION indicates validation of the environment before restore. STOPPING_APPS indicates stopping the microservices before data restore. DELETING_OBJECTS indicates deletion of Kubernetes resources other than PersistentVolumeClaims. DELETING_OBJECTS_PVC indicates deletion of Kubernetes PersistentVolumeClaims. RESTORING_PVC indicates creation of Kubernetes PersistentVolumeClaims. RESTORING_OBJECTS indicates creating of Kubernetes objects other than PersistentVolumeClaims. STARTING_APPS indicates starting of the microservices after data restore and FINISHED indicates the restore job has finished. -
setRestorePhase
Setter for restorePhase. The phase of the restore operation. The values are PENDING, PRE_VALIDATION, STOPPING_APPS, DELETING_OBJECTS, DELETING_OBJECTS_PVC, RESTORING_PVC, RESTORING_OBJECTS, STARTING_APPS and FINISHED. PENDING indicates waiting for the job to start executing. PRE_VALIDATION indicates validation of the environment before restore. STOPPING_APPS indicates stopping the microservices before data restore. DELETING_OBJECTS indicates deletion of Kubernetes resources other than PersistentVolumeClaims. DELETING_OBJECTS_PVC indicates deletion of Kubernetes PersistentVolumeClaims. RESTORING_PVC indicates creation of Kubernetes PersistentVolumeClaims. RESTORING_OBJECTS indicates creating of Kubernetes objects other than PersistentVolumeClaims. STARTING_APPS indicates starting of the microservices after data restore and FINISHED indicates the restore job has finished. -
getRestoreJobState
Getter for restoreJobState. The current state of the restore 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. -
setRestoreJobState
Setter for restoreJobState. The current state of the restore 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. -
equals
-
hashCode
public int hashCode() -
toString
-