public static class ListDbHomesRequest.Builder extends Object implements BmcRequest.Builder<ListDbHomesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListDbHomesRequest.Builder |
backupId(String backupId)
The OCID of the
backup.
|
ListDbHomesRequest |
build()
Build the instance of ListDbHomesRequest as configured by this builder
|
ListDbHomesRequest |
buildWithoutInvocationCallback()
Build the instance of ListDbHomesRequest as configured by this builder
|
ListDbHomesRequest.Builder |
compartmentId(String compartmentId)
The compartment
OCID.
|
ListDbHomesRequest.Builder |
copy(ListDbHomesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListDbHomesRequest.Builder |
dbSystemId(String dbSystemId)
The DB system
OCID.
|
ListDbHomesRequest.Builder |
dbVersion(String dbVersion)
A filter to return only DB Homes that match the specified dbVersion.
|
ListDbHomesRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListDbHomesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListDbHomesRequest.Builder |
lifecycleState(DbHomeSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
|
ListDbHomesRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListDbHomesRequest.Builder |
page(String page)
The pagination token to continue listing from.
|
ListDbHomesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListDbHomesRequest.Builder |
sortBy(ListDbHomesRequest.SortBy sortBy)
The field to sort by.
|
ListDbHomesRequest.Builder |
sortOrder(ListDbHomesRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListDbHomesRequest.Builder |
vmClusterId(String vmClusterId)
The OCID of the
VM cluster.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListDbHomesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListDbHomesRequest.Builder dbSystemId(String dbSystemId)
The DB system OCID. If provided, filters the results to the set of database versions which are supported for the DB system.
dbSystemId
- the value to setpublic ListDbHomesRequest.Builder vmClusterId(String vmClusterId)
The OCID of the VM cluster.
vmClusterId
- the value to setpublic ListDbHomesRequest.Builder backupId(String backupId)
The OCID of the backup. Specify a backupId to list only the DB systems or DB homes that support creating a database using this backup in this compartment.
backupId
- the value to setpublic ListDbHomesRequest.Builder dbVersion(String dbVersion)
A filter to return only DB Homes that match the specified dbVersion.
dbVersion
- the value to setpublic ListDbHomesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListDbHomesRequest.Builder page(String page)
The pagination token to continue listing from.
page
- the value to setpublic ListDbHomesRequest.Builder sortBy(ListDbHomesRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder
). Default order
for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The
DISPLAYNAME sort order is case sensitive.
sortBy
- the value to setpublic ListDbHomesRequest.Builder sortOrder(ListDbHomesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListDbHomesRequest.Builder lifecycleState(DbHomeSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.
lifecycleState
- the value to setpublic ListDbHomesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
displayName
- the value to setpublic ListDbHomesRequest.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 ListDbHomesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListDbHomesRequest.Builder copy(ListDbHomesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListDbHomesRequest,Void>
o
- other request from which to copy valuespublic ListDbHomesRequest build()
Build the instance of ListDbHomesRequest 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<ListDbHomesRequest,Void>
public ListDbHomesRequest buildWithoutInvocationCallback()
Build the instance of ListDbHomesRequest 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.