public static class ListDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListDatabasesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListDatabasesRequest |
build()
Build the instance of ListDatabasesRequest as configured by this builder
|
ListDatabasesRequest |
buildWithoutInvocationCallback()
Build the instance of ListDatabasesRequest as configured by this builder
|
ListDatabasesRequest.Builder |
compartmentId(String compartmentId)
The compartment
OCID.
|
ListDatabasesRequest.Builder |
copy(ListDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListDatabasesRequest.Builder |
dbHomeId(String dbHomeId)
A Database Home
OCID.
|
ListDatabasesRequest.Builder |
dbName(String dbName)
A filter to return only resources that match the entire database name given.
|
ListDatabasesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListDatabasesRequest.Builder |
lifecycleState(DatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
|
ListDatabasesRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListDatabasesRequest.Builder |
page(String page)
The pagination token to continue listing from.
|
ListDatabasesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListDatabasesRequest.Builder |
sortBy(ListDatabasesRequest.SortBy sortBy)
The field to sort by.
|
ListDatabasesRequest.Builder |
sortOrder(ListDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListDatabasesRequest.Builder |
systemId(String systemId)
The OCID of the
Exadata DB system that you want to filter the database results by.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListDatabasesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListDatabasesRequest.Builder dbHomeId(String dbHomeId)
A Database Home OCID.
dbHomeId
- the value to setpublic ListDatabasesRequest.Builder systemId(String systemId)
The OCID of the Exadata DB system that you want to filter the database results by. Applies only to Exadata DB systems.
systemId
- the value to setpublic ListDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListDatabasesRequest.Builder page(String page)
The pagination token to continue listing from.
page
- the value to setpublic ListDatabasesRequest.Builder sortBy(ListDatabasesRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder
). Default order
for TIMECREATED is descending. Default order for DBNAME is ascending. The DBNAME sort
order is case sensitive.
sortBy
- the value to setpublic ListDatabasesRequest.Builder sortOrder(ListDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListDatabasesRequest.Builder lifecycleState(DatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
lifecycleState
- the value to setpublic ListDatabasesRequest.Builder dbName(String dbName)
A filter to return only resources that match the entire database name given. The match is not case sensitive.
dbName
- the value to setpublic ListDatabasesRequest.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 ListDatabasesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListDatabasesRequest.Builder copy(ListDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListDatabasesRequest,Void>
o
- other request from which to copy valuespublic ListDatabasesRequest build()
Build the instance of ListDatabasesRequest 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<ListDatabasesRequest,Void>
public ListDatabasesRequest buildWithoutInvocationCallback()
Build the instance of ListDatabasesRequest 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.