Package com.cloudera.cdp.drscp.model
Class Restore
- java.lang.Object
-
- com.cloudera.cdp.drscp.model.Restore
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:52.889-07:00") public class Restore extends Object
Restore entry
-
-
Constructor Summary
Constructors Constructor Description Restore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBackupCrn()
Getter for backupCrn.List<Message>
getErrors()
Getter for errors.List<String>
getExcludedResources()
Getter for excludedResources.List<String>
getIncludedNamespaces()
Getter for includedNamespaces.String
getRestoreCreationTime()
Getter for restoreCreationTime.String
getRestoreCrn()
Getter for restoreCrn.String
getRestoreJob()
Getter for restoreJob.String
getRestoreJobState()
Getter for restoreJobState.String
getRestorePhase()
Getter for restorePhase.String
getRestoreUpdatedTime()
Getter for restoreUpdatedTime.List<String>
getSuccessConditions()
Getter for successConditions.List<Message>
getWarnings()
Getter for warnings.int
hashCode()
void
setBackupCrn(String backupCrn)
Setter for backupCrn.void
setErrors(List<Message> errors)
Setter for errors.void
setExcludedResources(List<String> excludedResources)
Setter for excludedResources.void
setIncludedNamespaces(List<String> includedNamespaces)
Setter for includedNamespaces.void
setRestoreCreationTime(String restoreCreationTime)
Setter for restoreCreationTime.void
setRestoreCrn(String restoreCrn)
Setter for restoreCrn.void
setRestoreJob(String restoreJob)
Setter for restoreJob.void
setRestoreJobState(String restoreJobState)
Setter for restoreJobState.void
setRestorePhase(String restorePhase)
Setter for restorePhase.void
setRestoreUpdatedTime(String restoreUpdatedTime)
Setter for restoreUpdatedTime.void
setSuccessConditions(List<String> successConditions)
Setter for successConditions.void
setWarnings(List<Message> warnings)
Setter for warnings.String
toString()
-
-
-
Method Detail
-
getRestoreCrn
public String getRestoreCrn()
Getter for restoreCrn. The CRN of the restore.
-
setRestoreCrn
public void setRestoreCrn(String restoreCrn)
Setter for restoreCrn. The CRN of the restore.
-
getBackupCrn
public String getBackupCrn()
Getter for backupCrn. The CRN of the backup.
-
setBackupCrn
public void setBackupCrn(String backupCrn)
Setter for backupCrn. The CRN of the backup.
-
getRestoreCreationTime
public String getRestoreCreationTime()
Getter for restoreCreationTime. The time when the restore was created.
-
setRestoreCreationTime
public void setRestoreCreationTime(String restoreCreationTime)
Setter for restoreCreationTime. The time when the restore was created.
-
getRestoreUpdatedTime
public String getRestoreUpdatedTime()
Getter for restoreUpdatedTime. The updated time of the restore.
-
setRestoreUpdatedTime
public void setRestoreUpdatedTime(String restoreUpdatedTime)
Setter for restoreUpdatedTime. The updated time of the restore.
-
getExcludedResources
public List<String> getExcludedResources()
Getter for excludedResources. The list of resources to be excluded in restore.
-
setExcludedResources
public void setExcludedResources(List<String> excludedResources)
Setter for excludedResources. The list of resources to be excluded in restore.
-
getIncludedNamespaces
public List<String> getIncludedNamespaces()
Getter for includedNamespaces. The list of namespaces to be included in restore.
-
setIncludedNamespaces
public void setIncludedNamespaces(List<String> includedNamespaces)
Setter for includedNamespaces. The list of namespaces to be included in restore.
-
getSuccessConditions
public List<String> getSuccessConditions()
Getter for successConditions. The list of conditions to be met for a successful restore.
-
setSuccessConditions
public void setSuccessConditions(List<String> successConditions)
Setter for successConditions. The list of conditions to be met for a successful restore.
-
getRestorePhase
public String 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
public void setRestorePhase(String restorePhase)
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
public String 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
public void setRestoreJobState(String restoreJobState)
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.
-
getRestoreJob
public String getRestoreJob()
Getter for restoreJob. The restore job name.
-
setRestoreJob
public void setRestoreJob(String restoreJob)
Setter for restoreJob. The restore job name.
-
setWarnings
public void setWarnings(List<Message> warnings)
Setter for warnings. The warnings from restore job.
-
setErrors
public void setErrors(List<Message> errors)
Setter for errors. The errors from restore job.
-
-