public static class DatabaseHaMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseHaMetrics |
build() |
DatabaseHaMetrics.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment where the Managed Database resides.
|
DatabaseHaMetrics.Builder |
copy(DatabaseHaMetrics model) |
DatabaseHaMetrics.Builder |
databaseId(String databaseId)
The database ID of the Managed Database.
|
DatabaseHaMetrics.Builder |
databaseName(String databaseName)
The display name of the Managed Database.
|
DatabaseHaMetrics.Builder |
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.
|
DatabaseHaMetrics.Builder |
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
|
DatabaseHaMetrics.Builder |
databaseVersion(String databaseVersion)
The Oracle Database version.
|
DatabaseHaMetrics.Builder |
dbId(String dbId)
The OCID of the
Managed Database.
|
DatabaseHaMetrics.Builder |
dbRole(DbRole dbRole)
The database role of the Managed Database.
|
DatabaseHaMetrics.Builder |
dbUniqueName(String dbUniqueName)
The database unique name of the Managed Database.
|
DatabaseHaMetrics.Builder |
deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
|
DatabaseHaMetrics.Builder |
isDataguardEnabled(Boolean isDataguardEnabled)
Indicates whether Data Guard is enabled for the database.
|
DatabaseHaMetrics.Builder |
lastBackupSummary(DatabaseBackupSummary lastBackupSummary) |
DatabaseHaMetrics.Builder |
metrics(List<HaMetricDefinition> metrics)
A list of database health metrics such as BackupDuration and BackupSize.
|
DatabaseHaMetrics.Builder |
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
|
public DatabaseHaMetrics.Builder isDataguardEnabled(Boolean isDataguardEnabled)
Indicates whether Data Guard is enabled for the database.
isDataguardEnabled
- the value to setpublic DatabaseHaMetrics.Builder lastBackupSummary(DatabaseBackupSummary lastBackupSummary)
public DatabaseHaMetrics.Builder metrics(List<HaMetricDefinition> metrics)
A list of database health metrics such as BackupDuration and BackupSize.
metrics
- the value to setpublic DatabaseHaMetrics.Builder dbId(String dbId)
The OCID of the Managed Database.
dbId
- the value to setpublic DatabaseHaMetrics.Builder compartmentId(String compartmentId)
The OCID of the compartment where the Managed Database resides.
compartmentId
- the value to setpublic DatabaseHaMetrics.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
databaseType
- the value to setpublic DatabaseHaMetrics.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 DatabaseHaMetrics.Builder deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
deploymentType
- the value to setpublic DatabaseHaMetrics.Builder databaseVersion(String databaseVersion)
The Oracle Database version.
databaseVersion
- the value to setpublic DatabaseHaMetrics.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
workloadType
- the value to setpublic DatabaseHaMetrics.Builder databaseName(String databaseName)
The display name of the Managed Database.
databaseName
- the value to setpublic DatabaseHaMetrics.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 DatabaseHaMetrics.Builder dbUniqueName(String dbUniqueName)
The database unique name of the Managed Database.
dbUniqueName
- the value to setpublic DatabaseHaMetrics.Builder dbRole(DbRole dbRole)
The database role of the Managed Database.
dbRole
- the value to setpublic DatabaseHaMetrics build()
public DatabaseHaMetrics.Builder copy(DatabaseHaMetrics model)
Copyright © 2016–2025. All rights reserved.