Class SearchCriteriaRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.requests.SearchCriteriaRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
 - Enclosing class:
- SearchCriteriaRequest
 
 public static class SearchCriteriaRequest.Builder extends Object implements BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchCriteriaRequest.Builderbody$(SearchCriteria body)Alternative setter for the body parameter.SearchCriteriaRequestbuild()Build the instance of SearchCriteriaRequest as configured by this builderSearchCriteriaRequestbuildWithoutInvocationCallback()Build the instance of SearchCriteriaRequest as configured by this builderSearchCriteriaRequest.BuildercatalogId(String catalogId)Unique catalog identifier.SearchCriteriaRequest.Buildercopy(SearchCriteriaRequest o)Copy method to populate the builder with values from the given instance.SearchCriteriaRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.SearchCriteriaRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.SearchCriteriaRequest.BuilderlifecycleState(LifecycleState lifecycleState)A filter to return only resources that match the specified lifecycle state.SearchCriteriaRequest.Builderlimit(Integer limit)The maximum number of items to return.SearchCriteriaRequest.Buildername(String name)Immutable resource name.SearchCriteriaRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.SearchCriteriaRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.SearchCriteriaRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.SearchCriteriaRequest.BuildersearchCriteriaDetails(SearchCriteria searchCriteriaDetails)The information used to create an extended search results.SearchCriteriaRequest.BuildersortBy(SearchCriteriaRequest.SortBy sortBy)The field to sort by.SearchCriteriaRequest.BuildersortOrder(SearchCriteriaRequest.SortOrder sortOrder)The sort order to use, either ‘asc’ or ‘desc’.SearchCriteriaRequest.Buildertimeout(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.
 
- 
- 
- 
Method Detail- 
catalogIdpublic SearchCriteriaRequest.Builder catalogId(String catalogId) Unique catalog identifier.- Parameters:
- catalogId- the value to set
- Returns:
- this builder instance
 
 - 
searchCriteriaDetailspublic SearchCriteriaRequest.Builder searchCriteriaDetails(SearchCriteria searchCriteriaDetails) The information used to create an extended search results.- Parameters:
- searchCriteriaDetails- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic SearchCriteriaRequest.Builder displayName(String displayName) A filter to return only resources that match the entire display name given.The match is not case sensitive. - Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
namepublic SearchCriteriaRequest.Builder name(String name) Immutable resource name.- Parameters:
- name- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic SearchCriteriaRequest.Builder lifecycleState(LifecycleState lifecycleState) A filter to return only resources that match the specified lifecycle state.The value is case insensitive. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
timeoutpublic 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. - Parameters:
- timeout- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic 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. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic SearchCriteriaRequest.Builder sortOrder(SearchCriteriaRequest.SortOrder sortOrder) The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic SearchCriteriaRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic 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. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic SearchCriteriaRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic SearchCriteriaRequest.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
 
 - 
retryConfigurationpublic SearchCriteriaRequest.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
 
 - 
copypublic SearchCriteriaRequest.Builder copy(SearchCriteriaRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic SearchCriteriaRequest build() Build the instance of SearchCriteriaRequest 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 interface- BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
- Returns:
- instance of SearchCriteriaRequest
 
 - 
body$public SearchCriteriaRequest.Builder body$(SearchCriteria body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<SearchCriteriaRequest,SearchCriteria>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic SearchCriteriaRequest buildWithoutInvocationCallback() Build the instance of SearchCriteriaRequest 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 SearchCriteriaRequest
 
 
- 
 
-