Class ListCredentialsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetoolsruntime.requests.ListCredentialsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCredentialsRequest,Void>
- Enclosing class:
- ListCredentialsRequest
public static class ListCredentialsRequest.Builder extends Object implements BmcRequest.Builder<ListCredentialsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCredentialsRequestbuild()Build the instance of ListCredentialsRequest as configured by this builderListCredentialsRequestbuildWithoutInvocationCallback()Build the instance of ListCredentialsRequest as configured by this builderListCredentialsRequest.Buildercopy(ListCredentialsRequest o)Copy method to populate the builder with values from the given instance.ListCredentialsRequest.BuilderdatabaseToolsConnectionId(String databaseToolsConnectionId)The OCID of a Database Tools connection.ListCredentialsRequest.BuilderifMatch(String ifMatch)If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).ListCredentialsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCredentialsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListCredentialsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListCredentialsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListCredentialsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCredentialsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘asc’ or ‘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
-
databaseToolsConnectionId
public ListCredentialsRequest.Builder databaseToolsConnectionId(String databaseToolsConnectionId)
The OCID of a Database Tools connection.- Parameters:
databaseToolsConnectionId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListCredentialsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public ListCredentialsRequest.Builder ifMatch(String ifMatch)
If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).In general, it can be used with any method that involves the selection or modification of a representation to abort the request if the selected representation’s current entity tag is not a member within the If-Match field value. When specified on an action-specific subresource, the ETag value of the resource on which the action is requested should be provided.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
limit
public ListCredentialsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListCredentialsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListCredentialsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListCredentialsRequest.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 ListCredentialsRequest.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 ListCredentialsRequest.Builder copy(ListCredentialsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListCredentialsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCredentialsRequest build()
Build the instance of ListCredentialsRequest 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:
buildin interfaceBmcRequest.Builder<ListCredentialsRequest,Void>- Returns:
- instance of ListCredentialsRequest
-
buildWithoutInvocationCallback
public ListCredentialsRequest buildWithoutInvocationCallback()
Build the instance of ListCredentialsRequest 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 ListCredentialsRequest
-
-