Package com.oracle.bmc.database.requests
Class ListDbNodesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListDbNodesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDbNodesRequest,Void>
- Enclosing class:
- ListDbNodesRequest
public static class ListDbNodesRequest.Builder extends Object implements BmcRequest.Builder<ListDbNodesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDbNodesRequest
build()
Build the instance of ListDbNodesRequest as configured by this builderListDbNodesRequest
buildWithoutInvocationCallback()
Build the instance of ListDbNodesRequest as configured by this builderListDbNodesRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListDbNodesRequest.Builder
copy(ListDbNodesRequest o)
Copy method to populate the builder with values from the given instance.ListDbNodesRequest.Builder
dbServerId(String dbServerId)
The OCID of the Exacc Db server.ListDbNodesRequest.Builder
dbSystemId(String dbSystemId)
The DB system OCID.ListDbNodesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDbNodesRequest.Builder
lifecycleState(DbNodeSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.ListDbNodesRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListDbNodesRequest.Builder
page(String page)
The pagination token to continue listing from.ListDbNodesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDbNodesRequest.Builder
sortBy(ListDbNodesRequest.SortBy sortBy)
Sort by TIMECREATED.ListDbNodesRequest.Builder
sortOrder(ListDbNodesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListDbNodesRequest.Builder
vmClusterId(String vmClusterId)
The OCID of the VM cluster.-
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 ListDbNodesRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
dbSystemId
public ListDbNodesRequest.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.
- Parameters:
dbSystemId
- the value to set- Returns:
- this builder instance
-
vmClusterId
public ListDbNodesRequest.Builder vmClusterId(String vmClusterId)
The OCID of the VM cluster.- Parameters:
vmClusterId
- the value to set- Returns:
- this builder instance
-
limit
public ListDbNodesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListDbNodesRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDbNodesRequest.Builder sortBy(ListDbNodesRequest.SortBy sortBy)
Sort by TIMECREATED.Default order for TIMECREATED is descending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDbNodesRequest.Builder sortOrder(ListDbNodesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDbNodesRequest.Builder lifecycleState(DbNodeSummary.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state exactly.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
dbServerId
public ListDbNodesRequest.Builder dbServerId(String dbServerId)
The OCID of the Exacc Db server.- Parameters:
dbServerId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDbNodesRequest.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 ListDbNodesRequest.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 ListDbNodesRequest.Builder copy(ListDbNodesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDbNodesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDbNodesRequest build()
Build the instance of ListDbNodesRequest 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<ListDbNodesRequest,Void>
- Returns:
- instance of ListDbNodesRequest
-
buildWithoutInvocationCallback
public ListDbNodesRequest buildWithoutInvocationCallback()
Build the instance of ListDbNodesRequest 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 ListDbNodesRequest
-
-