Class GetQueryResultRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.GetQueryResultRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetQueryResultRequest,Void>
- Enclosing class:
- GetQueryResultRequest
public static class GetQueryResultRequest.Builder extends Object implements BmcRequest.Builder<GetQueryResultRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetQueryResultRequest
build()
Build the instance of GetQueryResultRequest as configured by this builderGetQueryResultRequest
buildWithoutInvocationCallback()
Build the instance of GetQueryResultRequest as configured by this builderGetQueryResultRequest.Builder
copy(GetQueryResultRequest o)
Copy method to populate the builder with values from the given instance.GetQueryResultRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetQueryResultRequest.Builder
limit(Integer limit)
Maximum number of results to return in this request.GetQueryResultRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.GetQueryResultRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.GetQueryResultRequest.Builder
outputMode(GetQueryResultRequest.OutputMode outputMode)
Specifies the format for the returned results.GetQueryResultRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.GetQueryResultRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetQueryResultRequest.Builder
shouldIncludeColumns(Boolean shouldIncludeColumns)
Include columns in responseGetQueryResultRequest.Builder
shouldIncludeFields(Boolean shouldIncludeFields)
Include fields in responseGetQueryResultRequest.Builder
workRequestId(String workRequestId)
Work Request Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
namespaceName
public GetQueryResultRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
workRequestId
public GetQueryResultRequest.Builder workRequestId(String workRequestId)
Work Request Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.- Parameters:
workRequestId
- the value to set- Returns:
- this builder instance
-
page
public GetQueryResultRequest.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
-
limit
public GetQueryResultRequest.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.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetQueryResultRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
shouldIncludeColumns
public GetQueryResultRequest.Builder shouldIncludeColumns(Boolean shouldIncludeColumns)
Include columns in response- Parameters:
shouldIncludeColumns
- the value to set- Returns:
- this builder instance
-
shouldIncludeFields
public GetQueryResultRequest.Builder shouldIncludeFields(Boolean shouldIncludeFields)
Include fields in response- Parameters:
shouldIncludeFields
- the value to set- Returns:
- this builder instance
-
outputMode
public GetQueryResultRequest.Builder outputMode(GetQueryResultRequest.OutputMode outputMode)
Specifies the format for the returned results.- Parameters:
outputMode
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetQueryResultRequest.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 GetQueryResultRequest.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 GetQueryResultRequest.Builder copy(GetQueryResultRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetQueryResultRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetQueryResultRequest build()
Build the instance of GetQueryResultRequest 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<GetQueryResultRequest,Void>
- Returns:
- instance of GetQueryResultRequest
-
buildWithoutInvocationCallback
public GetQueryResultRequest buildWithoutInvocationCallback()
Build the instance of GetQueryResultRequest 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 GetQueryResultRequest
-
-