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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.MetricsSummary.Builder
backupSpaceUsedInGBs(Float backupSpaceUsedInGBs)
Backup storage space, in gigabytes, utilized by the protected database.MetricsSummary
build()
MetricsSummary.Builder
copy(MetricsSummary model)
MetricsSummary.Builder
currentRetentionPeriodInSeconds(Float currentRetentionPeriodInSeconds)
Number of seconds backups are currently retained for this database.MetricsSummary.Builder
dbSizeInGBs(Float dbSizeInGBs)
The estimated space, in gigabytes, consumed by the protected database.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.MetricsSummary.Builder
minimumRecoveryNeededInDays(Float minimumRecoveryNeededInDays)
Number of days of redo/archive to be applied to recover database.MetricsSummary.Builder
retentionPeriodInDays(Float retentionPeriodInDays)
The maximum number of days to retain backups for a protected database.MetricsSummary.Builder
unprotectedWindowInSeconds(Float unprotectedWindowInSeconds)
This is the time window when there is data loss exposure.
-
-
-
Method Detail
-
backupSpaceUsedInGBs
public 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
-
backupSpaceEstimateInGBs
public 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
-
unprotectedWindowInSeconds
public 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
-
dbSizeInGBs
public 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
-
isRedoLogsEnabled
public 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
-
retentionPeriodInDays
public 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
-
currentRetentionPeriodInSeconds
public MetricsSummary.Builder currentRetentionPeriodInSeconds(Float currentRetentionPeriodInSeconds)
Number of seconds backups are currently retained for this database.- Parameters:
currentRetentionPeriodInSeconds
- the value to set- Returns:
- this builder
-
minimumRecoveryNeededInDays
public 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
-
build
public MetricsSummary build()
-
copy
public MetricsSummary.Builder copy(MetricsSummary model)
-
-