Class QueryResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.responses.QueryResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<QueryResponse>
- Enclosing class:
- QueryResponse
public static class QueryResponse.Builder extends Object implements BmcResponse.Builder<QueryResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryResponse.Builder__httpStatusCode__(int __httpStatusCode__)QueryResponsebuild()Build the response object.QueryResponse.Buildercopy(QueryResponse o)Copy method to populate the builder with values from the given instance.QueryResponse.Builderheaders(Map<String,List<String>> headers)QueryResponse.Builderlocation(String location)URI to entity or work request created.QueryResponse.BuilderopcNextPageId(String opcNextPageId)For pagination of a list of items.QueryResponse.BuilderopcPrevPageId(String opcPrevPageId)For pagination of a list of items.QueryResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.QueryResponse.BuilderopcWorkRequestId(String opcWorkRequestId)Unique Oracle-assigned identifier for the asynchronous request.QueryResponse.BuilderqueryAggregation(QueryAggregation queryAggregation)The returned QueryAggregation instance.-
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.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public QueryResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<QueryResponse>
-
headers
public QueryResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<QueryResponse>
-
opcRequestId
public QueryResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.When you contact Oracle about a specific request, provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
opcNextPageId
public QueryResponse.Builder opcNextPageId(String opcNextPageId)
For pagination of a list of items.When paging through a list, if this header appears in the response, then additional items may be available on the next page of the list. Include this value as the page parameter for the subsequent request to get the next batch of items.
- Parameters:
opcNextPageId- the value to set- Returns:
- this builder
-
opcPrevPageId
public QueryResponse.Builder opcPrevPageId(String opcPrevPageId)
For pagination of a list of items.When paging through a list, if this header appears in the response, then additional items may be available on the previous page of the list. Include this value as the page parameter for the subsequent request to get the previous batch of items.
- Parameters:
opcPrevPageId- the value to set- Returns:
- this builder
-
opcWorkRequestId
public QueryResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request.You can use this to query status of the asynchronous operation.
- Parameters:
opcWorkRequestId- the value to set- Returns:
- this builder
-
location
public QueryResponse.Builder location(String location)
URI to entity or work request created.- Parameters:
location- the value to set- Returns:
- this builder
-
queryAggregation
public QueryResponse.Builder queryAggregation(QueryAggregation queryAggregation)
The returned QueryAggregation instance.- Parameters:
queryAggregation- the value to set- Returns:
- this builder
-
copy
public QueryResponse.Builder copy(QueryResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<QueryResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public QueryResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<QueryResponse>- Returns:
- the response object
-
-