Class SearchLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loggingsearch.requests.SearchLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SearchLogsRequest,SearchLogsDetails>
- Enclosing class:
- SearchLogsRequest
public static class SearchLogsRequest.Builder extends Object implements BmcRequest.Builder<SearchLogsRequest,SearchLogsDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchLogsRequest.Builderbody$(SearchLogsDetails body)Alternative setter for the body parameter.SearchLogsRequestbuild()Build the instance of SearchLogsRequest as configured by this builderSearchLogsRequestbuildWithoutInvocationCallback()Build the instance of SearchLogsRequest as configured by this builderSearchLogsRequest.Buildercopy(SearchLogsRequest o)Copy method to populate the builder with values from the given instance.SearchLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.SearchLogsRequest.Builderlimit(Integer limit)The maximum number of items to return in a response.SearchLogsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.SearchLogsRequest.Builderpage(String page)For list pagination.SearchLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.SearchLogsRequest.BuildersearchLogsDetails(SearchLogsDetails searchLogsDetails)Search request.
-
-
-
Method Detail
-
searchLogsDetails
public SearchLogsRequest.Builder searchLogsDetails(SearchLogsDetails searchLogsDetails)
Search request.- Parameters:
searchLogsDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public SearchLogsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.The input value can be null but an empty string will return an error. If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public SearchLogsRequest.Builder limit(Integer limit)
The maximum number of items to return in a response.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public SearchLogsRequest.Builder page(String page)
For list pagination.The value of the opc-next-page response header from the previous “Search” call. The input value can be null but an empty string will return an error. For important details about how pagination works, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
invocationCallback
public SearchLogsRequest.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
-
retryConfiguration
public SearchLogsRequest.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
-
copy
public SearchLogsRequest.Builder copy(SearchLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<SearchLogsRequest,SearchLogsDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public SearchLogsRequest build()
Build the instance of SearchLogsRequest 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 interfaceBmcRequest.Builder<SearchLogsRequest,SearchLogsDetails>- Returns:
- instance of SearchLogsRequest
-
body$
public SearchLogsRequest.Builder body$(SearchLogsDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<SearchLogsRequest,SearchLogsDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public SearchLogsRequest buildWithoutInvocationCallback()
Build the instance of SearchLogsRequest 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 SearchLogsRequest
-
-