Class RestoreSnapshot

java.lang.Object
com.cloudera.cdp.opdb.model.RestoreSnapshot

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-01-23T07:12:41.282-08:00") public class RestoreSnapshot extends Object
An instance of restoring a snapshot to a database.
  • Constructor Details

    • RestoreSnapshot

      public RestoreSnapshot()
  • Method Details

    • getSnapshotName

      public String getSnapshotName()
      Getter for snapshotName. The name of the snapshot.
    • setSnapshotName

      public void setSnapshotName(String snapshotName)
      Setter for snapshotName. The name of the snapshot.
    • getTargetEnvironmentName

      public String getTargetEnvironmentName()
      Getter for targetEnvironmentName. The name of the target environment.
    • setTargetEnvironmentName

      public void setTargetEnvironmentName(String targetEnvironmentName)
      Setter for targetEnvironmentName. The name of the target environment.
    • getTargetDatabaseName

      public String getTargetDatabaseName()
      Getter for targetDatabaseName. The name of the target database.
    • setTargetDatabaseName

      public void setTargetDatabaseName(String targetDatabaseName)
      Setter for targetDatabaseName. The name of the target database.
    • getStatus

      public String getStatus()
      Getter for status. The status of the restore snapshot.
    • setStatus

      public void setStatus(String status)
      Setter for status. The status of the restore snapshot.
    • getRestoreTime

      public Long getRestoreTime()
      Getter for restoreTime. The time when the snapshot restore was started.
    • setRestoreTime

      public void setRestoreTime(Long restoreTime)
      Setter for restoreTime. The time when the snapshot restore was started.
    • getCommandID

      public Long getCommandID()
      Getter for commandID. The submitted Command ID of the restore snapshot.
    • setCommandID

      public void setCommandID(Long commandID)
      Setter for commandID. The submitted Command ID of the restore snapshot.
    • getFailureReason

      public String getFailureReason()
      Getter for failureReason. Reason for the failure in case of restore snapshot failed.
    • setFailureReason

      public void setFailureReason(String failureReason)
      Setter for failureReason. Reason for the failure in case of restore snapshot failed.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object