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.Builder
body$(SearchLogsDetails body)
Alternative setter for the body parameter.SearchLogsRequest
build()
Build the instance of SearchLogsRequest as configured by this builderSearchLogsRequest
buildWithoutInvocationCallback()
Build the instance of SearchLogsRequest as configured by this builderSearchLogsRequest.Builder
copy(SearchLogsRequest o)
Copy method to populate the builder with values from the given instance.SearchLogsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.SearchLogsRequest.Builder
limit(Integer limit)
The maximum number of items to return in a response.SearchLogsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.SearchLogsRequest.Builder
page(String page)
For list pagination.SearchLogsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.SearchLogsRequest.Builder
searchLogsDetails(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.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.Pagination is not supported in this API.
- 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. 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:
copy
in 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:
build
in 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
-
-