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