Package com.cloudera.cdp.opdb.model
Class RestoreSnapshot
java.lang.Object
com.cloudera.cdp.opdb.model.RestoreSnapshot
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-03-19T13:03:29.900-07:00")
public class RestoreSnapshot
extends Object
An instance of restoring a snapshot to a database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for commandID.Getter for failureReason.Getter for restoreId.Getter for restoreTime.Getter for snapshotId.Getter for snapshotName.Getter for status.Getter for targetDatabaseName.Getter for targetEnvironmentName.int
hashCode()
void
setCommandID
(Long commandID) Setter for commandID.void
setFailureReason
(String failureReason) Setter for failureReason.void
setRestoreId
(Long restoreId) Setter for restoreId.void
setRestoreTime
(Long restoreTime) Setter for restoreTime.void
setSnapshotId
(Long snapshotId) Setter for snapshotId.void
setSnapshotName
(String snapshotName) Setter for snapshotName.void
Setter for status.void
setTargetDatabaseName
(String targetDatabaseName) Setter for targetDatabaseName.void
setTargetEnvironmentName
(String targetEnvironmentName) Setter for targetEnvironmentName.toString()
-
Constructor Details
-
RestoreSnapshot
public RestoreSnapshot()
-
-
Method Details
-
getRestoreId
Getter for restoreId. The id of the restore snapshot. -
setRestoreId
Setter for restoreId. The id of the restore snapshot. -
getSnapshotId
Getter for snapshotId. The id of the snapshot. -
setSnapshotId
Setter for snapshotId. The id of the snapshot. -
getSnapshotName
Getter for snapshotName. The name of the snapshot. -
setSnapshotName
Setter for snapshotName. The name of the snapshot. -
getTargetEnvironmentName
Getter for targetEnvironmentName. The name of the target environment. -
setTargetEnvironmentName
Setter for targetEnvironmentName. The name of the target environment. -
getTargetDatabaseName
Getter for targetDatabaseName. The name of the target database. -
setTargetDatabaseName
Setter for targetDatabaseName. The name of the target database. -
getStatus
Getter for status. The status of the restore snapshot. -
setStatus
Setter for status. The status of the restore snapshot. -
getRestoreTime
Getter for restoreTime. The time when the snapshot restore was started. -
setRestoreTime
Setter for restoreTime. The time when the snapshot restore was started. -
getCommandID
Getter for commandID. The submitted Command ID of the restore snapshot. -
setCommandID
Setter for commandID. The submitted Command ID of the restore snapshot. -
getFailureReason
Getter for failureReason. Reason for the failure in case of restore snapshot failed. -
setFailureReason
Setter for failureReason. Reason for the failure in case of restore snapshot failed. -
equals
-
hashCode
public int hashCode() -
toString
-