Class BackupValidationDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190415")
    public final class BackupValidationDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Backup validation details.
    Note: Objects should always be created or deserialized using the BackupValidationDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the BackupValidationDetails.Builder, which maintain a set of all explicitly set fields called BackupValidationDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getValidationStatus

        public BackupValidationDetails.ValidationStatus getValidationStatus()
        The status of backup validation: NOT_VALIDATED (Default): The backup has not been validated.

        VALIDATED: The backup has been validated successfully. NEEDS_ATTENTION: The backup validation failed due to a transient issue. Validation should be retried. FAILED: The backup cannot be restored.

        Returns:
        the value
      • getTimeLastValidated

        public Date getTimeLastValidated()
        The date and time of the most recent validation performed on the backup.
        Returns:
        the value
      • getEstimatedRestoreDuration

        public String getEstimatedRestoreDuration()
        The estimated restore duration of the backup.
        Returns:
        the value
      • getErrorMessage

        public String getErrorMessage()
        Error message if the backup validation has failed.
        Returns:
        the value
      • getBackupPreparationStatus

        public BackupValidationDetails.BackupPreparationStatus getBackupPreparationStatus()
        Indicates whether the backup has been prepared successfully.

        PREPARED: The backup is prepared one. NOT_PREPARED: The backup is not prepared.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel