@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class PerformanceMetricsData extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The list of Data Guard performance metrics for Managed Databases.
Note: Objects should always be created or deserialized using the PerformanceMetricsData.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the PerformanceMetricsData.Builder
, which maintain a
set of all explicitly set fields called PerformanceMetricsData.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PerformanceMetricsData.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PerformanceMetricsData(String compartmentId,
String resourceId,
String primaryDbId,
String primaryDbUniqueName,
String databaseId,
String dbUniqueName,
String deploymentType,
String resourceName,
DbRole dbRole,
List<PerformanceMetrics> metrics)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PerformanceMetricsData.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment in which the Managed Database resides.
|
String |
getDatabaseId()
The database ID of the Managed Database.
|
DbRole |
getDbRole()
The database role of the Managed Database.
|
String |
getDbUniqueName()
The database unique name of the Managed Database.
|
String |
getDeploymentType()
The deployment type of the Managed Database.
|
List<PerformanceMetrics> |
getMetrics()
The list of Data Guard performance metrics such as ApplyLag, TransportLag and RedoApplyRate
for the Managed Databases.
|
String |
getPrimaryDbId()
The ID of the primary database.
|
String |
getPrimaryDbUniqueName()
The primary database unique name of the Managed Database.
|
String |
getResourceId()
The OCID of the
Managed Database.
|
String |
getResourceName()
The resource name of the Managed Database.
|
int |
hashCode() |
PerformanceMetricsData.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"compartmentId","resourceId","primaryDbId","primaryDbUniqueName","databaseId","dbUniqueName","deploymentType","resourceName","dbRole","metrics"}) public PerformanceMetricsData(String compartmentId, String resourceId, String primaryDbId, String primaryDbUniqueName, String databaseId, String dbUniqueName, String deploymentType, String resourceName, DbRole dbRole, List<PerformanceMetrics> metrics)
public static PerformanceMetricsData.Builder builder()
Create a new builder.
public PerformanceMetricsData.Builder toBuilder()
public String getCompartmentId()
The OCID of the compartment in which the Managed Database resides.
public String getPrimaryDbId()
The ID of the primary database.
public String getPrimaryDbUniqueName()
The primary database unique name of the Managed Database.
public String getDatabaseId()
The database ID of the Managed Database. Every database had its own ID and that value is captured here.
public String getDbUniqueName()
The database unique name of the Managed Database.
public String getDeploymentType()
The deployment type of the Managed Database.
public String getResourceName()
The resource name of the Managed Database.
public DbRole getDbRole()
The database role of the Managed Database.
public List<PerformanceMetrics> getMetrics()
The list of Data Guard performance metrics such as ApplyLag, TransportLag and RedoApplyRate for the Managed Databases.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.