public static class PerformanceMetricsData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PerformanceMetricsData |
build() |
PerformanceMetricsData.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the Managed Database resides.
|
PerformanceMetricsData.Builder |
copy(PerformanceMetricsData model) |
PerformanceMetricsData.Builder |
databaseId(String databaseId)
The database ID of the Managed Database.
|
PerformanceMetricsData.Builder |
dbRole(DbRole dbRole)
The database role of the Managed Database.
|
PerformanceMetricsData.Builder |
dbUniqueName(String dbUniqueName)
The database unique name of the Managed Database.
|
PerformanceMetricsData.Builder |
deploymentType(String deploymentType)
The deployment type of the Managed Database.
|
PerformanceMetricsData.Builder |
metrics(List<PerformanceMetrics> metrics)
The list of Data Guard performance metrics such as ApplyLag, TransportLag and
RedoApplyRate for the Managed Databases.
|
PerformanceMetricsData.Builder |
primaryDbId(String primaryDbId)
The ID of the primary database.
|
PerformanceMetricsData.Builder |
primaryDbUniqueName(String primaryDbUniqueName)
The primary database unique name of the Managed Database.
|
PerformanceMetricsData.Builder |
resourceId(String resourceId)
The OCID of the
Managed Database.
|
PerformanceMetricsData.Builder |
resourceName(String resourceName)
The resource name of the Managed Database.
|
public PerformanceMetricsData.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the Managed Database resides.
compartmentId
- the value to setpublic PerformanceMetricsData.Builder resourceId(String resourceId)
The OCID of the Managed Database.
resourceId
- the value to setpublic PerformanceMetricsData.Builder primaryDbId(String primaryDbId)
The ID of the primary database.
primaryDbId
- the value to setpublic PerformanceMetricsData.Builder primaryDbUniqueName(String primaryDbUniqueName)
The primary database unique name of the Managed Database.
primaryDbUniqueName
- the value to setpublic PerformanceMetricsData.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 PerformanceMetricsData.Builder dbUniqueName(String dbUniqueName)
The database unique name of the Managed Database.
dbUniqueName
- the value to setpublic PerformanceMetricsData.Builder deploymentType(String deploymentType)
The deployment type of the Managed Database.
deploymentType
- the value to setpublic PerformanceMetricsData.Builder resourceName(String resourceName)
The resource name of the Managed Database.
resourceName
- the value to setpublic PerformanceMetricsData.Builder dbRole(DbRole dbRole)
The database role of the Managed Database.
dbRole
- the value to setpublic PerformanceMetricsData.Builder metrics(List<PerformanceMetrics> metrics)
The list of Data Guard performance metrics such as ApplyLag, TransportLag and RedoApplyRate for the Managed Databases.
metrics
- the value to setpublic PerformanceMetricsData build()
public PerformanceMetricsData.Builder copy(PerformanceMetricsData model)
Copyright © 2016–2024. All rights reserved.