public static class GetAwrDatabaseSqlReportRequest.Builder extends Object implements BmcRequest.Builder<GetAwrDatabaseSqlReportRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetAwrDatabaseSqlReportRequest.Builder |
awrHubId(String awrHubId)
Unique Awr Hub identifier
|
GetAwrDatabaseSqlReportRequest.Builder |
awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
The internal ID of the database.
|
GetAwrDatabaseSqlReportRequest.Builder |
beginSnapshotIdentifierGreaterThanOrEqualTo(Integer beginSnapshotIdentifierGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.
|
GetAwrDatabaseSqlReportRequest |
build()
Build the instance of GetAwrDatabaseSqlReportRequest as configured by this builder
|
GetAwrDatabaseSqlReportRequest |
buildWithoutInvocationCallback()
Build the instance of GetAwrDatabaseSqlReportRequest as configured by this builder
|
GetAwrDatabaseSqlReportRequest.Builder |
copy(GetAwrDatabaseSqlReportRequest o)
Copy method to populate the builder with values from the given instance.
|
GetAwrDatabaseSqlReportRequest.Builder |
endSnapshotIdentifierLessThanOrEqualTo(Integer endSnapshotIdentifierLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot Identifier.
|
GetAwrDatabaseSqlReportRequest.Builder |
instanceNumber(String instanceNumber)
The optional single value query parameter to filter by database instance number.
|
GetAwrDatabaseSqlReportRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetAwrDatabaseSqlReportRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetAwrDatabaseSqlReportRequest.Builder |
reportFormat(GetAwrDatabaseSqlReportRequest.ReportFormat reportFormat)
The format of the AWR report.
|
GetAwrDatabaseSqlReportRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetAwrDatabaseSqlReportRequest.Builder |
sqlId(String sqlId)
The parameter to filter SQL by ID.
|
GetAwrDatabaseSqlReportRequest.Builder |
timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to query parameter to filter the timestamp.
|
GetAwrDatabaseSqlReportRequest.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 GetAwrDatabaseSqlReportRequest.Builder awrHubId(String awrHubId)
Unique Awr Hub identifier
awrHubId
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
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
awrSourceDatabaseIdentifier
- the value to setpublic GetAwrDatabaseSqlReportRequest.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 (/awrHubs/{awrHubId}/awrDbReport).
sqlId
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder instanceNumber(String instanceNumber)
The optional single value query parameter to filter by database instance number.
instanceNumber
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder beginSnapshotIdentifierGreaterThanOrEqualTo(Integer beginSnapshotIdentifierGreaterThanOrEqualTo)
The optional greater than or equal to filter on the snapshot ID.
beginSnapshotIdentifierGreaterThanOrEqualTo
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder endSnapshotIdentifierLessThanOrEqualTo(Integer endSnapshotIdentifierLessThanOrEqualTo)
The optional less than or equal to query parameter to filter the snapshot Identifier.
endSnapshotIdentifierLessThanOrEqualTo
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
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
timeGreaterThanOrEqualTo
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
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
timeLessThanOrEqualTo
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder reportFormat(GetAwrDatabaseSqlReportRequest.ReportFormat reportFormat)
The format of the AWR report.
reportFormat
- the value to setpublic GetAwrDatabaseSqlReportRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic GetAwrDatabaseSqlReportRequest.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 GetAwrDatabaseSqlReportRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetAwrDatabaseSqlReportRequest.Builder copy(GetAwrDatabaseSqlReportRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetAwrDatabaseSqlReportRequest,Void>
o
- other request from which to copy valuespublic GetAwrDatabaseSqlReportRequest build()
Build the instance of GetAwrDatabaseSqlReportRequest 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<GetAwrDatabaseSqlReportRequest,Void>
public GetAwrDatabaseSqlReportRequest buildWithoutInvocationCallback()
Build the instance of GetAwrDatabaseSqlReportRequest 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.