public static class SearchCriteriaRequest.Builder extends Object implements BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchCriteriaRequest.Builder |
body$(SearchCriteria body)
Alternative setter for the body parameter.
|
SearchCriteriaRequest |
build()
Build the instance of SearchCriteriaRequest as configured by this builder
|
SearchCriteriaRequest |
buildWithoutInvocationCallback()
Build the instance of SearchCriteriaRequest as configured by this builder
|
SearchCriteriaRequest.Builder |
catalogId(String catalogId)
Unique catalog identifier.
|
SearchCriteriaRequest.Builder |
copy(SearchCriteriaRequest o)
Copy method to populate the builder with values from the given instance.
|
SearchCriteriaRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
SearchCriteriaRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
SearchCriteriaRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.
|
SearchCriteriaRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
SearchCriteriaRequest.Builder |
name(String name)
Immutable resource name.
|
SearchCriteriaRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
SearchCriteriaRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
SearchCriteriaRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
SearchCriteriaRequest.Builder |
searchCriteriaDetails(SearchCriteria searchCriteriaDetails)
The information used to create an extended search results.
|
SearchCriteriaRequest.Builder |
sortBy(SearchCriteriaRequest.SortBy sortBy)
The field to sort by.
|
SearchCriteriaRequest.Builder |
sortOrder(SearchCriteriaRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
SearchCriteriaRequest.Builder |
timeout(String timeout)
A search timeout string (for example, timeout=4000ms), bounding the search request to be
executed within the specified time value and bail with the hits accumulated up to that
point when expired.
|
public SearchCriteriaRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
catalogId
- the value to setpublic SearchCriteriaRequest.Builder searchCriteriaDetails(SearchCriteria searchCriteriaDetails)
The information used to create an extended search results.
searchCriteriaDetails
- the value to setpublic SearchCriteriaRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
displayName
- the value to setpublic SearchCriteriaRequest.Builder name(String name)
Immutable resource name.
name
- the value to setpublic SearchCriteriaRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
lifecycleState
- the value to setpublic SearchCriteriaRequest.Builder timeout(String timeout)
A search timeout string (for example, timeout=4000ms), bounding the search request to be executed within the specified time value and bail with the hits accumulated up to that point when expired. Defaults to no timeout.
timeout
- the value to setpublic SearchCriteriaRequest.Builder sortBy(SearchCriteriaRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
sortBy
- the value to setpublic SearchCriteriaRequest.Builder sortOrder(SearchCriteriaRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
sortOrder
- the value to setpublic SearchCriteriaRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic SearchCriteriaRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
page
- the value to setpublic SearchCriteriaRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic SearchCriteriaRequest.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 SearchCriteriaRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic SearchCriteriaRequest.Builder copy(SearchCriteriaRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
o
- other request from which to copy valuespublic SearchCriteriaRequest build()
Build the instance of SearchCriteriaRequest 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<SearchCriteriaRequest,SearchCriteria>
public SearchCriteriaRequest.Builder body$(SearchCriteria body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
body
- the body parameterpublic SearchCriteriaRequest buildWithoutInvocationCallback()
Build the instance of SearchCriteriaRequest 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.