Class ListFunctionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.requests.ListFunctionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListFunctionsRequest,Void>
- Enclosing class:
- ListFunctionsRequest
public static class ListFunctionsRequest.Builder extends Object implements BmcRequest.Builder<ListFunctionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFunctionsRequest.Builder
applicationId(String applicationId)
The OCID of the application to which this function belongs.ListFunctionsRequest
build()
Build the instance of ListFunctionsRequest as configured by this builderListFunctionsRequest
buildWithoutInvocationCallback()
Build the instance of ListFunctionsRequest as configured by this builderListFunctionsRequest.Builder
copy(ListFunctionsRequest o)
Copy method to populate the builder with values from the given instance.ListFunctionsRequest.Builder
displayName(String displayName)
A filter to return only functions with display names that match the display name string.ListFunctionsRequest.Builder
id(String id)
A filter to return only functions with the specified OCID.ListFunctionsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListFunctionsRequest.Builder
lifecycleState(Function.LifecycleState lifecycleState)
A filter to return only functions that match the lifecycle state in this parameter.ListFunctionsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListFunctionsRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.ListFunctionsRequest.Builder
page(String page)
The pagination token for a list query returned by a previous operationListFunctionsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListFunctionsRequest.Builder
sortBy(ListFunctionsRequest.SortBy sortBy)
Specifies the attribute with which to sort the rules.ListFunctionsRequest.Builder
sortOrder(ListFunctionsRequest.SortOrder sortOrder)
Specifies sort order.-
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
-
applicationId
public ListFunctionsRequest.Builder applicationId(String applicationId)
The OCID of the application to which this function belongs.- Parameters:
applicationId
- the value to set- Returns:
- this builder instance
-
limit
public ListFunctionsRequest.Builder limit(Integer limit)
The maximum number of items to return.1 is the minimum, 50 is the maximum.
Default: 10
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListFunctionsRequest.Builder page(String page)
The pagination token for a list query returned by a previous operation- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListFunctionsRequest.Builder opcRequestId(String opcRequestId)
The 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
-
lifecycleState
public ListFunctionsRequest.Builder lifecycleState(Function.LifecycleState lifecycleState)
A filter to return only functions that match the lifecycle state in this parameter.Example: Creating
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListFunctionsRequest.Builder displayName(String displayName)
A filter to return only functions with display names that match the display name string.Matching is exact.
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListFunctionsRequest.Builder id(String id)
A filter to return only functions with the specified OCID.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListFunctionsRequest.Builder sortOrder(ListFunctionsRequest.SortOrder sortOrder)
Specifies sort order.**ASC:** Ascending sort order. * **DESC:** Descending sort order.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListFunctionsRequest.Builder sortBy(ListFunctionsRequest.SortBy sortBy)
Specifies the attribute with which to sort the rules.Default: displayName
**timeCreated:** Sorts by timeCreated. * **displayName:** Sorts by displayName. * **id:** Sorts by id.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListFunctionsRequest.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 ListFunctionsRequest.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 ListFunctionsRequest.Builder copy(ListFunctionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListFunctionsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListFunctionsRequest build()
Build the instance of ListFunctionsRequest 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<ListFunctionsRequest,Void>
- Returns:
- instance of ListFunctionsRequest
-
buildWithoutInvocationCallback
public ListFunctionsRequest buildWithoutInvocationCallback()
Build the instance of ListFunctionsRequest 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 ListFunctionsRequest
-
-