Package com.oracle.bmc.opsi.requests
Class ListSqlPlansRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.requests.ListSqlPlansRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSqlPlansRequest,Void>
- Enclosing class:
- ListSqlPlansRequest
public static class ListSqlPlansRequest.Builder extends Object implements BmcRequest.Builder<ListSqlPlansRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSqlPlansRequest
build()
Build the instance of ListSqlPlansRequest as configured by this builderListSqlPlansRequest
buildWithoutInvocationCallback()
Build the instance of ListSqlPlansRequest as configured by this builderListSqlPlansRequest.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(com.oracle.bmc.http.client.RequestInterceptor 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(Long singularValue)
Singular setter.ListSqlPlansRequest.Builder
planHash(List<Long> planHash)
Unique plan hash for a SQL Plan of a particular SQL Statement.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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public ListSqlPlansRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
sqlIdentifier
public ListSqlPlansRequest.Builder sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.Example: 6rgjh9bjmy2s7
- Parameters:
sqlIdentifier
- the value to set- Returns:
- this builder instance
-
planHash
public ListSqlPlansRequest.Builder planHash(List<Long> planHash)
Unique plan hash for a SQL Plan of a particular SQL Statement.Example: 9820154385
- Parameters:
planHash
- the value to set- Returns:
- this builder instance
-
planHash
public ListSqlPlansRequest.Builder planHash(Long singularValue)
Singular setter.Unique plan hash for a SQL Plan of a particular SQL Statement. Example: 9820154385
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
databaseId
public ListSqlPlansRequest.Builder databaseId(String databaseId)
Optional OCID of the associated DBaaS entity.- Parameters:
databaseId
- the value to set- Returns:
- this builder instance
-
id
public ListSqlPlansRequest.Builder id(String id)
OCID of the database insight resource.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
page
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.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSqlPlansRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListSqlPlansRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListSqlPlansRequest.Builder copy(ListSqlPlansRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSqlPlansRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSqlPlansRequest build()
Build the instance of ListSqlPlansRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListSqlPlansRequest,Void>
- Returns:
- instance of ListSqlPlansRequest
-
buildWithoutInvocationCallback
public ListSqlPlansRequest buildWithoutInvocationCallback()
Build the instance of ListSqlPlansRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListSqlPlansRequest
-
-