Class GetPeerDatabaseMetricsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20201101")
    public class GetPeerDatabaseMetricsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemanagement/GetPeerDatabaseMetricsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetPeerDatabaseMetricsRequest.

    • Constructor Detail

      • GetPeerDatabaseMetricsRequest

        public GetPeerDatabaseMetricsRequest()
    • Method Detail

      • getManagedDatabaseId

        public String getManagedDatabaseId()
        The OCID of the Managed Database.
      • getStartTime

        public String getStartTime()
        The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
      • getEndTime

        public String getEndTime()
        The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
      • getOpcRequestId

        public String getOpcRequestId()
        The client request ID for tracing.
      • getPeerDatabaseCompartmentId

        public String getPeerDatabaseCompartmentId()
        The OCID of the compartment for which peer database metrics are required.

        This is not a mandatory parameter and in its absence, all the peer database metrics are returned.

      • getCompareType

        public CompareType getCompareType()
        The time window used for metrics comparison.
      • getFilterByMetricNames

        public String getFilterByMetricNames()
        The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.

        Note that, by default, the service returns all supported metrics.

      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>