public static class ListPluggableDatabasesRequest.Builder extends Object implements BmcRequest.Builder<ListPluggableDatabasesRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListPluggableDatabasesRequest |
build()
Build the instance of ListPluggableDatabasesRequest as configured by this builder
|
ListPluggableDatabasesRequest |
buildWithoutInvocationCallback() |
ListPluggableDatabasesRequest.Builder |
compartmentId(String compartmentId)
The compartment OCID.
|
ListPluggableDatabasesRequest.Builder |
copy(ListPluggableDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListPluggableDatabasesRequest.Builder |
databaseId(String databaseId)
The OCID of the database.
|
ListPluggableDatabasesRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListPluggableDatabasesRequest.Builder |
lifecycleState(PluggableDatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
|
ListPluggableDatabasesRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListPluggableDatabasesRequest.Builder |
page(String page)
The pagination token to continue listing from.
|
ListPluggableDatabasesRequest.Builder |
pdbName(String pdbName)
A filter to return only pluggable databases that match the entire name given.
|
ListPluggableDatabasesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListPluggableDatabasesRequest.Builder |
sortBy(ListPluggableDatabasesRequest.SortBy sortBy)
The field to sort by.
|
ListPluggableDatabasesRequest.Builder |
sortOrder(ListPluggableDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListPluggableDatabasesRequest.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 ListPluggableDatabasesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListPluggableDatabasesRequest.Builder copy(ListPluggableDatabasesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListPluggableDatabasesRequest,Void>
o
- other request from which to copy valuespublic ListPluggableDatabasesRequest build()
Build the instance of ListPluggableDatabasesRequest 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<ListPluggableDatabasesRequest,Void>
public ListPluggableDatabasesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
this
.public ListPluggableDatabasesRequest.Builder databaseId(String databaseId)
The OCID of the database.
this
.public ListPluggableDatabasesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
this
.public ListPluggableDatabasesRequest.Builder page(String page)
The pagination token to continue listing from.
this
.public ListPluggableDatabasesRequest.Builder sortBy(ListPluggableDatabasesRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder
). Default order for TIMECREATED is descending. Default order for PDBNAME is ascending. The PDBNAME sort order is case sensitive.
this
.public ListPluggableDatabasesRequest.Builder sortOrder(ListPluggableDatabasesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListPluggableDatabasesRequest.Builder lifecycleState(PluggableDatabaseSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
this
.public ListPluggableDatabasesRequest.Builder pdbName(String pdbName)
A filter to return only pluggable databases that match the entire name given. The match is not case sensitive.
this
.public ListPluggableDatabasesRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.