Class ListConfigurationSourceProvidersRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.requests.ListConfigurationSourceProvidersRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListConfigurationSourceProvidersRequest,Void>
- Enclosing class:
- ListConfigurationSourceProvidersRequest
public static class ListConfigurationSourceProvidersRequest.Builder extends Object implements BmcRequest.Builder<ListConfigurationSourceProvidersRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListConfigurationSourceProvidersRequestbuild()Build the instance of ListConfigurationSourceProvidersRequest as configured by this builderListConfigurationSourceProvidersRequestbuildWithoutInvocationCallback()Build the instance of ListConfigurationSourceProvidersRequest as configured by this builderListConfigurationSourceProvidersRequest.BuildercompartmentId(String compartmentId)A filter to return only resources that exist in the compartment, identified by OCID.ListConfigurationSourceProvidersRequest.BuilderconfigSourceProviderType(String configSourceProviderType)A filter to return only configuration source providers of the specified type (GitHub or GitLab).ListConfigurationSourceProvidersRequest.BuilderconfigurationSourceProviderId(String configurationSourceProviderId)A filter to return only configuration source providers that match the provided OCID.ListConfigurationSourceProvidersRequest.Buildercopy(ListConfigurationSourceProvidersRequest o)Copy method to populate the builder with values from the given instance.ListConfigurationSourceProvidersRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the given display name exactly.ListConfigurationSourceProvidersRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListConfigurationSourceProvidersRequest.Builderlimit(Integer limit)The number of items returned in a paginated List call.ListConfigurationSourceProvidersRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListConfigurationSourceProvidersRequest.Builderpage(String page)The value of the opc-next-page response header from the preceding List call.ListConfigurationSourceProvidersRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListConfigurationSourceProvidersRequest.BuildersortBy(ListConfigurationSourceProvidersRequest.SortBy sortBy)The field to use when sorting returned resources.ListConfigurationSourceProvidersRequest.BuildersortOrder(ListConfigurationSourceProvidersRequest.SortOrder sortOrder)The sort order to use when sorting returned resources.-
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
-
opcRequestId
public ListConfigurationSourceProvidersRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
compartmentId
public ListConfigurationSourceProvidersRequest.Builder compartmentId(String compartmentId)
A filter to return only resources that exist in the compartment, identified by OCID.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
configurationSourceProviderId
public ListConfigurationSourceProvidersRequest.Builder configurationSourceProviderId(String configurationSourceProviderId)
A filter to return only configuration source providers that match the provided OCID.- Parameters:
configurationSourceProviderId- the value to set- Returns:
- this builder instance
-
displayName
public ListConfigurationSourceProvidersRequest.Builder displayName(String displayName)
A filter to return only resources that match the given display name exactly.Use this filter to list a resource by name. Requires sortBy set to DISPLAYNAME. Alternatively, when you know the resource OCID, use the related Get operation.
- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
sortBy
public ListConfigurationSourceProvidersRequest.Builder sortBy(ListConfigurationSourceProvidersRequest.SortBy sortBy)
The field to use when sorting returned resources.By default, TIMECREATED is ordered descending. By default, DISPLAYNAME is ordered ascending. Note that you can sort only on one field.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListConfigurationSourceProvidersRequest.Builder sortOrder(ListConfigurationSourceProvidersRequest.SortOrder sortOrder)
The sort order to use when sorting returned resources.Ascending (ASC) or descending (DESC).
- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
limit
public ListConfigurationSourceProvidersRequest.Builder limit(Integer limit)
The number of items returned in a paginated List call.For information about pagination, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListConfigurationSourceProvidersRequest.Builder page(String page)
The value of the opc-next-page response header from the preceding List call.For information about pagination, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
configSourceProviderType
public ListConfigurationSourceProvidersRequest.Builder configSourceProviderType(String configSourceProviderType)
A filter to return only configuration source providers of the specified type (GitHub or GitLab).- Parameters:
configSourceProviderType- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListConfigurationSourceProvidersRequest.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 ListConfigurationSourceProvidersRequest.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 ListConfigurationSourceProvidersRequest.Builder copy(ListConfigurationSourceProvidersRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListConfigurationSourceProvidersRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListConfigurationSourceProvidersRequest build()
Build the instance of ListConfigurationSourceProvidersRequest 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<ListConfigurationSourceProvidersRequest,Void>- Returns:
- instance of ListConfigurationSourceProvidersRequest
-
buildWithoutInvocationCallback
public ListConfigurationSourceProvidersRequest buildWithoutInvocationCallback()
Build the instance of ListConfigurationSourceProvidersRequest 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 ListConfigurationSourceProvidersRequest
-
-