public static class GetAwrDbSqlReportRequest.Builder extends Object implements BmcRequest.Builder<GetAwrDbSqlReportRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetAwrDbSqlReportRequest.Builder |
awrDbId(String awrDbId)
The parameter to filter the database by internal ID.
|
GetAwrDbSqlReportRequest.Builder |
beginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.
|
GetAwrDbSqlReportRequest |
build()
Build the instance of GetAwrDbSqlReportRequest as configured by this builder
|
GetAwrDbSqlReportRequest |
buildWithoutInvocationCallback()
Build the instance of GetAwrDbSqlReportRequest as configured by this builder
|
GetAwrDbSqlReportRequest.Builder |
containerId(Integer containerId)
The optional query parameter to filter the database container by an exact ID value.
|
GetAwrDbSqlReportRequest.Builder |
copy(GetAwrDbSqlReportRequest o)
Copy method to populate the builder with values from the given instance.
|
GetAwrDbSqlReportRequest.Builder |
endSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot ID.
|
GetAwrDbSqlReportRequest.Builder |
instNum(String instNum)
The optional single value query parameter to filter the database instance number.
|
GetAwrDbSqlReportRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetAwrDbSqlReportRequest.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the
Managed Database.
|
GetAwrDbSqlReportRequest.Builder |
opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
|
GetAwrDbSqlReportRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
GetAwrDbSqlReportRequest.Builder |
opcRetryToken(String opcRetryToken)
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.Builder |
reportFormat(GetAwrDbSqlReportRequest.ReportFormat reportFormat)
The format of the AWR report.
|
GetAwrDbSqlReportRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetAwrDbSqlReportRequest.Builder |
sqlId(String sqlId)
The parameter to filter SQL by ID.
|
GetAwrDbSqlReportRequest.Builder |
timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.
|
GetAwrDbSqlReportRequest.Builder |
timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetAwrDbSqlReportRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
managedDatabaseId
- the value to setpublic GetAwrDbSqlReportRequest.Builder awrDbId(String awrDbId)
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
awrDbId
- the value to setpublic GetAwrDbSqlReportRequest.Builder sqlId(String sqlId)
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)
sqlId
- the value to setpublic GetAwrDbSqlReportRequest.Builder instNum(String instNum)
The optional single value query parameter to filter the database instance number.
instNum
- the value to setpublic GetAwrDbSqlReportRequest.Builder beginSnIdGreaterThanOrEqualTo(Integer beginSnIdGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.
beginSnIdGreaterThanOrEqualTo
- the value to setpublic GetAwrDbSqlReportRequest.Builder endSnIdLessThanOrEqualTo(Integer endSnIdLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot ID.
endSnIdLessThanOrEqualTo
- the value to setpublic GetAwrDbSqlReportRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.
timeGreaterThanOrEqualTo
- the value to setpublic GetAwrDbSqlReportRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the timestamp.
timeLessThanOrEqualTo
- the value to setpublic GetAwrDbSqlReportRequest.Builder reportFormat(GetAwrDbSqlReportRequest.ReportFormat reportFormat)
The format of the AWR report.
reportFormat
- the value to setpublic GetAwrDbSqlReportRequest.Builder containerId(Integer containerId)
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
containerId
- the value to setpublic GetAwrDbSqlReportRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic GetAwrDbSqlReportRequest.Builder opcRetryToken(String opcRetryToken)
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.
opcRetryToken
- the value to setpublic GetAwrDbSqlReportRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
opcNamedCredentialId
- the value to setpublic GetAwrDbSqlReportRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetAwrDbSqlReportRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetAwrDbSqlReportRequest.Builder copy(GetAwrDbSqlReportRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetAwrDbSqlReportRequest,Void>
o
- other request from which to copy valuespublic GetAwrDbSqlReportRequest build()
Build the instance of GetAwrDbSqlReportRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetAwrDbSqlReportRequest,Void>
public GetAwrDbSqlReportRequest buildWithoutInvocationCallback()
Build the instance of GetAwrDbSqlReportRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.