public static class ListApplicationsRequest.Builder extends Object implements BmcRequest.Builder<ListApplicationsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListApplicationsRequest |
build()
Build the instance of ListApplicationsRequest as configured by this builder
|
ListApplicationsRequest |
buildWithoutInvocationCallback()
Build the instance of ListApplicationsRequest as configured by this builder
|
ListApplicationsRequest.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 operation
|
ListApplicationsRequest.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListApplicationsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment to which this resource belongs.
compartmentId
- the value to setpublic ListApplicationsRequest.Builder limit(Integer limit)
The maximum number of items to return. 1 is the minimum, 50 is the maximum.
Default: 10
limit
- the value to setpublic ListApplicationsRequest.Builder page(String page)
The pagination token for a list query returned by a previous operation
page
- the value to setpublic 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.
opcRequestId
- the value to setpublic ListApplicationsRequest.Builder lifecycleState(Application.LifecycleState lifecycleState)
A filter to return only applications that match the lifecycle state in this parameter.
Example: Creating
lifecycleState
- the value to setpublic ListApplicationsRequest.Builder displayName(String displayName)
A filter to return only applications with display names that match the display name string. Matching is exact.
displayName
- the value to setpublic ListApplicationsRequest.Builder id(String id)
A filter to return only applications with the specified OCID.
id
- the value to setpublic ListApplicationsRequest.Builder sortOrder(ListApplicationsRequest.SortOrder sortOrder)
Specifies sort order.
**ASC:** Ascending sort order. * **DESC:** Descending sort order.
sortOrder
- the value to setpublic 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.
sortBy
- the value to setpublic ListApplicationsRequest.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 ListApplicationsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListApplicationsRequest.Builder copy(ListApplicationsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListApplicationsRequest,Void>
o
- other request from which to copy valuespublic ListApplicationsRequest build()
Build the instance of ListApplicationsRequest 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<ListApplicationsRequest,Void>
public ListApplicationsRequest buildWithoutInvocationCallback()
Build the instance of ListApplicationsRequest 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.