Package com.oracle.bmc.identity.requests
Class ListOAuthClientCredentialsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.requests.ListOAuthClientCredentialsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListOAuthClientCredentialsRequest,Void>
- Enclosing class:
- ListOAuthClientCredentialsRequest
public static class ListOAuthClientCredentialsRequest.Builder extends Object implements BmcRequest.Builder<ListOAuthClientCredentialsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOAuthClientCredentialsRequest
build()
Build the instance of ListOAuthClientCredentialsRequest as configured by this builderListOAuthClientCredentialsRequest
buildWithoutInvocationCallback()
Build the instance of ListOAuthClientCredentialsRequest as configured by this builderListOAuthClientCredentialsRequest.Builder
copy(ListOAuthClientCredentialsRequest o)
Copy method to populate the builder with values from the given instance.ListOAuthClientCredentialsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListOAuthClientCredentialsRequest.Builder
lifecycleState(OAuth2ClientCredentialSummary.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.ListOAuthClientCredentialsRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.ListOAuthClientCredentialsRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListOAuthClientCredentialsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListOAuthClientCredentialsRequest.Builder
userId(String userId)
The OCID of the user.-
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
-
userId
public ListOAuthClientCredentialsRequest.Builder userId(String userId)
The OCID of the user.- Parameters:
userId
- the value to set- Returns:
- this builder instance
-
page
public ListOAuthClientCredentialsRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public ListOAuthClientCredentialsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListOAuthClientCredentialsRequest.Builder lifecycleState(OAuth2ClientCredentialSummary.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.The state value is case-insensitive.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListOAuthClientCredentialsRequest.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 ListOAuthClientCredentialsRequest.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 ListOAuthClientCredentialsRequest.Builder copy(ListOAuthClientCredentialsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListOAuthClientCredentialsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListOAuthClientCredentialsRequest build()
Build the instance of ListOAuthClientCredentialsRequest 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<ListOAuthClientCredentialsRequest,Void>
- Returns:
- instance of ListOAuthClientCredentialsRequest
-
buildWithoutInvocationCallback
public ListOAuthClientCredentialsRequest buildWithoutInvocationCallback()
Build the instance of ListOAuthClientCredentialsRequest 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 ListOAuthClientCredentialsRequest
-
-