public static class ListSourcesRequest.Builder extends Object implements BmcRequest.Builder<ListSourcesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListSourcesRequest |
build()
Build the instance of ListSourcesRequest as configured by this builder
|
ListSourcesRequest |
buildWithoutInvocationCallback()
Build the instance of ListSourcesRequest as configured by this builder
|
ListSourcesRequest.Builder |
compartmentId(String compartmentId)
The OCID
of a compartment.
|
ListSourcesRequest.Builder |
copy(ListSourcesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListSourcesRequest.Builder |
displayName(String displayName)
Display name on which to query.
|
ListSourcesRequest.Builder |
id(String id)
The OCID
on which to query for a source.
|
ListSourcesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListSourcesRequest.Builder |
lifecycleState(SourceLifecycleStates lifecycleState)
Retrieves details of sources in the specified lifecycle state.
|
ListSourcesRequest.Builder |
limit(Integer limit)
The number of items returned in a paginated
List call. |
ListSourcesRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListSourcesRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the preceding List
call. |
ListSourcesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListSourcesRequest.Builder |
sortBy(ListSourcesRequest.SortBy sortBy)
Specifies the field on which to sort.
|
ListSourcesRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order, either
ASC (ascending) or DESC (descending). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListSourcesRequest.Builder compartmentId(String compartmentId)
The OCID of a compartment. Retrieves details of objects in the specified compartment.
compartmentId
- the value to setpublic ListSourcesRequest.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.
opcRequestId
- the value to setpublic ListSourcesRequest.Builder id(String id)
The OCID on which to query for a source.
id
- the value to setpublic ListSourcesRequest.Builder limit(Integer limit)
The number of items returned in a paginated List
call. For information about
pagination, see List
Pagination.
limit
- the value to setpublic ListSourcesRequest.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.
page
- the value to setpublic ListSourcesRequest.Builder sortOrder(SortOrders sortOrder)
The sort order, either ASC
(ascending) or DESC
(descending).
sortOrder
- the value to setpublic ListSourcesRequest.Builder sortBy(ListSourcesRequest.SortBy sortBy)
Specifies the field on which to sort. By default, TIMECREATED
is ordered
descending. By default, DISPLAYNAME
is ordered ascending. Note that you can sort
only on one field.
sortBy
- the value to setpublic ListSourcesRequest.Builder displayName(String displayName)
Display name on which to query.
displayName
- the value to setpublic ListSourcesRequest.Builder lifecycleState(SourceLifecycleStates lifecycleState)
Retrieves details of sources in the specified lifecycle state.
lifecycleState
- the value to setpublic ListSourcesRequest.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 ListSourcesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListSourcesRequest.Builder copy(ListSourcesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListSourcesRequest,Void>
o
- other request from which to copy valuespublic ListSourcesRequest build()
Build the instance of ListSourcesRequest 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<ListSourcesRequest,Void>
public ListSourcesRequest buildWithoutInvocationCallback()
Build the instance of ListSourcesRequest 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–2023. All rights reserved.