Class ListFunctionsRuntimesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.functions.requests.ListFunctionsRuntimesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListFunctionsRuntimesRequest,Void>
- Enclosing class:
- ListFunctionsRuntimesRequest
public static class ListFunctionsRuntimesRequest.Builder extends Object implements BmcRequest.Builder<ListFunctionsRuntimesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFunctionsRuntimesRequestbuild()Build the instance of ListFunctionsRuntimesRequest as configured by this builderListFunctionsRuntimesRequestbuildWithoutInvocationCallback()Build the instance of ListFunctionsRuntimesRequest as configured by this builderListFunctionsRuntimesRequest.Buildercopy(ListFunctionsRuntimesRequest o)Copy method to populate the builder with values from the given instance.ListFunctionsRuntimesRequest.BuilderfunctionsRuntimeId(String functionsRuntimeId)unique FunctionsRuntime identifierListFunctionsRuntimesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListFunctionsRuntimesRequest.Builderlanguage(String language)A filter to return only resources that match the entire language name given.ListFunctionsRuntimesRequest.BuilderlifecycleState(FunctionsRuntime.LifecycleState lifecycleState)A filter to return only resources where their lifecycleState matches the given lifecycleState.ListFunctionsRuntimesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListFunctionsRuntimesRequest.Buildername(String name)A filter to return only resources that match the entire FunctionsRuntime name given.ListFunctionsRuntimesRequest.BuildernameContains(String nameContains)A filter to return only resources that contain the supplied filter text in the FunctionsRuntime name given.ListFunctionsRuntimesRequest.BuildernameStartsWith(String nameStartsWith)A filter to return only resources that start with the supplied filter text in the FunctionsRuntime name given.ListFunctionsRuntimesRequest.BuilderopcRequestId(String opcRequestId)The unique Oracle-assigned identifier for the request.ListFunctionsRuntimesRequest.Builderos(String os)A filter to return only resources that match the entire os name given.ListFunctionsRuntimesRequest.Builderpage(String page)The pagination token for a list query returned by a previous operationListFunctionsRuntimesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListFunctionsRuntimesRequest.BuildersortBy(ListFunctionsRuntimesRequest.SortBy sortBy)The field to sort by.ListFunctionsRuntimesRequest.BuildersortOrder(ListFunctionsRuntimesRequest.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
-
functionsRuntimeId
public ListFunctionsRuntimesRequest.Builder functionsRuntimeId(String functionsRuntimeId)
unique FunctionsRuntime identifier- Parameters:
functionsRuntimeId- the value to set- Returns:
- this builder instance
-
name
public ListFunctionsRuntimesRequest.Builder name(String name)
A filter to return only resources that match the entire FunctionsRuntime name given.- Parameters:
name- the value to set- Returns:
- this builder instance
-
nameContains
public ListFunctionsRuntimesRequest.Builder nameContains(String nameContains)
A filter to return only resources that contain the supplied filter text in the FunctionsRuntime name given.- Parameters:
nameContains- the value to set- Returns:
- this builder instance
-
nameStartsWith
public ListFunctionsRuntimesRequest.Builder nameStartsWith(String nameStartsWith)
A filter to return only resources that start with the supplied filter text in the FunctionsRuntime name given.- Parameters:
nameStartsWith- the value to set- Returns:
- this builder instance
-
os
public ListFunctionsRuntimesRequest.Builder os(String os)
A filter to return only resources that match the entire os name given.- Parameters:
os- the value to set- Returns:
- this builder instance
-
language
public ListFunctionsRuntimesRequest.Builder language(String language)
A filter to return only resources that match the entire language name given.- Parameters:
language- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListFunctionsRuntimesRequest.Builder lifecycleState(FunctionsRuntime.LifecycleState lifecycleState)
A filter to return only resources where their lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
limit
public ListFunctionsRuntimesRequest.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 ListFunctionsRuntimesRequest.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
-
sortOrder
public ListFunctionsRuntimesRequest.Builder sortOrder(ListFunctionsRuntimesRequest.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 ListFunctionsRuntimesRequest.Builder sortBy(ListFunctionsRuntimesRequest.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.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListFunctionsRuntimesRequest.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
-
invocationCallback
public ListFunctionsRuntimesRequest.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 ListFunctionsRuntimesRequest.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 ListFunctionsRuntimesRequest.Builder copy(ListFunctionsRuntimesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListFunctionsRuntimesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListFunctionsRuntimesRequest build()
Build the instance of ListFunctionsRuntimesRequest 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<ListFunctionsRuntimesRequest,Void>- Returns:
- instance of ListFunctionsRuntimesRequest
-
buildWithoutInvocationCallback
public ListFunctionsRuntimesRequest buildWithoutInvocationCallback()
Build the instance of ListFunctionsRuntimesRequest 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 ListFunctionsRuntimesRequest
-
-