public static class QueryRequest.Builder extends Object implements com.oracle.bmc.requests.BmcRequest.Builder<QueryRequest,QueryDetails>
| Modifier and Type | Method and Description |
|---|---|
QueryRequest.Builder |
body$(QueryDetails body)
Alternative setter for the body parameter.
|
QueryRequest |
build()
Build the instance of QueryRequest as configured by this builder
|
QueryRequest |
buildWithoutInvocationCallback() |
QueryRequest.Builder |
copy(QueryRequest o)
Copy method to populate the builder with values from the given instance.
|
QueryRequest.Builder |
invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
QueryRequest.Builder |
limit(Integer limit)
Maximum number of results to return in this request.
|
QueryRequest.Builder |
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
|
QueryRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
QueryRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
QueryRequest.Builder |
queryDetails(QueryDetails queryDetails)
Query to be executed.
|
QueryRequest.Builder |
retryConfiguration(com.oracle.bmc.retrier.RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
String |
toString() |
public QueryRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback - the invocation callback to be set for the requestpublic QueryRequest.Builder retryConfiguration(com.oracle.bmc.retrier.RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration - the retry configuration to be used for the requestpublic QueryRequest.Builder copy(QueryRequest o)
Copy method to populate the builder with values from the given instance.
copy in interface com.oracle.bmc.requests.BmcRequest.Builder<QueryRequest,QueryDetails>public QueryRequest build()
Build the instance of QueryRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer) into account,
while the method buildWithoutInvocationCallback() does not.
This is the preferred method to build an instance.
build in interface com.oracle.bmc.requests.BmcRequest.Builder<QueryRequest,QueryDetails>public QueryRequest.Builder body$(QueryDetails body)
Alternative setter for the body parameter.
body$ in interface com.oracle.bmc.requests.BmcRequest.Builder<QueryRequest,QueryDetails>body - the body parameterpublic QueryRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
this.public QueryRequest.Builder queryDetails(QueryDetails queryDetails)
Query to be executed.
this.public QueryRequest.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.
this.public QueryRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this.public QueryRequest.Builder limit(Integer limit)
Maximum number of results to return in this request. Note a limit=-1 returns all results from pageId onwards up to maxtotalCount.
this.public QueryRequest buildWithoutInvocationCallback()
Copyright © 2016–2021. All rights reserved.