Package com.oracle.bmc.recovery.model
Class MetricsSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.recovery.model.MetricsSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public final class MetricsSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelBackup performance and storage utilization metrics for the Protected Database.
 Note: Objects should always be created or deserialized using theMetricsSummary.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 theMetricsSummary.Builder, which maintain a set of all explicitly set fields calledMetricsSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMetricsSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description MetricsSummary(Float backupSpaceUsedInGBs, Float backupSpaceEstimateInGBs, Float unprotectedWindowInSeconds, Float dbSizeInGBs, Boolean isRedoLogsEnabled, Float retentionPeriodInDays, Float currentRetentionPeriodInSeconds, Float minimumRecoveryNeededInDays)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricsSummary.Builderbuilder()Create a new builder.booleanequals(Object o)FloatgetBackupSpaceEstimateInGBs()The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.FloatgetBackupSpaceUsedInGBs()Backup storage space, in gigabytes, utilized by the protected database.FloatgetCurrentRetentionPeriodInSeconds()Number of seconds backups are currently retained for this database.FloatgetDbSizeInGBs()The estimated space, in gigabytes, consumed by the protected database.BooleangetIsRedoLogsEnabled()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.FloatgetMinimumRecoveryNeededInDays()Number of days of redo/archive to be applied to recover database.FloatgetRetentionPeriodInDays()The maximum number of days to retain backups for a protected database.FloatgetUnprotectedWindowInSeconds()This is the time window when there is data loss exposure.inthashCode()MetricsSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
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- 
builderpublic static MetricsSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic MetricsSummary.Builder toBuilder() 
 - 
getBackupSpaceUsedInGBspublic Float getBackupSpaceUsedInGBs() Backup storage space, in gigabytes, utilized by the protected database.Oracle charges for the total storage used. - Returns:
- the value
 
 - 
getBackupSpaceEstimateInGBspublic 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
 
 - 
getUnprotectedWindowInSecondspublic 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
 
 - 
getDbSizeInGBspublic 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
 
 - 
getIsRedoLogsEnabledpublic 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
 
 - 
getRetentionPeriodInDayspublic Float getRetentionPeriodInDays() The maximum number of days to retain backups for a protected database.- Returns:
- the value
 
 - 
getCurrentRetentionPeriodInSecondspublic Float getCurrentRetentionPeriodInSeconds() Number of seconds backups are currently retained for this database.- Returns:
- the value
 
 - 
getMinimumRecoveryNeededInDayspublic Float getMinimumRecoveryNeededInDays() Number of days of redo/archive to be applied to recover database.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-