public static class ListServiceProvidersRequest.Builder extends Object implements BmcRequest.Builder<ListServiceProvidersRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListServiceProvidersRequest |
build()
Build the instance of ListServiceProvidersRequest as configured by this builder
|
ListServiceProvidersRequest |
buildWithoutInvocationCallback()
Build the instance of ListServiceProvidersRequest as configured by this builder
|
ListServiceProvidersRequest.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
ListServiceProvidersRequest.Builder |
copy(ListServiceProvidersRequest o)
Copy method to populate the builder with values from the given instance.
|
ListServiceProvidersRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListServiceProvidersRequest.Builder |
lifecycleState(ServiceProvider.LifecycleState lifecycleState)
A filter to return only Service Provider resources whose lifecycleState matches the given
Service Provider lifecycle state.
|
ListServiceProvidersRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListServiceProvidersRequest.Builder |
name(String name)
A filter to return Service Provider resources that match the given name.
|
ListServiceProvidersRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListServiceProvidersRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListServiceProvidersRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListServiceProvidersRequest.Builder |
serviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)
A filter to return only Service Provider resources whose provider type matches the given
provider type.
|
ListServiceProvidersRequest.Builder |
sortBy(ListServiceProvidersRequest.SortBy sortBy)
The field to sort by.
|
ListServiceProvidersRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
ListServiceProvidersRequest.Builder |
supportedResourceType(DelegationControlResourceType supportedResourceType)
A filter to return only Service Provider resources whose supported resource type matches
the given resource type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListServiceProvidersRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ListServiceProvidersRequest.Builder lifecycleState(ServiceProvider.LifecycleState lifecycleState)
A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state.
lifecycleState
- the value to setpublic ListServiceProvidersRequest.Builder name(String name)
A filter to return Service Provider resources that match the given name.
name
- the value to setpublic ListServiceProvidersRequest.Builder supportedResourceType(DelegationControlResourceType supportedResourceType)
A filter to return only Service Provider resources whose supported resource type matches the given resource type.
supportedResourceType
- the value to setpublic ListServiceProvidersRequest.Builder serviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)
A filter to return only Service Provider resources whose provider type matches the given provider type.
serviceProviderType
- the value to setpublic ListServiceProvidersRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic 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.
page
- the value to setpublic ListServiceProvidersRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
sortOrder
- the value to setpublic 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.
sortBy
- the value to setpublic ListServiceProvidersRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListServiceProvidersRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListServiceProvidersRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListServiceProvidersRequest.Builder copy(ListServiceProvidersRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListServiceProvidersRequest,Void>
o
- other request from which to copy valuespublic ListServiceProvidersRequest build()
Build the instance of ListServiceProvidersRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListServiceProvidersRequest,Void>
public ListServiceProvidersRequest buildWithoutInvocationCallback()
Build the instance of ListServiceProvidersRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.