Package com.oracle.bmc.recovery.model
Class MetricsSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.recovery.model.MetricsSummary.Builder
 
- 
- Enclosing class:
- MetricsSummary
 
 public static class MetricsSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsSummary.BuilderbackupSpaceEstimateInGBs(Float backupSpaceEstimateInGBs)The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.MetricsSummary.BuilderbackupSpaceUsedInGBs(Float backupSpaceUsedInGBs)Backup storage space, in gigabytes, utilized by the protected database.MetricsSummarybuild()MetricsSummary.Buildercopy(MetricsSummary model)MetricsSummary.BuildercurrentRetentionPeriodInSeconds(Float currentRetentionPeriodInSeconds)Number of seconds backups are currently retained for this database.MetricsSummary.BuilderdbSizeInGBs(Float dbSizeInGBs)The estimated space, in gigabytes, consumed by the protected database.MetricsSummary.BuilderisRedoLogsEnabled(Boolean isRedoLogsEnabled)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.MetricsSummary.BuilderminimumRecoveryNeededInDays(Float minimumRecoveryNeededInDays)Number of days of redo/archive to be applied to recover database.MetricsSummary.BuilderretentionPeriodInDays(Float retentionPeriodInDays)The maximum number of days to retain backups for a protected database.MetricsSummary.BuilderunprotectedWindowInSeconds(Float unprotectedWindowInSeconds)This is the time window when there is data loss exposure.
 
- 
- 
- 
Method Detail- 
backupSpaceUsedInGBspublic MetricsSummary.Builder backupSpaceUsedInGBs(Float backupSpaceUsedInGBs) Backup storage space, in gigabytes, utilized by the protected database.Oracle charges for the total storage used. - Parameters:
- backupSpaceUsedInGBs- the value to set
- Returns:
- this builder
 
 - 
backupSpaceEstimateInGBspublic MetricsSummary.Builder backupSpaceEstimateInGBs(Float backupSpaceEstimateInGBs) The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.- Parameters:
- backupSpaceEstimateInGBs- the value to set
- Returns:
- this builder
 
 - 
unprotectedWindowInSecondspublic MetricsSummary.Builder unprotectedWindowInSeconds(Float unprotectedWindowInSeconds) 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. - Parameters:
- unprotectedWindowInSeconds- the value to set
- Returns:
- this builder
 
 - 
dbSizeInGBspublic MetricsSummary.Builder dbSizeInGBs(Float dbSizeInGBs) 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. - Parameters:
- dbSizeInGBs- the value to set
- Returns:
- this builder
 
 - 
isRedoLogsEnabledpublic MetricsSummary.Builder isRedoLogsEnabled(Boolean isRedoLogsEnabled) 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. - Parameters:
- isRedoLogsEnabled- the value to set
- Returns:
- this builder
 
 - 
retentionPeriodInDayspublic MetricsSummary.Builder retentionPeriodInDays(Float retentionPeriodInDays) The maximum number of days to retain backups for a protected database.- Parameters:
- retentionPeriodInDays- the value to set
- Returns:
- this builder
 
 - 
currentRetentionPeriodInSecondspublic MetricsSummary.Builder currentRetentionPeriodInSeconds(Float currentRetentionPeriodInSeconds) Number of seconds backups are currently retained for this database.- Parameters:
- currentRetentionPeriodInSeconds- the value to set
- Returns:
- this builder
 
 - 
minimumRecoveryNeededInDayspublic MetricsSummary.Builder minimumRecoveryNeededInDays(Float minimumRecoveryNeededInDays) Number of days of redo/archive to be applied to recover database.- Parameters:
- minimumRecoveryNeededInDays- the value to set
- Returns:
- this builder
 
 - 
buildpublic MetricsSummary build() 
 - 
copypublic MetricsSummary.Builder copy(MetricsSummary model) 
 
- 
 
-