public static class SearchResourcesRequest.Builder extends Object implements BmcRequest.Builder<SearchResourcesRequest,SearchDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesRequest.Builder |
body$(SearchDetails body)
Alternative setter for the body parameter.
|
SearchResourcesRequest |
build()
Build the instance of SearchResourcesRequest as configured by this builder
|
SearchResourcesRequest |
buildWithoutInvocationCallback()
Build the instance of SearchResourcesRequest as configured by this builder
|
SearchResourcesRequest.Builder |
copy(SearchResourcesRequest o)
Copy method to populate the builder with values from the given instance.
|
SearchResourcesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
SearchResourcesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
SearchResourcesRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
SearchResourcesRequest.Builder |
page(String page)
The page at which to start retrieving results.
|
SearchResourcesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
SearchResourcesRequest.Builder |
searchDetails(SearchDetails searchDetails)
Request parameters that describe query criteria.
|
SearchResourcesRequest.Builder |
tenantId(String tenantId)
The tenancy ID, which can be used to specify a different tenancy (for cross-tenancy
authorization) when searching for resources in a different tenancy.
|
public SearchResourcesRequest.Builder searchDetails(SearchDetails searchDetails)
Request parameters that describe query criteria. For more information, see searchDetails
.
searchDetails
- the value to setpublic SearchResourcesRequest.Builder limit(Integer limit)
The maximum number of items to return. The value must be between 1 and 1000.
limit
- the value to setpublic SearchResourcesRequest.Builder page(String page)
The page at which to start retrieving results.
page
- the value to setpublic SearchResourcesRequest.Builder tenantId(String tenantId)
The tenancy ID, which can be used to specify a different tenancy (for cross-tenancy authorization) when searching for resources in a different tenancy.
tenantId
- the value to setpublic SearchResourcesRequest.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 complete request ID.
opcRequestId
- the value to setpublic SearchResourcesRequest.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 SearchResourcesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic SearchResourcesRequest.Builder copy(SearchResourcesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<SearchResourcesRequest,SearchDetails>
o
- other request from which to copy valuespublic SearchResourcesRequest build()
Build the instance of SearchResourcesRequest 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<SearchResourcesRequest,SearchDetails>
public SearchResourcesRequest.Builder body$(SearchDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<SearchResourcesRequest,SearchDetails>
body
- the body parameterpublic SearchResourcesRequest buildWithoutInvocationCallback()
Build the instance of SearchResourcesRequest 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.