public static class ListSqlPlanBaselinesRequest.Builder extends Object implements BmcRequest.Builder<ListSqlPlanBaselinesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListSqlPlanBaselinesRequest |
build()
Build the instance of ListSqlPlanBaselinesRequest as configured by this builder
|
ListSqlPlanBaselinesRequest |
buildWithoutInvocationCallback()
Build the instance of ListSqlPlanBaselinesRequest as configured by this builder
|
ListSqlPlanBaselinesRequest.Builder |
copy(ListSqlPlanBaselinesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListSqlPlanBaselinesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListSqlPlanBaselinesRequest.Builder |
isAccepted(Boolean isAccepted)
A filter to return only SQL plan baselines that are either accepted or not accepted.
|
ListSqlPlanBaselinesRequest.Builder |
isAdaptive(Boolean isAdaptive)
A filter to return only SQL plan baselines that are either adaptive or not adaptive.
|
ListSqlPlanBaselinesRequest.Builder |
isAutoPurged(Boolean isAutoPurged)
A filter to return only SQL plan baselines that are either auto-purged or not
auto-purged.
|
ListSqlPlanBaselinesRequest.Builder |
isEnabled(Boolean isEnabled)
A filter to return only SQL plan baselines that are either enabled or not enabled.
|
ListSqlPlanBaselinesRequest.Builder |
isFixed(Boolean isFixed)
A filter to return only SQL plan baselines that are either fixed or not fixed.
|
ListSqlPlanBaselinesRequest.Builder |
isNeverExecuted(Boolean isNeverExecuted)
A filter to return only SQL plan baselines that are not executed till now.
|
ListSqlPlanBaselinesRequest.Builder |
isReproduced(Boolean isReproduced)
A filter to return only SQL plan baselines that were either reproduced or not reproduced
by the optimizer.
|
ListSqlPlanBaselinesRequest.Builder |
limit(Integer limit)
The maximum number of records returned in the paginated response.
|
ListSqlPlanBaselinesRequest.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the
Managed Database.
|
ListSqlPlanBaselinesRequest.Builder |
opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
|
ListSqlPlanBaselinesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListSqlPlanBaselinesRequest.Builder |
origin(SqlPlanBaselineOrigin origin)
A filter to return all the SQL plan baselines that match the origin.
|
ListSqlPlanBaselinesRequest.Builder |
page(String page)
The page token representing the page from where the next set of paginated results are
retrieved.
|
ListSqlPlanBaselinesRequest.Builder |
planName(String planName)
A filter to return only SQL plan baselines that match the plan name.
|
ListSqlPlanBaselinesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListSqlPlanBaselinesRequest.Builder |
sortBy(ListSqlPlanBaselinesRequest.SortBy sortBy)
The option to sort the SQL plan baseline summary data.
|
ListSqlPlanBaselinesRequest.Builder |
sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending
(‘DESC’) order.
|
ListSqlPlanBaselinesRequest.Builder |
sqlHandle(String sqlHandle)
A filter to return all the SQL plan baselines for the specified SQL handle.
|
ListSqlPlanBaselinesRequest.Builder |
sqlText(String sqlText)
A filter to return all the SQL plan baselines that match the SQL text.
|
ListSqlPlanBaselinesRequest.Builder |
timeLastExecutedGreaterThan(Date timeLastExecutedGreaterThan)
A filter to return only SQL plan baselines whose last execution time is after the
specified value.
|
ListSqlPlanBaselinesRequest.Builder |
timeLastExecutedLessThan(Date timeLastExecutedLessThan)
A filter to return only SQL plan baselines whose last execution time is before the
specified value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListSqlPlanBaselinesRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
managedDatabaseId
- the value to setpublic ListSqlPlanBaselinesRequest.Builder planName(String planName)
A filter to return only SQL plan baselines that match the plan name.
planName
- the value to setpublic ListSqlPlanBaselinesRequest.Builder sqlHandle(String sqlHandle)
A filter to return all the SQL plan baselines for the specified SQL handle.
sqlHandle
- the value to setpublic ListSqlPlanBaselinesRequest.Builder sqlText(String sqlText)
A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the ‘%’ symbol as a wildcard.
sqlText
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isEnabled(Boolean isEnabled)
A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
isEnabled
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isAccepted(Boolean isAccepted)
A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
isAccepted
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isReproduced(Boolean isReproduced)
A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
isReproduced
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isFixed(Boolean isFixed)
A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
isFixed
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isAdaptive(Boolean isAdaptive)
A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
isAdaptive
- the value to setpublic ListSqlPlanBaselinesRequest.Builder origin(SqlPlanBaselineOrigin origin)
A filter to return all the SQL plan baselines that match the origin.
origin
- the value to setpublic ListSqlPlanBaselinesRequest.Builder page(String page)
The page token representing the page from where the next set of paginated results are retrieved. This is usually retrieved from a previous list call.
page
- the value to setpublic ListSqlPlanBaselinesRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.
limit
- the value to setpublic ListSqlPlanBaselinesRequest.Builder sortBy(ListSqlPlanBaselinesRequest.SortBy sortBy)
The option to sort the SQL plan baseline summary data.
sortBy
- the value to setpublic ListSqlPlanBaselinesRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order.
sortOrder
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isAutoPurged(Boolean isAutoPurged)
A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
isAutoPurged
- the value to setpublic ListSqlPlanBaselinesRequest.Builder timeLastExecutedGreaterThan(Date timeLastExecutedGreaterThan)
A filter to return only SQL plan baselines whose last execution time is after the specified value. By default, all SQL plan baselines are returned.
timeLastExecutedGreaterThan
- the value to setpublic ListSqlPlanBaselinesRequest.Builder timeLastExecutedLessThan(Date timeLastExecutedLessThan)
A filter to return only SQL plan baselines whose last execution time is before the specified value. By default, all SQL plan baselines are returned.
timeLastExecutedLessThan
- the value to setpublic ListSqlPlanBaselinesRequest.Builder isNeverExecuted(Boolean isNeverExecuted)
A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
isNeverExecuted
- the value to setpublic ListSqlPlanBaselinesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListSqlPlanBaselinesRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
opcNamedCredentialId
- the value to setpublic ListSqlPlanBaselinesRequest.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 ListSqlPlanBaselinesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListSqlPlanBaselinesRequest.Builder copy(ListSqlPlanBaselinesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListSqlPlanBaselinesRequest,Void>
o
- other request from which to copy valuespublic ListSqlPlanBaselinesRequest build()
Build the instance of ListSqlPlanBaselinesRequest 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<ListSqlPlanBaselinesRequest,Void>
public ListSqlPlanBaselinesRequest buildWithoutInvocationCallback()
Build the instance of ListSqlPlanBaselinesRequest 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.