Class GetAwrDatabaseSqlReportRequest


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

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

    • Constructor Detail

      • GetAwrDatabaseSqlReportRequest

        public GetAwrDatabaseSqlReportRequest()
    • Method Detail

      • getAwrHubId

        public String getAwrHubId()
        Unique Awr Hub identifier
      • getAwrSourceDatabaseIdentifier

        public String getAwrSourceDatabaseIdentifier()
        The internal ID of the database.

        The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases

      • getSqlId

        public String getSqlId()
        The parameter to filter SQL by ID.

        Note that the SQL ID is generated internally by Oracle for each SQL statement and can be retrieved from AWR Report API (/awrHubs/{awrHubId}/awrDbReport).

      • getInstanceNumber

        public String getInstanceNumber()
        The optional single value query parameter to filter by database instance number.
      • getBeginSnapshotIdentifierGreaterThanOrEqualTo

        public Integer getBeginSnapshotIdentifierGreaterThanOrEqualTo()
        The optional greater than or equal to filter on the snapshot ID.
      • getEndSnapshotIdentifierLessThanOrEqualTo

        public Integer getEndSnapshotIdentifierLessThanOrEqualTo()
        The optional less than or equal to query parameter to filter the snapshot Identifier.
      • getTimeGreaterThanOrEqualTo

        public Date getTimeGreaterThanOrEqualTo()
        The optional greater than or equal to query parameter to filter the timestamp.

        The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z

      • getTimeLessThanOrEqualTo

        public Date getTimeLessThanOrEqualTo()
        The optional less than or equal to query parameter to filter the timestamp.

        The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • 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>