public static class DatabaseBackupMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseBackupMetrics |
build() |
DatabaseBackupMetrics.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment where the Managed Database resides.
|
DatabaseBackupMetrics.Builder |
copy(DatabaseBackupMetrics model) |
DatabaseBackupMetrics.Builder |
databaseId(String databaseId)
The database ID of the Managed Database.
|
DatabaseBackupMetrics.Builder |
databaseName(String databaseName)
The display name of the Managed Database.
|
DatabaseBackupMetrics.Builder |
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.
|
DatabaseBackupMetrics.Builder |
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
|
DatabaseBackupMetrics.Builder |
databaseVersion(String databaseVersion)
The Oracle Database version.
|
DatabaseBackupMetrics.Builder |
dbId(String dbId)
The OCID of the
Managed Database.
|
DatabaseBackupMetrics.Builder |
dbRole(DbRole dbRole)
The database role of the Managed Database.
|
DatabaseBackupMetrics.Builder |
dbUniqueName(String dbUniqueName)
The database unique name of the Managed Database.
|
DatabaseBackupMetrics.Builder |
deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
|
DatabaseBackupMetrics.Builder |
isAutomaticBackupEnabled(Boolean isAutomaticBackupEnabled)
Indicates whether automatic backup is enabled or not.
|
DatabaseBackupMetrics.Builder |
isDataguardEnabled(Boolean isDataguardEnabled)
Indicates whether Data Guard is enabled for the database.
|
DatabaseBackupMetrics.Builder |
lastBackupSummary(DatabaseBackupSummary lastBackupSummary) |
DatabaseBackupMetrics.Builder |
metrics(List<HaMetricDefinition> metrics)
A list of database health metrics such as BackupDuration and BackupSize.
|
DatabaseBackupMetrics.Builder |
retentionPeriodInDays(String retentionPeriodInDays)
The retention period of the database.
|
DatabaseBackupMetrics.Builder |
timeSeriesMetrics(List<MetricsAggregationRange> timeSeriesMetrics)
The array of metric values for different timestamps.
|
DatabaseBackupMetrics.Builder |
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
|
public DatabaseBackupMetrics.Builder retentionPeriodInDays(String retentionPeriodInDays)
The retention period of the database.
retentionPeriodInDays
- the value to setpublic DatabaseBackupMetrics.Builder isAutomaticBackupEnabled(Boolean isAutomaticBackupEnabled)
Indicates whether automatic backup is enabled or not. This is only applicable for cloud databases.
isAutomaticBackupEnabled
- the value to setpublic DatabaseBackupMetrics.Builder timeSeriesMetrics(List<MetricsAggregationRange> timeSeriesMetrics)
The array of metric values for different timestamps.
timeSeriesMetrics
- the value to setpublic DatabaseBackupMetrics.Builder isDataguardEnabled(Boolean isDataguardEnabled)
Indicates whether Data Guard is enabled for the database.
isDataguardEnabled
- the value to setpublic DatabaseBackupMetrics.Builder lastBackupSummary(DatabaseBackupSummary lastBackupSummary)
public DatabaseBackupMetrics.Builder metrics(List<HaMetricDefinition> metrics)
A list of database health metrics such as BackupDuration and BackupSize.
metrics
- the value to setpublic DatabaseBackupMetrics.Builder dbId(String dbId)
The OCID of the Managed Database.
dbId
- the value to setpublic DatabaseBackupMetrics.Builder compartmentId(String compartmentId)
The OCID of the compartment where the Managed Database resides.
compartmentId
- the value to setpublic DatabaseBackupMetrics.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
databaseType
- the value to setpublic DatabaseBackupMetrics.Builder databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
databaseSubType
- the value to setpublic DatabaseBackupMetrics.Builder deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
deploymentType
- the value to setpublic DatabaseBackupMetrics.Builder databaseVersion(String databaseVersion)
The Oracle Database version.
databaseVersion
- the value to setpublic DatabaseBackupMetrics.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
workloadType
- the value to setpublic DatabaseBackupMetrics.Builder databaseName(String databaseName)
The display name of the Managed Database.
databaseName
- the value to setpublic DatabaseBackupMetrics.Builder databaseId(String databaseId)
The database ID of the Managed Database. Every database had its own ID and that value is captured here.
databaseId
- the value to setpublic DatabaseBackupMetrics.Builder dbUniqueName(String dbUniqueName)
The database unique name of the Managed Database.
dbUniqueName
- the value to setpublic DatabaseBackupMetrics.Builder dbRole(DbRole dbRole)
The database role of the Managed Database.
dbRole
- the value to setpublic DatabaseBackupMetrics build()
public DatabaseBackupMetrics.Builder copy(DatabaseBackupMetrics model)
Copyright © 2016–2025. All rights reserved.