Class GetAwrDbSqlReportRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.databasemanagement.requests.GetAwrDbSqlReportRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class GetAwrDbSqlReportRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/databasemanagement/GetAwrDbSqlReportExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetAwrDbSqlReportRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetAwrDbSqlReportRequest.Builderstatic classGetAwrDbSqlReportRequest.ReportFormatThe format of the AWR report.
-
Constructor Summary
Constructors Constructor Description GetAwrDbSqlReportRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAwrDbSqlReportRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetAwrDbId()The parameter to filter the database by internal ID.IntegergetBeginSnIdGreaterThanOrEqualTo()The optional greater than or equal to filter on the snapshot ID.IntegergetContainerId()The optional query parameter to filter the database container by an exact ID value.IntegergetEndSnIdLessThanOrEqualTo()The optional less than or equal to query parameter to filter the snapshot ID.StringgetInstNum()The optional single value query parameter to filter the database instance number.StringgetManagedDatabaseId()The OCID of the Managed Database.StringgetOpcNamedCredentialId()The OCID of the Named Credential.StringgetOpcRequestId()The client request ID for tracing.StringgetOpcRetryToken()A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.GetAwrDbSqlReportRequest.ReportFormatgetReportFormat()The format of the AWR report.StringgetSqlId()The parameter to filter SQL by ID.DategetTimeGreaterThanOrEqualTo()The optional greater than or equal to query parameter to filter the timestamp.DategetTimeLessThanOrEqualTo()The optional less than or equal to query parameter to filter the timestamp.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetAwrDbSqlReportRequest.BuildertoBuilder()Return an instance ofGetAwrDbSqlReportRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getAwrDbId
public String getAwrDbId()
The parameter to filter the database by internal ID.Note that the internal ID of the database can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs
-
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 (/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbReport) or Performance Hub API (/internal/managedDatabases/{managedDatabaseId}/actions/retrievePerformanceData)
-
getInstNum
public String getInstNum()
The optional single value query parameter to filter the database instance number.
-
getBeginSnIdGreaterThanOrEqualTo
public Integer getBeginSnIdGreaterThanOrEqualTo()
The optional greater than or equal to filter on the snapshot ID.
-
getEndSnIdLessThanOrEqualTo
public Integer getEndSnIdLessThanOrEqualTo()
The optional less than or equal to query parameter to filter the snapshot ID.
-
getTimeGreaterThanOrEqualTo
public Date getTimeGreaterThanOrEqualTo()
The optional greater than or equal to query parameter to filter the timestamp.
-
getTimeLessThanOrEqualTo
public Date getTimeLessThanOrEqualTo()
The optional less than or equal to query parameter to filter the timestamp.
-
getReportFormat
public GetAwrDbSqlReportRequest.ReportFormat getReportFormat()
The format of the AWR report.
-
getContainerId
public Integer getContainerId()
The optional query parameter to filter the database container by an exact ID value.Note that the database container ID can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getOpcRetryToken
public String getOpcRetryToken()
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
-
getOpcNamedCredentialId
public String getOpcNamedCredentialId()
The OCID of the Named Credential.
-
toBuilder
public GetAwrDbSqlReportRequest.Builder toBuilder()
Return an instance ofGetAwrDbSqlReportRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
GetAwrDbSqlReportRequest.Builderthat allows you to modify request properties.
-
builder
public static GetAwrDbSqlReportRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-