public static class ListSqlPlansRequest.Builder extends Object implements BmcRequest.Builder<ListSqlPlansRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListSqlPlansRequest |
build()
Build the instance of ListSqlPlansRequest as configured by this builder
|
ListSqlPlansRequest |
buildWithoutInvocationCallback() |
ListSqlPlansRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
ListSqlPlansRequest.Builder |
copy(ListSqlPlansRequest o)
Copy method to populate the builder with values from the given instance.
|
ListSqlPlansRequest.Builder |
databaseId(String databaseId)
Optional OCID of the associated DBaaS entity.
|
ListSqlPlansRequest.Builder |
id(String id)
OCID of the database insight resource.
|
ListSqlPlansRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListSqlPlansRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListSqlPlansRequest.Builder |
page(String page)
For list pagination.
|
ListSqlPlansRequest.Builder |
planHash(List<Long> planHash)
Unique plan hash for a SQL Plan of a particular SQL Statement.
|
ListSqlPlansRequest.Builder |
planHash(Long singularValue)
Singular setter.
|
ListSqlPlansRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListSqlPlansRequest.Builder |
sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListSqlPlansRequest.Builder planHash(List<Long> planHash)
Unique plan hash for a SQL Plan of a particular SQL Statement.
Example: 9820154385
public ListSqlPlansRequest.Builder planHash(Long singularValue)
Singular setter. Unique plan hash for a SQL Plan of a particular SQL Statement.
Example: 9820154385
public ListSqlPlansRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListSqlPlansRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListSqlPlansRequest.Builder copy(ListSqlPlansRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListSqlPlansRequest,Void>
o
- other request from which to copy valuespublic ListSqlPlansRequest build()
Build the instance of ListSqlPlansRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListSqlPlansRequest,Void>
public ListSqlPlansRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
this
.public ListSqlPlansRequest.Builder sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
Example: 6rgjh9bjmy2s7
this
.public ListSqlPlansRequest.Builder databaseId(String databaseId)
Optional OCID of the associated DBaaS entity.
this
.public ListSqlPlansRequest.Builder id(String id)
OCID of the database insight resource.
this
.public ListSqlPlansRequest.Builder page(String page)
For list pagination. The value of the opc-next-page
response header from
the previous “List” call. For important details about how pagination works,
see List Pagination.
this
.public ListSqlPlansRequest.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.
this
.public ListSqlPlansRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.