public static class DatabaseUsageMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseUsageMetrics |
build() |
DatabaseUsageMetrics.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment where the Managed Database resides.
|
DatabaseUsageMetrics.Builder |
copy(DatabaseUsageMetrics model) |
DatabaseUsageMetrics.Builder |
databaseContainerId(String databaseContainerId)
The OCID of the
parent Container Database, in the case of a Pluggable Database.
|
DatabaseUsageMetrics.Builder |
databaseId(String databaseId)
The Database id of the Managed Database.
|
DatabaseUsageMetrics.Builder |
databaseName(String databaseName)
The display name of the Managed Database.
|
DatabaseUsageMetrics.Builder |
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.
|
DatabaseUsageMetrics.Builder |
databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
|
DatabaseUsageMetrics.Builder |
databaseVersion(String databaseVersion)
The Oracle Database version.
|
DatabaseUsageMetrics.Builder |
dbId(String dbId)
The OCID of the
Managed Database.
|
DatabaseUsageMetrics.Builder |
dbRole(DbRole dbRole)
The Database role of the Managed Database.
|
DatabaseUsageMetrics.Builder |
dbUniqueName(String dbUniqueName)
The Database unique name of the Managed Database.
|
DatabaseUsageMetrics.Builder |
deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
|
DatabaseUsageMetrics.Builder |
metrics(List<FleetMetricDefinition> metrics)
A list of the database health metrics like CPU, Storage, and Memory.
|
DatabaseUsageMetrics.Builder |
primaryDbId(String primaryDbId)
The Primary Database id of the Managed Database.
|
DatabaseUsageMetrics.Builder |
primaryDbUniqueName(String primaryDbUniqueName)
The Primary Database unique name of the Managed Database.
|
DatabaseUsageMetrics.Builder |
workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
|
public DatabaseUsageMetrics.Builder dbId(String dbId)
The OCID of the Managed Database.
dbId
- the value to setpublic DatabaseUsageMetrics.Builder compartmentId(String compartmentId)
The OCID of the compartment where the Managed Database resides.
compartmentId
- the value to setpublic DatabaseUsageMetrics.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.
databaseType
- the value to setpublic DatabaseUsageMetrics.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 DatabaseUsageMetrics.Builder deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.
deploymentType
- the value to setpublic DatabaseUsageMetrics.Builder databaseVersion(String databaseVersion)
The Oracle Database version.
databaseVersion
- the value to setpublic DatabaseUsageMetrics.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.
workloadType
- the value to setpublic DatabaseUsageMetrics.Builder databaseName(String databaseName)
The display name of the Managed Database.
databaseName
- the value to setpublic DatabaseUsageMetrics.Builder databaseContainerId(String databaseContainerId)
The OCID of the parent Container Database, in the case of a Pluggable Database.
databaseContainerId
- the value to setpublic DatabaseUsageMetrics.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 DatabaseUsageMetrics.Builder primaryDbId(String primaryDbId)
The Primary Database id of the Managed Database.
primaryDbId
- the value to setpublic DatabaseUsageMetrics.Builder primaryDbUniqueName(String primaryDbUniqueName)
The Primary Database unique name of the Managed Database.
primaryDbUniqueName
- the value to setpublic DatabaseUsageMetrics.Builder dbUniqueName(String dbUniqueName)
The Database unique name of the Managed Database.
dbUniqueName
- the value to setpublic DatabaseUsageMetrics.Builder dbRole(DbRole dbRole)
The Database role of the Managed Database.
dbRole
- the value to setpublic DatabaseUsageMetrics.Builder metrics(List<FleetMetricDefinition> metrics)
A list of the database health metrics like CPU, Storage, and Memory.
metrics
- the value to setpublic DatabaseUsageMetrics build()
public DatabaseUsageMetrics.Builder copy(DatabaseUsageMetrics model)
Copyright © 2016–2024. All rights reserved.