public static class QueryResponse.Builder extends Object implements BmcResponse.Builder<QueryResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QueryResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
QueryResponse |
build()
Build the response object.
|
QueryResponse.Builder |
copy(QueryResponse o)
Copy method to populate the builder with values from the given instance.
|
QueryResponse.Builder |
headers(Map<String,List<String>> headers) |
QueryResponse.Builder |
location(String location)
URI to entity or work request created.
|
QueryResponse.Builder |
opcNextPageId(String opcNextPageId)
For pagination of a list of items.
|
QueryResponse.Builder |
opcPrevPageId(String opcPrevPageId)
For pagination of a list of items.
|
QueryResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
QueryResponse.Builder |
opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request.
|
QueryResponse.Builder |
queryAggregation(QueryAggregation queryAggregation)
The returned
QueryAggregation instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public QueryResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<QueryResponse>
public QueryResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<QueryResponse>
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.
opcRequestId
- the value to setpublic 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.
opcNextPageId
- the value to setpublic 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.
opcPrevPageId
- the value to setpublic QueryResponse.Builder opcWorkRequestId(String opcWorkRequestId)
Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
opcWorkRequestId
- the value to setpublic QueryResponse.Builder location(String location)
URI to entity or work request created.
location
- the value to setpublic QueryResponse.Builder queryAggregation(QueryAggregation queryAggregation)
The returned QueryAggregation
instance.
queryAggregation
- the value to setpublic QueryResponse.Builder copy(QueryResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<QueryResponse>
o
- other request from which to copy valuespublic QueryResponse build()
Build the response object.
build
in interface BmcResponse.Builder<QueryResponse>
Copyright © 2016–2024. All rights reserved.