Package com.oracle.bmc.database.requests
Class ListExternalDatabaseConnectorsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.database.requests.ListExternalDatabaseConnectorsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListExternalDatabaseConnectorsRequest,Void>
- Enclosing class:
- ListExternalDatabaseConnectorsRequest
public static class ListExternalDatabaseConnectorsRequest.Builder extends Object implements BmcRequest.Builder<ListExternalDatabaseConnectorsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListExternalDatabaseConnectorsRequest
build()
Build the instance of ListExternalDatabaseConnectorsRequest as configured by this builderListExternalDatabaseConnectorsRequest
buildWithoutInvocationCallback()
Build the instance of ListExternalDatabaseConnectorsRequest as configured by this builderListExternalDatabaseConnectorsRequest.Builder
compartmentId(String compartmentId)
The compartment OCID.ListExternalDatabaseConnectorsRequest.Builder
copy(ListExternalDatabaseConnectorsRequest o)
Copy method to populate the builder with values from the given instance.ListExternalDatabaseConnectorsRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ListExternalDatabaseConnectorsRequest.Builder
externalDatabaseId(String externalDatabaseId)
The OCID of the external database whose connectors will be listed.ListExternalDatabaseConnectorsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListExternalDatabaseConnectorsRequest.Builder
lifecycleState(ExternalDatabaseConnector.LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.ListExternalDatabaseConnectorsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListExternalDatabaseConnectorsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListExternalDatabaseConnectorsRequest.Builder
page(String page)
The pagination token to continue listing from.ListExternalDatabaseConnectorsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListExternalDatabaseConnectorsRequest.Builder
sortBy(ListExternalDatabaseConnectorsRequest.SortBy sortBy)
The field to sort by.ListExternalDatabaseConnectorsRequest.Builder
sortOrder(ListExternalDatabaseConnectorsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).-
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 ListExternalDatabaseConnectorsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
externalDatabaseId
public ListExternalDatabaseConnectorsRequest.Builder externalDatabaseId(String externalDatabaseId)
The OCID of the external database whose connectors will be listed.- Parameters:
externalDatabaseId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListExternalDatabaseConnectorsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListExternalDatabaseConnectorsRequest.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 ListExternalDatabaseConnectorsRequest.Builder page(String page)
The pagination token to continue listing from.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListExternalDatabaseConnectorsRequest.Builder sortBy(ListExternalDatabaseConnectorsRequest.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.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListExternalDatabaseConnectorsRequest.Builder sortOrder(ListExternalDatabaseConnectorsRequest.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 ListExternalDatabaseConnectorsRequest.Builder lifecycleState(ExternalDatabaseConnector.LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListExternalDatabaseConnectorsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.The match is not case sensitive.
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListExternalDatabaseConnectorsRequest.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 ListExternalDatabaseConnectorsRequest.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 ListExternalDatabaseConnectorsRequest.Builder copy(ListExternalDatabaseConnectorsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListExternalDatabaseConnectorsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListExternalDatabaseConnectorsRequest build()
Build the instance of ListExternalDatabaseConnectorsRequest 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<ListExternalDatabaseConnectorsRequest,Void>
- Returns:
- instance of ListExternalDatabaseConnectorsRequest
-
buildWithoutInvocationCallback
public ListExternalDatabaseConnectorsRequest buildWithoutInvocationCallback()
Build the instance of ListExternalDatabaseConnectorsRequest 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 ListExternalDatabaseConnectorsRequest
-
-