Class MetricsSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210216")
    public final class MetricsSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Backup performance and storage utilization metrics for the Protected Database.
    Note: Objects should always be created or deserialized using the MetricsSummary.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 MetricsSummary.Builder, which maintain a set of all explicitly set fields called MetricsSummary.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).
    • Constructor Detail

      • MetricsSummary

        @Deprecated
        @ConstructorProperties({"backupSpaceUsedInGBs","backupSpaceEstimateInGBs","unprotectedWindowInSeconds","dbSizeInGBs","isRedoLogsEnabled","retentionPeriodInDays","currentRetentionPeriodInSeconds","minimumRecoveryNeededInDays"})
        public MetricsSummary​(Float backupSpaceUsedInGBs,
                              Float backupSpaceEstimateInGBs,
                              Float unprotectedWindowInSeconds,
                              Float dbSizeInGBs,
                              Boolean isRedoLogsEnabled,
                              Float retentionPeriodInDays,
                              Float currentRetentionPeriodInSeconds,
                              Float minimumRecoveryNeededInDays)
        Deprecated.
    • Method Detail

      • getBackupSpaceUsedInGBs

        public Float getBackupSpaceUsedInGBs()
        Backup storage space, in gigabytes, utilized by the protected database.

        Oracle charges for the total storage used.

        Returns:
        the value
      • getBackupSpaceEstimateInGBs

        public Float getBackupSpaceEstimateInGBs()
        The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
        Returns:
        the value
      • getUnprotectedWindowInSeconds

        public Float getUnprotectedWindowInSeconds()
        This is the time window when there is data loss exposure.

        The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.

        Returns:
        the value
      • getDbSizeInGBs

        public Float getDbSizeInGBs()
        The estimated space, in gigabytes, consumed by the protected database.

        The database size is based on the size of the data files in the catalog, and does not include archive logs.

        Returns:
        the value
      • getIsRedoLogsEnabled

        public Boolean getIsRedoLogsEnabled()
        The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service.

        Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.

        Returns:
        the value
      • getRetentionPeriodInDays

        public Float getRetentionPeriodInDays()
        The maximum number of days to retain backups for a protected database.
        Returns:
        the value
      • getCurrentRetentionPeriodInSeconds

        public Float getCurrentRetentionPeriodInSeconds()
        Number of seconds backups are currently retained for this database.
        Returns:
        the value
      • getMinimumRecoveryNeededInDays

        public Float getMinimumRecoveryNeededInDays()
        Number of days of redo/archive to be applied to recover database.
        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