Class ListServiceProvidersRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.requests.ListServiceProvidersRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListServiceProvidersRequest,Void>
- Enclosing class:
- ListServiceProvidersRequest
public static class ListServiceProvidersRequest.Builder extends Object implements BmcRequest.Builder<ListServiceProvidersRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListServiceProvidersRequestbuild()Build the instance of ListServiceProvidersRequest as configured by this builderListServiceProvidersRequestbuildWithoutInvocationCallback()Build the instance of ListServiceProvidersRequest as configured by this builderListServiceProvidersRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment.ListServiceProvidersRequest.Buildercopy(ListServiceProvidersRequest o)Copy method to populate the builder with values from the given instance.ListServiceProvidersRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListServiceProvidersRequest.BuilderlifecycleState(ServiceProvider.LifecycleState lifecycleState)A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state.ListServiceProvidersRequest.Builderlimit(Integer limit)The maximum number of items to return.ListServiceProvidersRequest.Buildername(String name)A filter to return Service Provider resources that match the given name.ListServiceProvidersRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListServiceProvidersRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListServiceProvidersRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListServiceProvidersRequest.BuilderserviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)A filter to return only Service Provider resources whose provider type matches the given provider type.ListServiceProvidersRequest.BuildersortBy(ListServiceProvidersRequest.SortBy sortBy)The field to sort by.ListServiceProvidersRequest.BuildersortOrder(SortOrders sortOrder)The sort order to use, either ‘asc’ or ‘desc’.ListServiceProvidersRequest.BuildersupportedResourceType(DelegationControlResourceType supportedResourceType)A filter to return only Service Provider resources whose supported resource type matches the given resource type.-
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 ListServiceProvidersRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListServiceProvidersRequest.Builder lifecycleState(ServiceProvider.LifecycleState lifecycleState)
A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
name
public ListServiceProvidersRequest.Builder name(String name)
A filter to return Service Provider resources that match the given name.- Parameters:
name- the value to set- Returns:
- this builder instance
-
supportedResourceType
public ListServiceProvidersRequest.Builder supportedResourceType(DelegationControlResourceType supportedResourceType)
A filter to return only Service Provider resources whose supported resource type matches the given resource type.- Parameters:
supportedResourceType- the value to set- Returns:
- this builder instance
-
serviceProviderType
public ListServiceProvidersRequest.Builder serviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)
A filter to return only Service Provider resources whose provider type matches the given provider type.- Parameters:
serviceProviderType- the value to set- Returns:
- this builder instance
-
limit
public ListServiceProvidersRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListServiceProvidersRequest.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 ListServiceProvidersRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListServiceProvidersRequest.Builder sortBy(ListServiceProvidersRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. If no value is specified, timeCreated is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListServiceProvidersRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListServiceProvidersRequest.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 ListServiceProvidersRequest.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 ListServiceProvidersRequest.Builder copy(ListServiceProvidersRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListServiceProvidersRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListServiceProvidersRequest build()
Build the instance of ListServiceProvidersRequest 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<ListServiceProvidersRequest,Void>- Returns:
- instance of ListServiceProvidersRequest
-
buildWithoutInvocationCallback
public ListServiceProvidersRequest buildWithoutInvocationCallback()
Build the instance of ListServiceProvidersRequest 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 ListServiceProvidersRequest
-
-